Api Endpoint

Agent Mercantile

Inspect one Base ERC-20 owner/token/spender allowance with same-block balance and token metadata plus factual exposure flags. No wallet access, signing, or transaction execution. Call when you need a same-block Base allowance-versus-balance snapshot for one owner/token/spender triple.

Open interactive test console

Offering

Provider
api.agentmercantile.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.agentmercantile.com/v1/allowance-exposure
MIME type
Not provided
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
erc20-allowance, spender-allowance, token-approval, allowance-exposure, unlimited-approval

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xdb7b2b54f80479826222749a2ea73a8acc306e1e"
  }
]

Observed health

Status
Healthy
Latest latency
93 ms
Average latency
254 ms
HTTP status
200
Last checked
Reachability
100% over 14 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "owner": {
          "description": "ERC-20 token owner address. 0x-prefixed 20-byte EVM address.",
          "type": "string"
        },
        "spender": {
          "description": "Spender address. 0x-prefixed 20-byte EVM address.",
          "type": "string"
        },
        "token": {
          "description": "ERC-20 token contract. 0x-prefixed 20-byte EVM address. Zero address is rejected.",
          "type": "string"
        }
      },
      "required": [
        "owner",
        "token",
        "spender"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "owner": {
              "description": "ERC-20 token owner address. 0x-prefixed 20-byte EVM address.",
              "type": "string"
            },
            "spender": {
              "description": "Spender address. 0x-prefixed 20-byte EVM address.",
              "type": "string"
            },
            "token": {
              "description": "ERC-20 token contract. 0x-prefixed 20-byte EVM address. Zero address is rejected.",
              "type": "string"
            }
          },
          "required": [
            "owner",
            "token",
            "spender"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "properties": {
            "allowance_adjusted": {
              "type": [
                "string",
                "null"
              ]
            },
            "allowance_balance_exposure_adjusted": {
              "type": [
                "string",
                "null"
              ]
            },
            "allowance_balance_exposure_raw": {
              "type": [
                "string",
                "null"
              ]
            },
            "allowance_covers_current_balance": {
              "type": "boolean"
            },
            "allowance_raw": {
              "description": "uint256 as a decimal integer string",
              "type": [
                "string",
                "null"
              ]
            },
            "balance_adjusted": {
              "type": [
                "string",
                "null"
              ]
            },
            "balance_raw": {
              "type": [
                "string",
                "null"
              ]
            },
            "block_number": {
              "type": [
                "string",
                "null"
              ]
            },
            "effectively_unlimited": {
              "type": "boolean"
            },
            "evidence": {
              "properties": {
                "block_number": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "same_block_reads": {
                  "type": "boolean"
                },
                "token_code_present": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "limitations": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "machine": {
              "enum": [
                "VM02"
              ],
              "type": "string"
            },
            "max_uint256_approval": {
              "type": "boolean"
            },
            "methodology_version": {
              "enum": [
                "allowance-exposure-0.1.0"
              ],
              "type": "string"
            },
            "network": {
              "enum": [
                "eip155:8453"
              ],
              "type": "string"
            },
            "owner": {
              "type": "string"
            },
            "spender": {
              "type": "string"
            },
            "status": {
              "enum": [
                "OK",
                "HOLD"
              ],
              "type": "string"
            },
            "token": {
              "type": "string"
            },
            "token_metadata": {
              "properties": {
                "decimals": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "symbol": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": "object"
            }
          },
          "required": [
            "status",
            "machine",
            "methodology_version",
            "network",
            "block_number",
            "owner",
            "token",
            "spender",
            "token_metadata",
            "allowance_raw",
            "allowance_adjusted",
            "balance_raw",
            "balance_adjusted",
            "allowance_balance_exposure_raw",
            "allowance_balance_exposure_adjusted",
            "allowance_covers_current_balance",
            "max_uint256_approval",
            "effectively_unlimited",
            "evidence",
            "limitations"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}