https://gateway.meterlane.app/gateway/{orgSlug}/{routePath}. You can create and manage routes either from the Meterlane dashboard or programmatically through the management API.
What a route contains
| Field | Type | Description |
|---|---|---|
path | string | URL path suffix, e.g. /summarize. Must start with /. |
priceUSD | number | Per-request charge in USD, settled as USDC on-chain. |
targetUrl | string | Full URL of your upstream HTTP service. |
network | string | Chain to settle on: eip155:8453 (mainnet) or eip155:84532 (Sepolia). |
active | boolean | Whether the route accepts paid traffic. Defaults to true. |
streaming | boolean | Set to true to pipe upstream SSE responses without buffering. |
discoverable | boolean | List this route on x402.org Bazaar for agent discovery. |
description | string | Human-readable description surfaced to agents and in Bazaar listings. |
bazaarCategory | string | Category tag for Bazaar discovery (e.g. "data", "ai", "finance"). Only used when discoverable is true. |
Creating routes from the dashboard
The dashboard at meterlane.app/dashboard is the easiest way to create your first route.Configure the route
Fill in the path, price, and your upstream URL. Choose the network that matches your upstream environment — use Base Sepolia for staging and Base mainnet for production.
Management API
Use the management API to create and manage routes programmatically — useful for CI/CD pipelines, infrastructure-as-code, or dynamic route generation. All management API requests require your organization’s API key in theAuthorization header.
Create a route
201 with the full route object:
List routes
Update a route
UsePATCH /api/routes/{id} to change any field on an existing route. You only need to include the fields you want to update:
Disable a route
Set"active": false via PATCH, or DELETE /api/routes/{id} to permanently deactivate it and remove it from Bazaar discovery. Deactivated routes return 404 to agents.
Route pricing
Every route uses a fixed per-request price denominated in USD and settled in USDC. SetpriceUSD to any value greater than 0. The gateway converts your USD price to the equivalent USDC token units at the time of payment configuration — there is no dynamic FX conversion at request time.
SSE streaming routes
If your upstream returns a Server-Sent Events stream (for example, a streaming LLM response), set"streaming": true on the route. The gateway will pipe bytes directly to the agent without buffering the full response body first.
Streaming routes settle payment before opening the upstream connection. The agent pays the full route price upfront, then receives the stream.
Discoverable routes (Bazaar)
Setting"discoverable": true on a route lists it in the x402.org Bazaar, a public registry where AI agents can discover paid HTTP APIs. Include a clear description and optionally a bazaarCategory to improve discoverability.
"discoverable": false or call DELETE /api/routes/{id} to remove a listing from Bazaar.
Sandbox demo route
The public route athttps://gateway.meterlane.app/gateway/demo/demo is a read-only sandbox maintained by Meterlane. It always responds with a 402 challenge on an unpaid request and accepts test payments on Base Sepolia. Use it to validate your agent’s x402 client integration before creating your own routes.