{"uid":"cap_ID_7H4SEaYGfX8zT6OH2C","slug":"fly-ai-pay-per-request-token-api-08d6c994","name":"fly.ai Pay-Per-Request Token API","description":"Single answers, each paid on its own over x402. Guide: https://www.flyaiworld.com/x402-api.md","url":"https://flyai-x402.fly.dev/token/%7Baddr%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g1pDxBhK_dQ2TQ72vw-DO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns AI-generated answers for a given address/token via a pay-per-request x402 micropayment model at $0.03 USDC per call","exampleAgentPrompt":"Ask fly.ai a question about the current DeFi yield rates using my wallet address 0xAbC123... and pay the 3-cent USDC fee per request via x402.","exampleUseCases":[{"title":"On-demand AI research query","prompt":"I need a quick AI answer about Ethereum staking APY trends — use my wallet 0xAbC123... to pay per request through fly.ai so I'm not locked into a subscription."},{"title":"Automated agent data lookup","prompt":"My agent needs to query fly.ai for a one-off AI answer about token liquidity for address 0xDEF456... — just pay the 3-cent fee per call and return the response."},{"title":"Developer testing pay-per-use AI","prompt":"Send a test question to the fly.ai x402 endpoint using wallet 0x789GHI... and charge the $0.03 USDC fee, I want to see how the pay-per-request model works before building it into my app."}],"resultDescription":"A single AI-generated text answer returned after successful x402 micropayment authorization; the agent receives the answer payload in the response body after the $0.03 USDC charge is processed.","failureModes":["Payment not authorized — x402 payment header missing or invalid, returns 402 Payment Required","Insufficient USDC balance — wallet lacks funds, transaction rejected","Invalid or malformed address parameter in URL path — returns 400 Bad Request","Network or provider downtime on fly.dev infrastructure — returns 5xx error","Rate limiting or abuse detection — request rejected without charge"],"whenToPreferThis":"Choose this endpoint when you need single, one-off AI-generated answers without committing to a subscription, and when you are operating in a context where x402 micropayment support is available. Ideal for agents that need occasional AI lookups billed per-use in USDC, or for developers testing pay-per-request AI economics on-chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:34:54.338Z","isFirstParty":false,"canonicalSlug":"fly-ai-pay-per-request-token-api-08d6c994"}