{"uid":"cap_kLSPE4EEjYjOqBj0AHtd5","slug":"orchard-data-ask-endpoint-d35501cd","name":"Orchard Data Ask Endpoint","description":"Market data and agent tools (web-read, email-verify, token-check) for AI agents, paid per-call via x402 (USDC on Base). Free index at /, free spec here.","url":"https://orchard-data.letom1176.workers.dev/api/ask?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Your question"},"model":{"type":"string","description":"gpt-oss-120b | llama-3.3-70b | qwen3-30b | gemma-4-26b"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"model":"gpt-oss-120b","answer":"An HTTP-native payment protocol: a server answers 402 with a price and the client pays per request in stablecoins.","question":"What is x402?"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Twu9ILaVr8stigCyYNQwR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers natural language questions using selectable LLMs (GPT, Llama, Qwen, Gemma), paid per-call via x402 micropayments in USDC on Base","exampleAgentPrompt":"Ask the orchard-data AI endpoint what x402 is, using the gpt-oss-120b model — I want a clear explanation back.","exampleUseCases":[{"title":"On-demand LLM answers for agent pipelines","prompt":"Ask the orchard-data /api/ask endpoint 'What is the current inflation rate in the US?' using the llama-3.3-70b model and return the answer to me."},{"title":"Cheap per-call question answering","prompt":"I want to query an AI without paying for a subscription — use the orchard-data ask API with gemma-4-26b to answer: 'What are the main differences between proof-of-work and proof-of-stake?'"},{"title":"Multi-model comparison for a research question","prompt":"Use orchard-data to ask 'What is x402 and how does it enable AI agent payments?' with qwen3-30b, and show me the model name and full answer it returns."}],"resultDescription":"A JSON object containing the model name used, the original question echoed back, and the AI-generated answer as a string — e.g. {\"model\":\"gpt-oss-120b\",\"question\":\"...\",\"answer\":\"...\"}","failureModes":["402 Payment Required if USDC payment not provided via x402 protocol","Invalid model name returns an error or falls back to default model","Missing required 'q' query parameter causes a 400 Bad Request","Network timeout if the selected LLM takes too long to respond","Unsupported or malformed query parameter structure returns schema validation error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call LLM question answering without a subscription, especially in agentic pipelines that use x402 micropayments in USDC on Base. It is ideal when you want to select from multiple open and commercial models (GPT, Llama, Qwen, Gemma) on a per-request basis at $0.001 per call. Prefer it over traditional LLM APIs when you need ultra-low-cost, on-demand inference with stablecoin payment rails already integrated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:33:27.591Z","isFirstParty":false,"canonicalSlug":"orchard-data-ask-endpoint-d35501cd"}