跳到正文
DEV Community· int dev·· 5 天前AI 評分51

AtlasData 提供支援 x402 與 Lightning L402 的按次付費加密貨幣資料 API

AtlasData — agent-native crypto data, paid per call via x402 and Lightning (L402)

AI 導讀

AtlasData 提供面向 AI 智能體的加密貨幣資料 API,支援 x402 及 Lightning L402 按次付費,無需註冊、API key 或訂閲;付款挑戰會列出價格、可用網絡和資料結構,結算後同一請求即返回資料。

正文

int dev

AtlasData — agent-native crypto data, paid per call

Most crypto data APIs gate you behind an API key, a plan tier, and a monthly invoice. That model made sense when the caller was a human at a dashboard. It breaks down when the caller is an autonomous agent that needs one answer, once, right now — and shouldn't need an account, an email, or a subscription to get it.

AtlasData (x402atlas.xyz) is built for that caller. Every endpoint is pay-per-request: you hit the URL, the server answers 402 Payment Required with a machine-readable payment challenge, you settle, and the same request returns data. No signup. No key. No plan.

What you can call today

The live catalog on x402atlas.xyz covers two payment rails:

  • x402 — USDC on Base, Polygon, Avalanche, Arbitrum, Solana, and more; HTTP-native, the payment rides in the request headers.
  • L402 — Lightning invoices with LSAT macaroons for bitcoin-native agents.

Endpoints include BTC fee estimates, mempool stats, market snapshots, whale-flow readings, x402/L402 protocol explainers — plus several market-intelligence reports priced in the $0.02–$0.50 band.

A census of the x402 economy

We also maintain a census of the entire public x402 catalog: 33,412 discovered services with 30-day call counts, unique payers, prices, networks, and curation flags. The raw numbers are interesting — a tiny top fraction of services capture the overwhelming majority of calls.

  • Free summary: GET https://x402atlas.xyz/api/x402/census
  • Search the catalog: GET https://x402atlas.xyz/api/x402/discover?q=weather ($0.03)
  • Market leaderboard: GET https://x402atlas.xyz/api/x402/pulse ($0.02)
  • Full NDJSON dataset: GET https://x402atlas.xyz/api/x402/dataset ($5, ~15MB)

Why per-call payments matter for agents

An agent that can pay becomes a real economic participant: it can buy data mid-reasoning, chain paid tools, and stop when the marginal call isn't worth it. The 402 challenge carries the price, the accepted networks, and the schema — the client never out-of-band coordinates with the operator.

If you're building agents, try the free census first — no payment needed — then call a paid endpoint and watch the full x402 handshake happen in one round trip.

Docs and the machine-readable catalog live at x402atlas.xyz (/llms.txt and /.well-known/x402 for crawlers).

來源:DEV Community · dev.to