Agent Margin Router
Railway is a full-stack cloud for deploying web apps, servers, databases, and more with automatic scaling, monitoring, and security.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "payment_required",
"accepts": [
{
"asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"extra": {
"name": "USD Coin",
"chainId": 8453,
"version": "2",
"decimals": 6
},
"payTo": "0xf7a181bbe5d29924e800df4ba93418ef94f4e7c2",
"scheme": "exact",
"network": "base",
"mimeType": "application/json",
"priceUsd": 0.05,
"resource": "https://agent-margin-router-production.up.railway.app/market-spread",
"assetSymbol": "USDC",
"description": "Agent Margin Router – Market Spread: Cross-exchange crypto spread from live tickers: gross spread, fees, modelled slippage, transfer cost and net edge in bps for a given trade size. Ticker/volume based (no full order book). Pay per call with USDC or USDT on Base via x402 – no API key, no signup. 3 free calls per wallet.",
"outputSchema": {
"input": {
"type": "http",
"method": "POST",
"example": {
"asset": "ETH",
"size_usd": 1000,
"buy_venue": "binance",
"sell_venue": "coinbase"
},
"bodyType": "json",
"bodyFields": {
"asset": {
"type": "string",
"required": true,
"description": "Ticker, e.g. ETH."
},
"quote": {
"type": "string",
"required": false,
"description": "Quote currency (default USDT)."
},
"size_usd": {
"type": "number",
"required": false,
"description": "Notional size in USD (default 1000)."
},
"buy_venue": {
"type": "string",
"required": true,
"description": "Venue to buy on, e.g. binance."
},
"sell_venue": {
"type": "string",
"required": true,
"description": "Venue to sell on, e.g. coinbase."
},
"max_age_seconds": {
"type": "integer",
"required": false,
"description": "Max quote age (default 30)."
}
},
"discoverable": true
},
"output": {
"type": "json",
"example": {
"asset": "ETH",
"quote": "USDT",
"token": "USDC",
"routing": {
"provider": "binance,coinbase",
"cache_hit": false,
"latency_ms": 620,
"fallback_used": false,
"providers_tried": [
"binance",
"coinbase"
]
},
"fees_bps": 20,
"buy_price": 3412.1,
"buy_venue": "binance",
"cost_usdc": 0.05,
"confidence": 0.9,
"fetched_at": "2026-09-13T10:00:00Z",
"sell_price": 3415.85,
"sell_venue": "coinbase",
"slippage_bps": 4,
"transfer_cost": 1.2,
"execution_risk": "medium",
"net_spread_bps": -25.01,
"gross_spread_bps": 10.99,
"freshness_seconds": 3,
"transfer_cost_bps": 12,
"estimated_net_profit_usd": -2.5
}
}
},
"maxAmountRequired": "50000",
"maxTimeoutSeconds": 300
}
],
"free_tier": {
"limit": 3,
"how_to": "Send header X-WALLET: 0x<your address> (or X-API-KEY) for free requests, then pay via x402."
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"asset": "ETH",
"size_usd": 1000,
"buy_venue": "binance",
"sell_venue": "coinbase"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"asset": "ETH",
"quote": "USDT",
"token": "USDC",
"routing": {
"provider": "binance,coinbase",
"cache_hit": false,
"latency_ms": 620,
"fallback_used": false,
"providers_tried": [
"binance",
"coinbase"
]
},
"fees_bps": 20,
"buy_price": 3412.1,
"buy_venue": "binance",
"cost_usdc": 0.05,
"confidence": 0.9,
"fetched_at": "2026-09-13T10:00:00Z",
"sell_price": 3415.85,
"sell_venue": "coinbase",
"slippage_bps": 4,
"transfer_cost": 1.2,
"execution_risk": "medium",
"net_spread_bps": -25.01,
"gross_spread_bps": 10.99,
"freshness_seconds": 3,
"transfer_cost_bps": 12,
"estimated_net_profit_usd": -2.5
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"required": [
"asset",
"buy_venue",
"sell_venue"
],
"properties": {
"asset": {
"type": "string",
"description": "Ticker, e.g. ETH."
},
"quote": {
"type": "string",
"description": "Quote currency (default USDT)."
},
"size_usd": {
"type": "number",
"description": "Notional size in USD (default 1000)."
},
"buy_venue": {
"type": "string",
"description": "Venue to buy on, e.g. binance."
},
"sell_venue": {
"type": "string",
"description": "Venue to sell on, e.g. coinbase."
},
"max_age_seconds": {
"type": "integer",
"description": "Max quote age (default 30)."
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"facilitator": "https://api.cdp.coinbase.com/platform/v2/x402/verify",
"x402Version": 1
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.05 USDC on Base to 0xf7a1…4e7c2. The signed payment is good for 5 minutes.
- Paid to
- 0xf7a1…4e7c2
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 50000 smallest units
- Buys
- Cross-exchange crypto spread from live tickers: gross spread, fees, modelled slippage, transfer cost and net edge in bps for a given trade size. Ticker/volume based (no full order book). Pay per call with USDC or USDT on Base via x402 – no API key, no signup. 3 free calls per wallet.
- Returns
- application/json
The catalog’s raw entry
[
{
"asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"extra": {
"name": "USD Coin",
"chainId": 8453,
"version": "2",
"decimals": 6
},
"payTo": "0xf7a181bbe5d29924e800df4ba93418ef94f4e7c2",
"scheme": "exact",
"network": "base",
"mimeType": "application/json",
"priceUsd": 0.05,
"resource": "https://agent-margin-router-production.up.railway.app/market-spread",
"assetSymbol": "USDC",
"description": "Cross-exchange crypto spread from live tickers: gross spread, fees, modelled slippage, transfer cost and net edge in bps for a given trade size. Ticker/volume based (no full order book). Pay per call with USDC or USDT on Base via x402 – no API key, no signup. 3 free calls per wallet.",
"outputSchema": {
"input": {
"type": "http",
"method": "POST",
"example": {
"asset": "ETH",
"size_usd": 1000,
"buy_venue": "binance",
"sell_venue": "coinbase"
},
"bodyType": "json",
"bodyFields": {
"asset": {
"type": "string",
"required": true,
"description": "Ticker, e.g. ETH."
},
"quote": {
"type": "string",
"required": false,
"description": "Quote currency (default USDT)."
},
"size_usd": {
"type": "number",
"required": false,
"description": "Notional size in USD (default 1000)."
},
"buy_venue": {
"type": "string",
"required": true,
"description": "Venue to buy on, e.g. binance."
},
"sell_venue": {
"type": "string",
"required": true,
"description": "Venue to sell on, e.g. coinbase."
},
"max_age_seconds": {
"type": "integer",
"required": false,
"description": "Max quote age (default 30)."
}
},
"discoverable": true
},
"output": {
"type": "json",
"example": {
"asset": "ETH",
"quote": "USDT",
"token": "USDC",
"routing": {
"provider": "binance,coinbase",
"cache_hit": false,
"latency_ms": 620,
"fallback_used": false,
"providers_tried": [
"binance",
"coinbase"
]
},
"fees_bps": 20,
"buy_price": 3412.1,
"buy_venue": "binance",
"cost_usdc": 0.05,
"confidence": 0.9,
"fetched_at": "2026-09-13T10:00:00Z",
"sell_price": 3415.85,
"sell_venue": "coinbase",
"slippage_bps": 4,
"transfer_cost": 1.2,
"execution_risk": "medium",
"net_spread_bps": -25.01,
"gross_spread_bps": 10.99,
"freshness_seconds": 3,
"transfer_cost_bps": 12,
"estimated_net_profit_usd": -2.5
}
}
},
"maxAmountRequired": "50000",
"maxTimeoutSeconds": 300
}
]Provenance
- Seen in the source catalog
- —
- Last indexed by Roundhouse
- 2026-09-23 15:15Z
- Last enriched (probe, favicon, geo)
- 2026-09-17 10:15Z
- x402 version
- 1
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Agent Margin Router and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Agent%20Margin%20Router' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://agent-margin-router-production.up.railway.app/market-spread, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402, or use an organization key from https://roundhouseai.io/dashboard/team. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.