{"uid":"cap_pVpWzx66fzI1j3vxqc26I","slug":"fly-ai-pay-per-request-market-api-7b468653","name":"fly.ai Pay-Per-Request Market 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/market/%7Bref%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uEyCFKykmKACmjo-WjBOC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a POST request to a specific market reference endpoint and returns a single AI-generated answer, billed at $0.05 USDC per call via x402 micropayment protocol.","exampleAgentPrompt":"Ask fly.ai's market endpoint for ref 'weather-summary' what the typical climate is like in Lisbon in October — this is a pay-per-request call so it will charge $0.05 USDC via x402.","exampleUseCases":[{"title":"On-demand market research answer","prompt":"Use fly.ai's pay-per-request API with market ref 'market-trends' to ask: what are the top e-commerce growth trends in Southeast Asia in 2024? Charge the $0.05 USDC fee via x402."},{"title":"Single-question product lookup","prompt":"Query fly.ai market ref 'product-specs' to get a quick answer about the battery life specs of the latest MacBook Pro — pay the per-request fee from my USDC wallet."},{"title":"One-off financial data question","prompt":"Hit fly.ai's market endpoint for ref 'finance-brief' and ask what the current yield on 10-year US Treasury bonds is — it's a single paid query at $0.05 USDC."}],"resultDescription":"A single AI-generated text answer corresponding to the submitted query for the given market reference, returned after successful x402 micropayment processing at $0.05 USDC per call.","failureModes":["402 Payment Required if x402 payment header is missing or invalid","Invalid or unknown market reference {ref} resulting in 404 Not Found","Malformed request body causing 400 Bad Request","Payment processing failure or insufficient USDC balance","Timeout if the AI model takes too long to generate the answer","Rate limiting if too many requests are submitted in a short window"],"whenToPreferThis":"Choose this endpoint when you need a single, on-demand AI-generated answer billed per request via x402 micropayments in USDC, without a subscription or API key — ideal for agents that want pay-as-you-go AI access with crypto-native billing and no upfront commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:37:57.930Z","isFirstParty":false,"canonicalSlug":"fly-ai-pay-per-request-market-api-7b468653"}