← Back to directory

Read whether an address is a contract, and its code size, live from Base mainnet...

https://soren.com/v1/chain/code

Overview

Read whether an address is a contract, and its code size, live from Base mainnet, for a fraction of a cent. No API key, no account — a wallet is the only requirement, and you are charged only if the read succeeds. Plain unsigned data; the attested version of chain reads is /v1/oracle/onchain. Answers are read at the moment of the call and stamped with the block they came from where applicable.

Protocol x402
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/wallet
Provider Soren
Source bazaar
Indexed 2026-09-08 00:13:29

Health

Status healthy
Latency (p50) 237ms
Uptime (30d) 98.5%
Reliability Score 94.2/100
Last Checked 2026-10-31 07:13:44
Last Healthy 2026-10-31 07:13:44
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }, "type": "http" }

Output Schema

{ "example": { "address": "<0x…>", "code_bytes": "<int>", "is_contract": true }, "type": "json" }