# Fetchgate X402 API Search

> Fetchgate X402 API Search is a paid API for AI agents from fetchgate.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Search the Fetchgate catalog of paid API endpoints by natural-language query to discover resources, pricing, and usage stats

## Facts

- Endpoint: GET https://fetchgate.dev/v1/x402/search?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fetchgate-x402-api-search-05d5f4a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hBrYx4aEKfcYeviTKjFb_

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 fetchgate-x402-api-search-05d5f4a3
```

Example prompt: Search the Fetchgate catalog for APIs that do web scraping — show me what's available, how much each costs, and how many people have been using them lately.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically discover and compare paid API capabilities available on Fetchgate, especially when evaluating options by cost or popularity before committing to a call. Prefer this over browsing a web UI when the agent needs machine-readable results to make routing decisions.

## Known failure modes

- Missing required 'q' query parameter returns a validation error
- Empty or overly broad queries may return zero results
- Very niche queries with no catalog matches return totalMatches: 0 with empty results array
- Network timeouts on slow catalog lookups
- Payment of $0.005 USDC required per call via x402 — missing or invalid payment header results in 402 response

## How this service works

Search x402 paid APIs that are live and actually bought: only endpoints that answered a real x402 challenge and had repeat, multi-payer settled demand in the last 30 days. Use to find a working paid API for a task without wading through dead and farmed listings.

## Output

A JSON object containing the search query echoed back, a list of matching API resources each with their URL, minimum price in USD, 30-day call count, and unique payer count, plus a total match count.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "What the API should do, in a few words."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "web search",
  "results": [
   {
    "calls30d": 1200,
    "resource": "https://api.example.com/search",
    "minPriceUsd": 0.01,
    "uniquePayers30d": 40
   }
  ],
  "totalMatches": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fetchgate-x402-api-search-05d5f4a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fetchgate.dev](https://www.zero.xyz/host/fetchgate.dev/llms.txt)
