the402 endpoint detail

← All endpoints

api.agentstools.dev contract source

https://api.agentstools.dev/contract/source

answers 402

Fetch a verified smart-contract's full source, ABI, compiler settings and NatSpec docs for an EVM address, and automatically resolve a proxy to its implementation so the response also carries the implementation ABI. One call returns everything an audit or integration agent needs to understand the contract, keyless and pay-per-call. Unverified contracts are reported honestly.

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.02
Network
base
Pay to
0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
172 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:16:50.649Z (2h ago)
Category
web-scraping

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.agentstools.dev%2Fcontract%2Fsource"