Aller au contenu
GET /v1/contract

Source-verification and proxy-call analysis

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/honeypot-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}