Api Endpoint

Riley Craig x402 Agent Store

How much of an ERC-20 token a spender is approved to move from an owner's wallet, via allowance, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. The approval read every DeFi, swap and trading agent makes before (and after) a transaction to know if an approve is needed. Live public RPC; one paid call.

Open interactive test console

Offering

Provider
x402-agent-store.rileycraig14.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-agent-store.rileycraig14.workers.dev/chain/allowance
MIME type
Not provided
First seen
2026-10-16T02:54:53.696Z
Last seen
Tags
Onchain, RPC, ERC20, allowance, approval, DeFi, Swap, Trading, Crypto, data-feed, Search, Utility

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "2147pBT4LxoszjvLeGRxyVzpRnMi986VH3FAoprSs8Ez"
  }
]

Observed health

Status
Healthy
Latest latency
1426 ms
Average latency
1638 ms
HTTP status
402
Last checked
Reachability
92.9% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "required": [
        "token",
        "owner",
        "spender"
      ],
      "properties": {
        "token": {
          "type": "string",
          "description": "ERC-20 token contract (0x...)"
        },
        "owner": {
          "type": "string",
          "description": "Token owner wallet (0x...)"
        },
        "spender": {
          "type": "string",
          "description": "Approved spender address (0x...)"
        },
        "chain": {
          "type": "string",
          "description": "base|ethereum|optimism|arbitrum|polygon|gnosis (default base)"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "allowance": {
          "type": "number"
        },
        "raw_allowance": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}