78trust / 100

Balances Entity

by Arkham x402 in Onchain & crypto

x402 APIPassing, checked 4 h ago

Get Arkham token balances for an entity. $1.00 per call.

POST
https://api.arkm.com/x402/balances/entity
Price
$1.00
per call in USDC
Uptime
100%
last 30 days
Response time
168 ms
241 ms slowest 5%
Last check
Passed
4 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

How to call it

POST https://api.arkm.com/x402/balances/entity

Each call costs $1.00 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.arkm.com/x402/balances/entity
content-type: application/json

{
  "entity": "binance"
}

Parameters

ParameterTypeRequiredDescription
chainsstring or number or boolean or array of anyNoChains to filter by, as a single comma-separated value (e.g. 'ethereum,bsc'). If omitted, returns balances across all s…
cheapstring or number or boolean or array of anyNoIf 'true', uses a faster but less real-time balance query (up to 24 hours delayed).
entitystring or number or boolean or array of anyYesThe entity ID to query balances for. IDs are case-sensitive; look one up with GET /intelligence/search.

Example response

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

Example response, 73 lines
{
  "balances": {
    "bsc": [
      {
        "balance": 40881.77844727871,
        "id": "binance-bitcoin",
        "name": "Binance Bitcoin",
        "price": 65027,
        "priceChange24h": 950,
        "priceChange24hPercent": 1.4825912573934483,
        "quoteTime": "2026-06-22T13:23:37.62Z",
        "symbol": "BTCB",
        "usd": 2658419407.0911927
      }
    ],
    "ethereum": [
      {
        "balance": 40046128192.73723,
        "id": "tether",
        "name": "Tether",
        "price": 1,
        "priceChange24h": 0,
        "priceChange24hPercent": 0,
        "quoteTime": "2026-06-22T13:24:28.299Z",
        "symbol": "USDT",
        "usd": 40046128192.73723
      },
      {
        "balance": 7422685972.66057,
        "id": "usd-coin",
        "name": "USDC",
        "price": 1,
        "priceChange24h": 0,
        "priceChange24hPercent": 0,
        "quoteTime": "2026-06-22T13:24:30.156Z",
        "symbol": "USDC",
        "usd": 7422685972.66057
      }
    ]
  },
  "entities": {
    "binance": {
      "crunchbase": "https://www.crunchbase.com/organization/binance",
      "description": "",
      "id": "binance",
      "linkedin": "https://www.linkedin.com/company/binance",
      "name": "Binance",
      "note": "",
      "populatedTags": [
        {
          "disablePage": false,
          "excludeEntities": false,
          "id": "proof-of-reserves",
          "label": "Binance Proof of Reserves",
          "rank": 20,
          "tagParams": "Binance"
        }
      ],
      "service": null,
      "twitter": "https://twitter.com/binance",
      "type": "cex",
      "website": "https://binance.com"
    }
  },
  "totalBalance": {
    "bsc": 11662208524.033506,
    "ethereum": 66276809360.97472
  },
  "totalBalance24hAgo": {
    "bsc": 11595187303.045288,
    "ethereum": 65932976474.17882
  }
}

Call it from code

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

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.arkm.com/x402/balances/entity' \
  -H 'content-type: application/json' \
  --data-raw '{"entity":"binance"}'

# 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.arkm.com/x402/balances/entity' \
  -H 'content-type: application/json' \
  --data-raw '{"entity":"binance"}' \
  | 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 $1 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$1" });
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 $1 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.arkm.com%2Fx402%2Fbalances%2Fentity&method=POST
const res = await pay("https://api.arkm.com/x402/balances/entity", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "entity": "binance"
  }),
});
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 $1 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$1"})
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.arkm.com/x402/balances/entity",
        json={
            "entity": "binance",
        },
    )
    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
4 h agoPassed402237 ms$1.00
8 h agoPassed402177 ms$1.00
12 h agoPassed402294 ms$1.00
17 h agoPassed402160 ms$1.00
21 h agoPassed402153 ms$1.00
Show 10 older checks
25 h agoPassed402171 ms$1.00
29 h agoPassed402191 ms$1.00
33 h agoPassed402241 ms$1.00
37 h agoPassed402168 ms$1.00
41 h agoPassed402166 ms$1.00
45 h agoPassed402165 ms$1.00
2 days agoPassed402185 ms$1.00
2 days agoPassed402172 ms$1.00
2 days agoPassed402173 ms$1.00
3 days agoPassed402160 ms$1.00