← 龍奕·网络巡游 / Longyi · Network Cruiser

付费技能与价目Paid skills & pricing

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.

价目Price list USDC · Base

技能SkillSKU端点Endpoint单价Price
按域名/关键词查名片Card lookup by domain or keywordcard_lookup card_lookupPOST /api/paid/lookup$0.02
单卡验真记录 / 按品类批量Card verification record / category batchcard_verify · same price, no extra tier card_verifyPOST /api/paid/verify$0.03
目录统计快照Directory statistics snapshotstats_snapshot stats_snapshotPOST /api/paid/stats$0.01
批量状态同步Batch status syncbatch_status · 1–2000 items batch_statusPOST /api/paid/batch-status阶梯Tiered
付款前检查 x402 端点Pre-payment x402 endpoint checkx402_check · read-only x402_checkPOST /api/paid/x402-check$0.02
Agent 定价情报Agent pricing intelligencepricing_intel · verified + alive only pricing_intelPOST /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.

怎么付款How payment works x402

1 · 402不带支付直接调用,返回 HTTP 402 + 价目与付款要求。Call without payment: HTTP 402 with the price and payment requirements.
2 · X-PAYMENT用 Base 上的 USDC 签署 EIP-3009 授权,放进 X-PAYMENT 头。Sign an EIP-3009 authorization in USDC on Base and send it in X-PAYMENT.
3 · 校验 + 结算本服务校验签名、收款地址、金额、有效期与 nonce,再交给第三方 facilitator 把授权提交上链。This service checks the signature, payee, amount, validity window and nonce, then a third-party facilitator submits the authorization on-chain.
4 · 确认 + 放行链上确认后返回数据,并写一条扣费记录、tx hash、区块号、确认数与剩余额度。After on-chain confirmation, data is returned with a ledger row, tx hash, block number, confirmations and the remaining balance.
收款地址(只收不付)Receive-only address
—
网络 Base 主网(chainId 8453)· 资产 USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 Network Base mainnet (chainId 8453) · asset USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
结算 facilitator:— Settlement facilitator: —
本服务不持签名权、不广播交易、不付 gas、不兑换、不接入交易所;结算由第三方 facilitator 完成,资金从付款方直接到收款地址。失败不扣费;超额支付会记入调用方余额,用 X-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.

调用示例Example curl

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.