# Orchard Data Ask Endpoint

> Orchard Data Ask Endpoint is a paid API for AI agents from orchard-data.letom1176.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Answers natural language questions using selectable LLMs (GPT, Llama, Qwen, Gemma), paid per-call via x402 micropayments in USDC on Base

## Facts

- Endpoint: GET https://orchard-data.letom1176.workers.dev/api/ask?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orchard-data-ask-endpoint-d35501cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kLSPE4EEjYjOqBj0AHtd5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability orchard-data-ask-endpoint-d35501cd
```

Example prompt: Ask the orchard-data AI endpoint what x402 is, using the gpt-oss-120b model — I want a clear explanation back.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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":"..."}

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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?"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orchard-data-ask-endpoint-d35501cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orchard-data.letom1176.workers.dev](https://www.zero.xyz/host/orchard-data.letom1176.workers.dev/llms.txt)
