{"uid":"cap_KU72bxxd4nRJ0jUMGBicE","slug":"orchard-data-chat-completions-4538c8b0","name":"Orchard Data Chat Completions","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/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-oss-120b","llama-3.3-70b","qwen3-30b","gemma-4-26b"],"type":"string","description":"Default gpt-oss-120b"},"messages":{"type":"array","description":"OpenAI-style [{role, content}]"},"max_tokens":{"type":"number","description":"Up to 1024"},"temperature":{"type":"number"}}},"responseSchema":{"type":"json","example":{"model":"gpt-oss-120b","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"x402 lets clients pay for HTTP resources per request with stablecoins."},"finish_reason":"stop"}]}},"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_KaeOxZ2YCaZmU5-Eat-A9","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":"Runs LLM chat completions (GPT, Llama, Qwen, Gemma) with built-in agent tools (web-read, email-verify, token-check) via x402 per-call USDC micropayment on Base.","exampleAgentPrompt":"Ask the orchard-data LLM endpoint using llama-3.3-70b with up to 512 tokens: 'What is x402 and how does per-request stablecoin payment work for AI agents?' — pay per call with USDC on Base.","exampleUseCases":[{"title":"LLM answer with web-read tool","prompt":"Use the orchard-data chat completions API with the gpt-oss-120b model to look up today's ETH price from the web and summarize it in one sentence — keep it under 200 tokens."},{"title":"Email validity check via AI agent","prompt":"I need to verify whether 'user@example.com' is a real deliverable email address — use the orchard-data agent endpoint with qwen3-30b to run the email-verify tool on it."},{"title":"Crypto token info lookup","prompt":"Use the orchard-data Llama model to run a token-check on the USDC contract address on Base and give me the token name, symbol, and current supply — use llama-3.3-70b and limit to 300 tokens."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object with the model name, a choices array containing the assistant's message and finish_reason, and an object type field. The assistant content may include results from built-in tools like web-read, email-verify, or token-check if invoked.","failureModes":["402 Payment Required if x402 USDC payment is missing or insufficient","400 Bad Request if messages array is empty or malformed","model not found error if an unsupported model enum value is passed","max_tokens exceeds 1024 — request rejected or truncated","rate limiting or worker timeout on Cloudflare edge","tool call failure (e.g. web-read timeout, email-verify DNS failure)"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call LLM chat completion that also provides built-in agent tools (web browsing, email verification, token checking) without managing your own infrastructure, and you want to pay with USDC micropayments via x402 on Base rather than a subscription API key. Ideal for agentic workflows where the agent needs to both reason and take real-world lookups in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T15:35:14.379Z","isFirstParty":false,"canonicalSlug":"orchard-data-chat-completions-4538c8b0"}