Zum Inhalt springen
GET /v1/contract

Source-verification and proxy-call analysis

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/honeypot-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/honeypot-api/v1/contract" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/honeypot-api/v1/contract", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/honeypot-api/v1/contract");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/honeypot-api/v1/contract",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Whether an EVM token's contract is verified and open-source. is_open_source true means the code is published and auditable; has_proxy_calls true means the contract delegates to other contracts (logic can change — a risk). contracts_checked/contracts_open_source count how many of the contracts in the token's call graph are open-source. A closed-source token you cannot read is harder to trust. Pass address and chain. Live.",
        "chain": "Ethereum",
        "source": "honeypot.is public API (api.honeypot.is/v2/GetContractVerification), keyless",
        "address": "0x6982508145454Ce325dDbE47a25d4ec3d2311933",
        "chain_id": 1,
        "is_contract": true,
        "contract_calls": 0,
        "is_open_source": true,
        "has_proxy_calls": false,
        "root_open_source": true,
        "contracts_checked": 1,
        "full_check_performed": true,
        "contracts_open_source": 1
    },
    "meta": {
        "timestamp": "2026-06-13T04:41:56.251Z",
        "request_id": "3a7d39c0-2f3b-4b5b-bd2a-a2c36ea30785"
    },
    "status": "ok",
    "message": "Contract analysis retrieved successfully",
    "success": true
}