# AllTheBot x402 API Recommender

> AllTheBot x402 API Recommender is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-29).

Recommends the best x402 paid API endpoints to call based on a plain-language description of what you need, including URL, price, uptime, latency, and risk flags.

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/quality/recommend?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-x402-api-recommender-6a0775ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ympW1oRZt8TtmvhzJCZ0B

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 allthebot-x402-api-recommender-6a0775ef
```

Example prompt: I need to fetch live token prices — can you find me the best x402 paid API for that, showing up to 3 results and only options under $0.02 per call?

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which x402 paid API to call for a given task, especially when cost, uptime, and latency matter. Prefer this over static API directories when you need live-probed metrics (refreshed every 6 hours), real buyer verification, and risk flags — rather than self-reported marketing claims.

## Known failure modes

- No matching endpoints found for the described need — returns empty results
- 'need' query parameter missing — returns validation error
- 'limit' exceeds maximum of 5 or is less than 1 — returns schema validation error
- 'max_price_usdc' is zero or negative — rejected by exclusiveMinimum constraint
- Payment of $0.008 USDC not fulfilled — returns HTTP 402 payment required

## How this service works

Which x402 API should I call? Describe your need in plain words (weather forecast, token price, web search, translate...) and get the best paid endpoints to call: URL, method, price, measured uptime (7/30 days), latency, real buyers, risk flags and a market price summary. Pre-payment API verification and x402 endpoint discovery, probed every 6 h. No AI, verifiable numbers.

## Output

A ranked list of up to 5 x402 API endpoints matching the described need, each with URL, HTTP method, price in USDC, 7-day and 30-day uptime percentages, median latency, number of real buyers, risk flags, and a market price summary across comparable endpoints.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "need"
     ],
     "properties": {
      "need": {
       "type": "string",
       "maxLength": 150
      },
      "limit": {
       "type": "integer",
       "maximum": 5,
       "minimum": 1
      },
      "max_price_usdc": {
       "type": "number",
       "exclusiveMinimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-x402-api-recommender-6a0775ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
