Connect your agent
For agents: JSON · MCP

onchain-code

x402Grade CLast checked 1 hour ago

GET https://payai.agentstools.dev/code

Is an address a contract or an EOA on Base, Ethereum, Arbitrum, Optimism, Polygon or BNB (default Base)? Returns is_contract, deployed code size in bytes, and the keccak256 code hash (eth_getCode).

Price$0.003per chain read · paid in USD on Solana
Uptime100%
4/4 probes · 722.5 ms
Score69Grade C
Paid usage, 30 days0payers · 0 calls

How to buy

This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.

curl -i -X GET "https://payai.agentstools.dev/code"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the response

Recent checks

Checked (UTC)ResultStatusTimeLive price
2026-10-11 12:01Valid 402402643 ms$0.003
2026-10-11 07:30Valid 402402692 ms$0.003
2026-10-11 03:00Valid 402402753 ms$0.003
2026-10-10 22:31Valid 402402763 ms$0.003

Receipts

No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.

What a check proves