{"slug":"x402-agentindex-world-base-code-3688c3","title":"Check whether a Base mainnet address is a contract via eth_getCode","host":"x402.agentindex.world","method":"POST","resource":"https://x402.agentindex.world/base/code","category":"code","description":"Check whether a Base mainnet address is a contract via eth_getCode - returns bytecode size, zero for an externally-owned account.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":949,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"address":{"title":"Address","type":"string"}},"required":["address"],"title":"AddressInput","type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"address":{"title":"Address","type":"string"},"bytecode_size":{"title":"Bytecode Size","type":"integer"},"is_contract":{"title":"Is Contract","type":"boolean"}},"required":["address","is_contract","bytecode_size"],"title":"CodeOutput","type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":949,"error":null}],"description_full":"Check whether a Base mainnet address is a contract via eth_getCode - returns bytecode size, zero for an externally-owned account.","last_updated":"2026-10-03T19:06:29.474Z","schemes":["exact"]}