Agent Margin RouterAMR
EndpointsSDKIntegrationsAPIsAPI ProductsHow it worksPricingPrepaidDocsGet Started
Agent Margin Routerbuilt by NovaNest
DocsAPIsAdvertisePartners

Pay-per-request data infrastructure for autonomous agents. Settled on Base via x402.

Prepaid

Top up once. Call any endpoint.

Pay by card via Stripe — with your crypto wallet address or completely without one. Credit is deducted per call at the endpoint's list price after your free tier.

Buy prepaid credit

Amount (USD)

$$5–$500

Secure checkout via Stripe. One-time payment.

Check balance

Uses the wallet address / Account ID entered in “I have a crypto wallet”.

How billing works

  • Free tier first, then each call deducts its list price from your credit.
  • Failed upstream calls are refunded automatically.
  • Credit is only spent with your X-API-KEY.
  • When credit runs out, x402 pay-per-use (USDC/USDT on Base) takes over.

Which wallet addresses can I enter?

The address only identifies your prepaid account — nothing is charged from the wallet itself. Payment is made by card via Stripe. Don't have a wallet? Use “No wallet — card only”.

Accepted

  • Any EVM address (0x + 40 hex characters, 42 characters total)
  • Self-custody wallets: MetaMask, Coinbase Wallet, Rabby, Trust Wallet, Rainbow, Ledger / Trezor
  • Smart-contract wallets such as Safe (as long as the address is on an EVM chain)
  • Ideally the same address your agent uses for x402 payments (USDC or USDT on Base)

Not accepted

  • Bitcoin (bc1…, 1…, 3…), Solana, Tron (T…) or other non-EVM addresses
  • ENS names (vitalik.eth) — enter the resolved 0x address instead
  • Exchange deposit addresses (Binance, Coinbase.com, …) — they cannot sign x402 payments later

Example format: 0x1234567890abcdef1234567890abcdef12345678

Step-by-step guide

Option A — With a crypto wallet

  1. Choose “I have a crypto wallet” below.
  2. Paste your EVM wallet address (0x…). Your credit and API key are tied to this address.
  3. Pick an amount ($5–$500) and optionally add an email for the receipt.
  4. Click “Pay with card” and complete the secure Stripe checkout.
  5. Back on this page, copy your API key — it is shown right after payment.
  6. Send the key as X-API-KEY header with every request (see example below).

Option B — Without any wallet (card only)

  1. Choose “No wallet — card only” below.
  2. Enter your email address (required — it identifies your account and receives the receipt).
  3. Pick an amount ($5–$500) and click “Pay with card”.
  4. After payment you receive an Account ID (0x…) and an API key. Store both safely.
  5. Send the key as X-API-KEY header with every request — no crypto, no wallet involved.
  6. To top up later, choose “I have a crypto wallet” and paste your Account ID as address.

Make your first prepaid call

curl -X POST "https://agent-margin-router-production.up.railway.app/token-price" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset":"ETH","quote":"USD"}'
  • Replace YOUR_API_KEY with the key shown after payment.
  • Check the X-Credit-Balance response header to see your remaining credit.
  • All 50 endpoints are listed in the API docs.
  • Top up any time — new credit is added to your existing balance.