← All endpoints
OneSource chain ID
https://api.onesource.io/api/chain/chain-id
answers 402
Returns the Ethereum chain ID for a network.
We sent a real
GET request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.001
- Network
- base
- Pay to
- 0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- GET
- Response latency
- 48 ms
- Payment options
- 2 usable of 2
- Last checked
- 2026-09-06T01:07:29.647Z (19d ago)
- Category
- finance-crypto
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.onesource.io%2Fapi%2Fchain%2Fchain-id"