How do I check a wallet for a Coinbase Verified Account attestation?

Send the wallet and the coinbase_verified_account compliance template to POST /v1/attest, and InsumerAPI reads the Coinbase Verifications attestation on Base and returns a signed yes or no. No balances or personal data come back, and one check costs $0.04 with credits or $0.05 over x402.

Updated

The check

Coinbase Verifications are EAS attestations on Base. Instead of a raw schema ID, attester and indexer, send the compliance template name coinbase_verified_account in an eas_attestation condition, and InsumerAPI fills in all three. The answer is met: true or false.

The same call can take up to 10 conditions, so you can pair it with coinbase_verified_country, coinbase_one or a token holding. GET /v1/compliance/templates lists every template, with no key needed.

What comes back

A signed yes or no for each condition and pass for the whole set. No balances, no attestation contents and no personal data come back. You decide what to do with the answer.

One call

POST /v1/attest
curl -X POST https://api.insumermodel.com/v1/attest \
  -H "X-API-Key: $INSUMER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "wallet": "0xYOUR_USER_WALLET",
    "conditions": [
      {
        "type": "eas_attestation",
        "template": "coinbase_verified_account",
        "label": "Coinbase verified account"
      }
    ]
  }'

No key? Drop the X-API-Key line. The first reply is an x402 quote; pay it in USDC and retry with the PAYMENT-SIGNATURE header.

Templates and the raw-schema form are in the compliance docs; every field is in openapi.yaml.

Keep the answer

Every answer is signed twice: ES256 and a post-quantum ML-DSA-65 signature. Anyone can check it offline against the public keys at /.well-known/jwks.json. An attestation is good for 30 minutes.

Cost

1 credit with a key ($0.04 at the base rate, down to $0.02 at volume), or $0.05 a call over x402 with no API key. A free key comes with 10 verifications plus 100 requests a day. Details on pricing.

Next