# x402 AI Ask — Utility & Data APIs

> x402 AI Ask — Utility & Data APIs is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Natural-language gateway to micro-utilities (base64, hashing, UUIDs, time, IP echo) and live data searches (SOL prices, GitHub, npm, Wikipedia, arXiv, SEC, Hacker News, geo, PyPI, FDA, NPI/DEA) paid per-call in USDC via x402

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/ai/ask?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ai-ask-utility-data-apis-990e2e37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s1B9wzjq2b3JbdYk9XRLb

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 x402-ai-ask-utility-data-apis-990e2e37
```

Example prompt: Search for recent GitHub repositories about zero-knowledge proofs, return just the name and URL for each result — and also tell me the current SOL price spread across venues.

## When to prefer this

Choose this endpoint when you need a single pay-per-call gateway covering a wide range of micro-utilities and live data lookups without managing separate API keys for each provider — especially useful for agents that need occasional, ad-hoc access to utilities, healthcare provider verification, academic search, or crypto pricing without subscription overhead. Ideal when you want micropayment billing via USDC on Base or Solana rather than traditional API key billing.

## Known failure modes

- Payment not provided or insufficient USDC — returns HTTP 402 requiring x402 payment header
- Prompt too vague or ambiguous — returns generic or empty response
- Requested data source unavailable or rate-limited — partial or error response
- NPI/DEA number not found in registry — returns not-found indicator
- Invalid base64 or hash input — returns error message
- Network timeout on external data source — delayed or failed response

## How this service works

66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.

## Output

A JSON object containing the answer to the prompt, shaped by the requested fields if specified — could be utility output (encoded string, hash, UUID, timestamp, IP), search results (list of matching records with relevant metadata), price data (venue-level SOL spread), or verification status (NPI/DEA record fields).

## 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": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "Requires a text string prompt for the LLM"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ai-ask-utility-data-apis-990e2e37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
