Agent Margin Router

Railway is a full-stack cloud for deploying web apps, servers, databases, and more with automatic scaling, monitoring, and security.

TradingLiveeip155:8453Exactvia wellknown:agent-margin-router-production.up.railway.app
GasEvmBaseEthereumOn-chainx402
Calls · 30d
3
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 11 snapshots so far.
$0.14
Verified settled volume
11 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0050
Listed price
As published in the catalog. Always read the live 402 before paying.
Calls · 30d
Upstream's own call count for this endpoint, not ours.
Unique payers · 30d
Never called
Upstream on-chain volume
Reported by the source catalog.
Paid to
0xf7a181bbe5d29924e800df4ba93418ef94f4e7c2

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913

Provider

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.005,
      "resource": "https://agent-margin-router-production.up.railway.app/gas-fees",
      "assetSymbol": "USDC",
      "description": "Agent Margin Router – Gas Fees: Live EIP-1559 gas fees (slow/standard/fast tiers) plus USD cost per transaction type (transfer, ERC-20 transfer, swap, NFT mint) for Base, Ethereum, Arbitrum, Optimism and Polygon. Aggregated from public RPC nodes – no API key. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.",
      "outputSchema": {
        "input": {
          "type": "http",
          "method": "POST",
          "example": {
            "chain": "base"
          },
          "bodyType": "json",
          "bodyFields": {
            "chain": {
              "type": "string",
              "required": false,
              "description": "base | ethereum | arbitrum | optimism | polygon (default base)."
            },
            "max_age_seconds": {
              "type": "integer",
              "required": false,
              "description": "Max cache age (default 10)."
            }
          },
          "discoverable": true
        },
        "output": {
          "type": "json",
          "example": {
            "chain": "base",
            "tiers": {
              "standard": {
                "cost_usd": {
                  "swap": 0.0036,
                  "transfer": 0.0005
                },
                "max_fee_gwei": 0.0071,
                "priority_fee_gwei": 0.001
              }
            },
            "trend": "stable",
            "routing": {
              "provider": "onchain",
              "cache_hit": false,
              "latency_ms": 310
            },
            "chain_id": 8453,
            "cost_usdc": 0.005,
            "block_number": 21000000,
            "native_token": "ETH",
            "base_fee_gwei": 0.0051,
            "gas_price_gwei": 0.0062,
            "native_price_usd": 3412.5,
            "freshness_seconds": 0
          }
        }
      },
      "maxAmountRequired": "5000",
      "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": {
            "chain": "base"
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "chain": "base",
            "tiers": {
              "standard": {
                "cost_usd": {
                  "swap": 0.0036,
                  "transfer": 0.0005
                },
                "max_fee_gwei": 0.0071,
                "priority_fee_gwei": 0.001
              }
            },
            "trend": "stable",
            "routing": {
              "provider": "onchain",
              "cache_hit": false,
              "latency_ms": 310
            },
            "chain_id": 8453,
            "cost_usdc": 0.005,
            "block_number": 21000000,
            "native_token": "ETH",
            "base_fee_gwei": 0.0051,
            "gas_price_gwei": 0.0062,
            "native_price_usd": 3412.5,
            "freshness_seconds": 0
          }
        }
      },
      "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": [],
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "base | ethereum | arbitrum | optimism | polygon (default base)."
                  },
                  "max_age_seconds": {
                    "type": "integer",
                    "description": "Max cache age (default 10)."
                  }
                }
              },
              "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.

0.005USDC≈ $0.005 USD
on Base · exact scheme

Pay 0.005 USDC on Base to 0xf7a1…4e7c2. The signed payment is good for 5 minutes.

USD Coin contract
0x8335…02913
Payment window
5 minutes
As published
5000 smallest units
Buys
Live EIP-1559 gas fees (slow/standard/fast tiers) plus USD cost per transaction type (transfer, ERC-20 transfer, swap, NFT mint) for Base, Ethereum, Arbitrum, Optimism and Polygon. Aggregated from public RPC nodes – no API key. Pay per call with USDC or USDT on Base via x402. 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.005,
    "resource": "https://agent-margin-router-production.up.railway.app/gas-fees",
    "assetSymbol": "USDC",
    "description": "Live EIP-1559 gas fees (slow/standard/fast tiers) plus USD cost per transaction type (transfer, ERC-20 transfer, swap, NFT mint) for Base, Ethereum, Arbitrum, Optimism and Polygon. Aggregated from public RPC nodes – no API key. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.",
    "outputSchema": {
      "input": {
        "type": "http",
        "method": "POST",
        "example": {
          "chain": "base"
        },
        "bodyType": "json",
        "bodyFields": {
          "chain": {
            "type": "string",
            "required": false,
            "description": "base | ethereum | arbitrum | optimism | polygon (default base)."
          },
          "max_age_seconds": {
            "type": "integer",
            "required": false,
            "description": "Max cache age (default 10)."
          }
        },
        "discoverable": true
      },
      "output": {
        "type": "json",
        "example": {
          "chain": "base",
          "tiers": {
            "standard": {
              "cost_usd": {
                "swap": 0.0036,
                "transfer": 0.0005
              },
              "max_fee_gwei": 0.0071,
              "priority_fee_gwei": 0.001
            }
          },
          "trend": "stable",
          "routing": {
            "provider": "onchain",
            "cache_hit": false,
            "latency_ms": 310
          },
          "chain_id": 8453,
          "cost_usdc": 0.005,
          "block_number": 21000000,
          "native_token": "ETH",
          "base_fee_gwei": 0.0051,
          "gas_price_gwei": 0.0062,
          "native_price_usd": 3412.5,
          "freshness_seconds": 0
        }
      }
    },
    "maxAmountRequired": "5000",
    "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
Report

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

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 11 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show 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/gas-fees, 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.