← Back to directory

Check if an Ethereum address is a contract via eth_getCode - returns deployed by...

https://api.onesource.io/api/chain/code/:address

Overview

Check if an Ethereum address is a contract via eth_getCode - returns deployed bytecode

Protocol x402
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider onesource
Source bazaar
Indexed 2026-06-10 21:15:23

Health

Status healthy
Latency (p50) 666ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-10-30 00:17:14
Last Healthy 2026-10-30 00:17:14
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "pathParams": { "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" }, "queryParams": { "network": "ethereum" }, "type": "http" }

Output Schema

{ "example": { "data": { "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", "code": "0x6080604052600436106101...", "code_length": 10234, "is_contract": true }, "meta": { "cost_usdc": "0.001", "endpoint": "/api/chain/code/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "payment_chain": "base", "payment_token": "USDC", "request_id": "00000000abcdef01" } }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-10-30 00:17:14 healthy 402 734ms
2026-10-29 23:13:33 healthy 402 608ms
2026-10-29 22:15:27 healthy 402 751ms
2026-10-29 21:12:53 healthy 402 581ms
2026-10-29 20:11:56 healthy 402 521ms
2026-10-29 19:16:49 healthy 402 539ms
2026-10-29 18:13:59 healthy 402 693ms
2026-10-29 17:19:30 healthy 402 562ms
2026-10-29 16:12:57 healthy 402 569ms
2026-10-29 15:11:52 healthy 402 490ms
2026-10-29 14:18:16 healthy 402 891ms
2026-10-29 13:19:56 healthy 402 2269ms
2026-10-29 12:11:26 healthy 402 751ms
2026-10-29 11:18:54 healthy 402 728ms
2026-10-29 10:17:37 healthy 402 808ms
2026-10-29 09:12:38 healthy 402 975ms
2026-10-29 08:16:41 healthy 402 631ms
2026-10-29 07:11:45 healthy 402 666ms
2026-10-29 06:17:56 healthy 402 570ms
2026-10-29 05:11:36 healthy 402 641ms