Pay-per-call APIs for AI agents. Settled in USDC on Base mainnet (eip155:8453) via the x402 protocol v2 (exact scheme). Facilitator: https://facilitator.payai.network. Receiving address (payTo): 0xAc6F1C3C3b17040730F16dC24Ee9993e9565BE4A. USDC contract: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.
| Endpoint | Price | Description |
|---|---|---|
POST /api/text-to-structure | $0.01 USDC | Turn unstructured text into strict, machine-readable JSON for agent pipelines: a deterministic, reproducible alternative to an LLM extraction call. Extracts emails, URLs, EVM wallet addresses, transaction hashes, ISO-normalized dates, money amounts, percentages, phone numbers and key:value pairs from invoices, emails, messages, logs or documents. Pass fields or a JSON schema to receive exactly the fields you need. Same input, same output, in milliseconds. |
POST /api/wallet-activity-summary | $0.05 USDC | Wallet due diligence for any EVM address on Ethereum or Base: native balance, recent transactions with counterparties, top token holdings with USD values when known, plus anomaly flags for burst activity, concentrated outflows and contract wallets. For counterparty screening, airdrop eligibility checks, portfolio snapshots, or checking a wallet before transacting with it. Sources: public indexers (Blockscout, Etherscan) with on-chain RPC fallback; responses state sources and data_quality. |
POST /api/token-risk-summary | $0.05 USDC | Pre-trade token safety check for trading agents, snipers and treasuries: is this ERC-20 a honeypot, what are the buy/sell taxes, can supply be minted, is ownership reclaimable, how deep is the liquidity? One call combines Honeypot.is simulation, GoPlus security audit, DexScreener liquidity, volume and pair age, and on-chain contract checks into a 0-100 risk_score, risk_level and flags for any token on Base or Ethereum. Run it before swaps, listings or purchases. Not financial advice. |
POST /api/token-quotes | $0.005 USDC | Live DEX price and market snapshot for any token by contract address (Base, Ethereum, Solana, BSC and other DexScreener chains): spot price in USD, liquidity, 24h and 1h volume, buy/sell counts, FDV and market cap for the most liquid pairs. For trading agents, portfolio trackers and quote checks before a swap. Source: DexScreener public data. Not financial advice. |
POST /api/trending-pools | $0.005 USDC | Trending liquidity pools right now on Base, Ethereum, Solana or BSC: pool name and address, base token price, 24h volume, liquidity, buy/sell counts and FDV, in the network's trending order. For trading agents scanning what is moving, market monitors and discovery pipelines. Source: GeckoTerminal public data. Not financial advice. |
POST /api/fx-rates | $0.005 USDC | Daily foreign-exchange reference rates for the major fiat currencies (USD, EUR, CNY, GBP, JPY, HKD and more) from the European Central Bank via Frankfurter: convert amounts, price in a local currency, or sanity-check a rate before a payment. Give a base currency and optional symbols and amount. Reference rates are published once per working day; they are not live trading quotes. |
POST /api/weather | $0.005 USDC | Current weather and a short forecast for any city worldwide: temperature, feels-like, humidity, wind and precipitation probability, from Open-Meteo public weather models. For travel-planning agents, logistics, event planning and location-aware assistants. Give a city name (or latitude/longitude) and get structured weather JSON. |
POST /api/email-verify | $0.005 USDC | Email address validation for signup screening, lead cleanup and form verification: syntax check, disposable/temporary-domain detection and a live MX-record lookup for the domain. Returns a deliverability verdict (likely_deliverable, risky, undeliverable, invalid_format) with the MX hosts found. Does not probe individual mailboxes, so catch-all domains may still accept addresses that do not exist. |
# 1) Unpaid request returns HTTP 402 + PAYMENT-REQUIRED header
curl -i -X POST https://call402.com/api/text-to-structure -H 'content-type: application/json' \
-d '{"text":"Contact [email protected] about $250.00 due 2026-11-01","fields":["email","amount","date"]}'
# 2) Pay and retry with an x402 client (see JS example below). The client reads
# PAYMENT-REQUIRED, signs a USDC EIP-3009 authorization, and retries with a
# PAYMENT-SIGNATURE header. Settlement returns a PAYMENT-RESPONSE header.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { toClientEvmSigner } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const signer = toClientEvmSigner(privateKeyToAccount(process.env.PRIVATE_KEY));
const client = new x402Client().register("eip155:*", new ExactEvmScheme(signer));
const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPayment("https://call402.com/api/text-to-structure", {
method: "POST", headers: { "content-type": "application/json" },
body: JSON.stringify({ text: "Contact [email protected] about $250.00 due 2026-11-01", fields: ["email","amount","date"] }),
});
console.log(await res.json());
POST /mcp — MCP endpoint: initialize + tools/list free; tools/call paid per tool at the /pricing ratesToken and wallet summaries are informational only, not financial advice.