{"uid":"cap_3vIVuFmrL_daatyTWqYee","slug":"fly-ai-pay-per-request-brain-api-3c7fa318","name":"fly.ai Pay-Per-Request Brain 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/brain?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"integer"},"sense":{"type":"string"},"message":{"type":"string"}}},"responseSchema":{},"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_nSiSeD3Ht1plUsNTtaoXP","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":"Answers a single natural language question or prompt via AI, billed per-request at $0.05 USDC over x402","exampleAgentPrompt":"Ask fly.ai's brain a question for me — use seed 42 and the message 'What are the three most important things to know about compound interest?' with sense set to 'finance'.","exampleUseCases":[{"title":"One-off factual question answering","prompt":"I just need a quick AI answer to a single question — ask fly.ai's brain with message 'What causes auroras?' using seed 7 and sense 'science'."},{"title":"Seeded reproducible AI response","prompt":"Get me a reproducible AI answer from fly.ai's brain with seed 100, sense 'creative', and message 'Give me a one-paragraph story about a robot learning to paint.'"},{"title":"Domain-specific single query","prompt":"Use fly.ai's brain to answer this legal question — message 'What is the difference between a trademark and a copyright?', sense 'legal', seed 0."}],"resultDescription":"A text response from the AI answering the provided message, shaped by the sense context and optionally seeded for reproducibility. The response schema is open-ended, returning whatever the AI generates for the given prompt.","failureModes":["Payment not sent or insufficient USDC causes 402 Payment Required response","Missing or malformed 'message' parameter results in an error or empty response","Invalid seed value (non-integer) may cause a bad request error","Network or server unavailability on fly.dev returns 5xx errors","Ambiguous or unsupported 'sense' value may produce unexpected output style"],"whenToPreferThis":"Choose this endpoint when you need a single, ad-hoc AI-generated answer without a subscription, especially in micropayment or x402-compatible agent pipelines. Ideal for agents that need to pay only for what they use and want per-query billing in USDC. Prefer it over subscription-based LLM APIs when cost isolation per question is important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:40:48.852Z","isFirstParty":false,"canonicalSlug":"fly-ai-pay-per-request-brain-api-3c7fa318"}