{"uid":"cap_02UzSi2EysfwjttgSe7yG","slug":"fly-ai-cost-lookup-by-reference-5518374f","name":"fly.ai Cost Lookup by Reference","description":"Single answers, each paid on its own over x402. Guide: https://www.flyaiworld.com/x402-api.md","url":"https://flyai-x402.fly.dev/cost/%7Bref%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"usd":{"type":"number"}}},"responseSchema":{},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C5hDfvoNUUjkUNf5t1qDc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the USD cost associated with a given reference identifier via a pay-per-request x402 API","exampleAgentPrompt":"Look up the cost for reference ID 'abc123' on the fly.ai pay-per-request API — I want to know how much that request cost in USD.","exampleUseCases":[{"title":"Verify cost before paying","prompt":"Before I authorize this payment, can you check what the cost is for reference 'req-9982' on fly.ai so I know the USD amount I'm approving?"},{"title":"Audit past request charges","prompt":"Pull up the cost for reference ID 'txn-44210' from the fly.ai API — I'm reviewing our billing and need to confirm what we were charged."},{"title":"Automated pricing check in workflow","prompt":"As part of my agent workflow, check the cost of reference 'job-7731' on fly.ai and tell me the USD price so I can decide whether to proceed."}],"resultDescription":"Returns cost information in USD for the specified reference identifier, allowing the caller to know the price of a specific request or job on the fly.ai pay-per-request platform.","failureModes":["Invalid or unknown reference ID returns an error or empty response","Missing ref path parameter results in a 400 or 404 error","Payment not made via x402 before calling results in a 402 Payment Required response","Malformed USD input in query may cause a validation error","Service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need to look up the USD cost associated with a specific reference ID on the fly.ai pay-per-request platform, particularly when auditing charges, verifying pricing before payment, or integrating cost checks into an automated workflow that uses x402 micro-payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:39:17.305Z","isFirstParty":false,"canonicalSlug":"fly-ai-cost-lookup-by-reference-5518374f"}