x402 · Base 主网 · USDC · 按次计价,失败不扣费,同一笔支付只能用一次。x402 · Base mainnet · USDC · per-call pricing, failed calls are not billed, a receipt can be used once.
/llms.txt、/llms-full.txt、公开页面,以及原有的公开 API(/api/cards、/api/verifications.json、/api/stats.json、/api/verify 等)不变,不需要付款。只有 /api/paid/* 这六个新端点按次计量。
Every existing public surface stays free. /llms.txt, /llms-full.txt, the public pages and the existing public APIs (/api/cards, /api/verifications.json, /api/stats.json, /api/verify, …) are unchanged and need no payment. Only the six new /api/paid/* endpoints are metered.
| 技能Skill | SKU | 端点Endpoint | 单价Price |
|---|---|---|---|
| 按域名/关键词查名片Card lookup by domain or keywordcard_lookup | card_lookup | POST /api/paid/lookup | $0.02 |
| 单卡验真记录 / 按品类批量Card verification record / category batchcard_verify · same price, no extra tier | card_verify | POST /api/paid/verify | $0.03 |
| 目录统计快照Directory statistics snapshotstats_snapshot | stats_snapshot | POST /api/paid/stats | $0.01 |
| 批量状态同步Batch status syncbatch_status · 1–2000 items | batch_status | POST /api/paid/batch-status | 阶梯Tiered |
| 付款前检查 x402 端点Pre-payment x402 endpoint checkx402_check · read-only | x402_check | POST /api/paid/x402-check | $0.02 |
| Agent 定价情报Agent pricing intelligencepricing_intel · verified + alive only | pricing_intel | POST /api/paid/pricing-intel | $0.03 |
阶梯按累计计算:前 100 条按 $0.01,接下来 900 条按 $0.007,再往后按 $0.005。单次批量最低收费 $0.01。Tiers are cumulative: the first 100 items at $0.01, the next 900 at $0.007, then $0.005. A batch is never charged less than $0.01.
X-PAYMENT 头。Sign an EIP-3009 authorization in USDC on Base and send it in X-PAYMENT.0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Network Base mainnet (chainId 8453) · asset USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913X-PAYMENT-SESSION 在后续调用中抵扣;每次返回都带剩余额度与有效期。同一 nonce 重放会返回 409,且不会重复结算。
This service holds no signing authority, never broadcasts, pays no gas, never swaps and never touches an exchange. A third-party facilitator settles the transfer directly from payer to payee. Failed calls are not billed; overpayment becomes a payer balance spendable with X-PAYMENT-SESSION; every response carries the remaining balance and expiry. Replaying a nonce returns 409 and is never settled twice.
curl -sS https://longyiagent.online/api/paid/stats \
-H 'Content-Type: application/json' \
-H "X-PAYMENT: $X_PAYMENT" \
-d '{}'
机器可读价目:/api/pricing.json;Agent Card:/.well-known/agent-card.json。Machine-readable pricing: /api/pricing.json; Agent Card: /.well-known/agent-card.json.