InsumerAPI · Attest

by InsumerAPI

POSTBaseSolanaArbitrumPolygon

$0.05

per call · USD Coin on Base

Signed attestation (ECDSA plus a post-quantum ML-DSA-65 companion) of on-chain wallet conditions across 38 chains: token balance, NFT ownership, EAS, Farcaster, view calls, ratio rules, and agent standing (ERC-8004 registration, ERC-7710 delegation validity with revocation proof). A verifiable boolean, never raw balances. Up to 10 conditions per pay-per-call request. Pay in USDC on Base, Polygon, Arbitrum, or Solana.

Endpoint

POST https://api.insumermodel.com/v1/attest

10

Calls / 30d

3

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.insumermodel.com/v1/attest", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "conditions": [
      {
        "chainId": 8453,
        "contractAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "threshold": "1",
        "type": "token_balance"
      }
    ],
    "wallet": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.insumermodel.com/v1/attest" \
  -H "Content-Type: application/json" \
  -d '{"conditions":[{"chainId":8453,"contractAddress":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","threshold":"1","type":"token_balance"}],"wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "attestation": {
      "id": "ATST-…",
      "pass": true,
      "results": [
        {
          "blockNumber": "0x…",
          "conditionHash": "0x…",
          "met": true
        }
      ]
    },
    "kid": "insumer-attest-v2",
    "sig": "…"
  }
}

Payment details

Pay to0xad982cb19acca2923df8f687c0614a7700255a23
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from InsumerAPI & similar services