81trust / 100

Attest

by InsumerAPI in Onchain & crypto

x402 APIPassing, checked 6 h ago

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

POST
https://api.insumermodel.com/v1/attest
Price
$0.05
per call in USDC
Uptime
99.0%
last 30 days
Response time
356 ms
548 ms slowest 5%
Last check
Passed
6 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

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

Each call costs $0.05 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://api.insumermodel.com/v1/attest
content-type: application/json

{
  "conditions": [
    {
      "chainId": 8453,
      "contractAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "threshold": "1",
      "type": "token_balance"
    }
  ],
  "wallet": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}

Parameters

ParameterTypeRequiredDescription
bitcoinWalletstringNoRequired when a condition is on Bitcoin
conditionsarray of objectYes
formatstringNoOptional ES256 JWT attestation format; its sub is the wallet a condition evaluated One of: jwt.
proofstringNoOptional EIP-1186 proof (a storage proof, or an account proof for a native balance or an account_code condition); doubles the price One of: merkle.
solanaWalletstringNoRequired when a condition is on Solana
stellarWalletstringNoRequired when a condition is on Stellar
suiWalletstringNoRequired when a condition is on Sui
tronWalletstringNoRequired when a condition is on Tron
walletstringNoEVM address (0x…), required when a condition is on an EVM chain
xrplWalletstringNoRequired when a condition is on XRPL

Example response

The provider's example. We can't check it without paying.

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

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.05.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.insumermodel.com/v1/attest' \
  -H 'content-type: application/json' \
  --data-raw '{"conditions":[{"chainId":8453,"contractAddress":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","threshold":"1","type":"token_balance"}],"wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.insumermodel.com/v1/attest' \
  -H 'content-type: application/json' \
  --data-raw '{"conditions":[{"chainId":8453,"contractAddress":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","threshold":"1","type":"token_balance"}],"wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.05 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.05" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.05 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.insumermodel.com%2Fv1%2Fattest&method=POST
const res = await pay("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"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.05 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.05"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://api.insumermodel.com/v1/attest",
        json={
            "conditions": [
                {
                    "chainId": 8453,
                    "contractAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                    "threshold": "1",
                    "type": "token_balance",
                },
            ],
            "wallet": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
6 h agoPassed402477 ms$0.05
17 h agoPassed402382 ms$0.05
27 h agoPassed402278 ms$0.05
38 h agoPassed402271 ms$0.05
47 h agoPassed402250 ms$0.05
Show 10 older checks
2 days agoPassed402193 ms$0.05
3 days agoPassed402220 ms$0.05
5 days agoTimed out---
6 days agoPassed402237 ms$0.05
7 days agoPassed402342 ms$0.05
7 days agoPassed402548 ms$0.05
7 days agoPassed402316 ms$0.05
8 days agoPassed402357 ms$0.05
8 days agoPassed4022.8 s$0.05
9 days agoPassed402332 ms$0.05

History

19 Oct 2026Payment address on Base changed from 0xAd982CB19aCCa2923Df8F687C0614a7700255a23 to 0xee432065474D2C852700f74e3fD81e2Bcc16a3D4; Payment address on Polygon changed from 0xAd982CB19aCCa2923Df8F687C0614a7700255a23 to 0xee432065474D2C852700f74e3fD81e2Bcc16a3D4; Payment address on Arbitrum changed from 0xAd982CB19aCCa2923Df8F687C0614a7700255a23 to 0xee432065474D2C852700f74e3fD81e2Bcc16a3D4; Payment address on Solana changed from 6a1mLjefhvSJX1sEX8PTnionbE9DqoYjU6F6bNkT4Ydr to 8fyEGM5tRjMocKQWaVXyM2Xvv