Focused Tool · Apache 2.0 · Single Binary · Developer Tools

Self-hosted API version router

Route /v1/ and /v2/ to different upstream services, deprecate old versions gracefully, enforce version sunset dates. The thing you need when you have more than one API version running.

Install Viaduct Free Complete — all 150 tools $29/mo

Full REST API

Every operation in Viaduct is available through a JSON REST API. No SDK required — use curl, fetch, or any HTTP client.

A solo developer built a weekend project that needed tunnels tracking. Instead of spinning up Postgres and writing an admin panel, they added Viaduct as a sidecar process. The REST API covered every operation the project needed. Development time saved: roughly a full day.

Why self-host your API version router

When regulators or clients ask where your tunnels data is stored, the best answer is a specific server you own in a specific jurisdiction you chose. Viaduct makes that answer straightforward because the data never leaves your infrastructure.

Endpoints
How it works

Point curl at /api/tunnels to interact with Viaduct programmatically. The API follows predictable REST conventions: GET to list or fetch, POST to create, PUT to update, DELETE to remove. The response schema matches the internal data model exactly, so what you see in the dashboard is what the API returns.

Custom nginx config at maintenance time.

Self-hosted API version router. Self-hosted on your infrastructure. Your data never leaves your server.

Quickstart

Running in under a minute.

Download
curl -fsSL https://stockyard.dev/install.sh | sh -s -- --tool viaduct
Run
PORT=9660 ./viaduct
Open
http://localhost:9660

Single binary. Embedded SQLite. No Docker. No database. No dependencies.

Pricing

Free to start. Pro when you need it.

Free
$0
forever
  • 2 version routes
  • Single binary, embedded SQLite
  • Apache 2.0 — modify freely
Pro
$0.99
per month
  • Unlimited routes, sunset notices, traffic analytics, client version tracking
  • License key, no cloud dependency
  • Email support

License key by email. One env var.

Your license key arrives by email within 5 minutes of checkout. Set it as an environment variable and restart the binary.

export VIADUCT_LICENSE_KEY=stockyard_xxxxxxxxxxxxxxxxxxxx
./viaduct

No cloud connectivity required. The binary validates the key offline with Ed25519 signatures.

Part of the Stockyard family — 150 focused self-hosted tools · Complete bundle $29/mo · stockyard.dev