Ir al contenido
GET /v1/contract

A spender contract risk profile

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/approvalsecurity-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/approvalsecurity-api/v1/contract" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/approvalsecurity-api/v1/contract", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/approvalsecurity-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/approvalsecurity-api/v1/contract",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "tag": null,
        "name": "AggregationRouterV5",
        "note": "Risk profile of a spender contract — check before approving it to move your tokens.",
        "chain": "1",
        "risky": false,
        "source": "GoPlus",
        "trusted": false,
        "contract": "0x1111111254eeb25477b68fb85ed929f73a960582",
        "doubtful": false,
        "deployed_at": "2022-11-04T06:04:59.000Z",
        "is_contract": true,
        "is_open_source": true,
        "creator_address": "0xccbdbd9b0309a77fc6a56e087ff2765ff394012e",
        "malicious_behavior": []
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:51.683Z",
        "request_id": "291d39b7-0057-418b-a928-c41eb5ad1d58"
    },
    "status": "ok",
    "message": "Contract retrieved successfully",
    "success": true
}