# x402 Chain API

**Canonical:** https://apis.io/apis/x-402-online/x-402-online-chain-api/  
**Provider:** x402 — https://apis.io/providers/x-402-online/  
**Base URL:** https://x-402.online  
**Documentation:** https://x-402.online/

x402 Chain API is one of 36 APIs that [x402](https://apis.io/providers/x-402-online/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Chain. The published artifact set on APIs.io includes an OpenAPI specification.

The chain API from x402 — 8 operation(s) for chain.

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/chain/block` | Get the latest Base block with its age in seconds, base fee and gas used. |
| GET | `/v1/chain/gas` | Get the current Base gas price and the ETH cost of an ETH, ERC-20 or x402 USDC… |
| GET | `/v1/chain/balance` | Get ETH, USDC and up to ten ERC-20 balances of one address in a single call… |
| GET | `/v1/chain/token` | Get an ERC-20's name, symbol, decimals, total supply, holder count and USD rate… |
| GET | `/v1/chain/allowance` | Get an ERC-20 allowance with the owner's balance and a sufficiency verdict for… |
| GET | `/v1/chain/ens` | ENS name resolution in both directions: an .eth name to its address, or an… |
| GET | `/v1/chain/abi` | The verified ABI of a smart contract on any EVM chain from Sourcify: function… |
| GET | `/v1/chain/address` | See the USDC an address received and sent on Base, with x402 settlements… |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/x-402-online/openapi/x-402-online-chain-api-openapi.yml

## Other x402 APIs (12)

- [x402 Amazon API](https://apis.io/apis/x-402-online/x-402-online-amazon-api/)
- [x402 Apify API](https://apis.io/apis/x-402-online/x-402-online-apify-api/)
- [x402 Callbacks API](https://apis.io/apis/x-402-online/x-402-online-callbacks-api/)
- [x402 Crypto API](https://apis.io/apis/x-402-online/x-402-online-crypto-api/)
- [x402 Domain API](https://apis.io/apis/x-402-online/x-402-online-domain-api/)
- [x402 Email API](https://apis.io/apis/x-402-online/x-402-online-email-api/)
- [x402 Eu API](https://apis.io/apis/x-402-online/x-402-online-eu-api/)
- [x402 Extract API](https://apis.io/apis/x-402-online/x-402-online-extract-api/)
- [x402 Fr API](https://apis.io/apis/x-402-online/x-402-online-fr-api/)
- [x402 Fx API](https://apis.io/apis/x-402-online/x-402-online-fx-api/)
- [x402 Geo API](https://apis.io/apis/x-402-online/x-402-online-geo-api/)
- [x402 Image API](https://apis.io/apis/x-402-online/x-402-online-image-api/)

## Tags

Chain

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/x-402-online` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/x-402-online/x-402-online-chain-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/x-402-online/.
