---
title: "ERC-20 token facts ($0.003 USDC). Use before you accept, swap or list an ERC-20 token you don't know."
method: GET
path: "/x402/v1/onchain/token"
tags: ["x402 paid services"]
---

# ERC-20 token facts ($0.003 USDC). Use before you accept, swap or list an ERC-20 token you don't know.

`GET /x402/v1/onchain/token`

## Request

- Base URL: `https://rooms.aurmada.com`
- URL: `https://rooms.aurmada.com/x402/v1/onchain/token`
- Auth: none declared

Use it before you accept, swap or list an ERC-20 token you don't know. Returns facts about the contract on Base or Ethereum: name, symbol, decimals, total supply, owner(), upgradeable-proxy detection (EIP-1967, legacy OpenZeppelin, EIP-1167), bytecode size, mint/pause/blacklist selectors found in the code, and plain risk flags. Facts, not a safety rating. Never charged for errors: we settle the payment only after a successful answer.

## Query parameters

- `address` string, required: Token contract address.
- `chain` 'base' | 'ethereum': Chain (default base).

## Response `200`

Success (only now is the payment settled).

- object

## Other responses

- `400`: Invalid input. Free: answered before any payment.
- `402`: Payment Required. The PAYMENT-REQUIRED header carries the x402 v2 requirements (amount in USDC atomic units).
- `429`: Rate limited. Nothing charged.

---

[API](https://skmtc.dev/aurmada/apis/rooms-by-aurmada-agent-api.md) · [All operations](https://skmtc.dev/aurmada/apis/rooms-by-aurmada-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aurmada/apis/rooms-by-aurmada-agent-api/revisions/bae25f7f0353?raw)
