# Minifetch Keyword Web Search

> Minifetch Keyword Web Search is a paid API for AI agents from minifetch.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Performs a keyword web search and returns ranked results as structured JSON with title, URL, and text snippet per result.

## Facts

- Endpoint: GET https://minifetch.com/api/v1/x402/search/keyword?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minifetch-keyword-web-search-e91a64b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VpV2NX4UcaG914mErdX6b

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 minifetch-keyword-web-search-e91a64b8
```

Example prompt: Search the web for 'open source LLM benchmarks' and give me the top 5 results with a short snippet for each (around 200 characters per description).

## When to prefer this

Use this endpoint when you need a fast, structured, token-efficient web search result set — especially as the discovery step before deeper extraction with Minifetch's /extract endpoints. Prefer it over general-purpose scraping when you want ranked search results (not a single known URL), and when cost efficiency matters ($0.002 per call). It is the right choice for RAG pipelines that need to identify the most relevant pages before fetching full content.

## Known failure modes

- Query exceeds 50 characters — request rejected or truncated
- Invalid or missing `query` parameter — API returns an error
- Payment failure via x402 protocol — request not processed
- Limit or descriptionLength out of range — clamped silently to nearest bound
- No results found for obscure or misspelled queries — empty results array returned

## How this service works

Keyword web search by Ceramic.ai that returns ranked results as structured JSON: a title, URL, and text snippet per result. The discovery entry point for agents and RAG pipelines: search to find relevant pages, then go deeper on any result with /preflight/url-check and then the paid /extract endpoints. Pay-per-search. Use ?limit= to cap results (1-10) and ?descriptionLength= to trim each snippet (0 = titles and URLs only) for desired token efficiency. Supports GET & POST

## Output

A JSON object with a `success` boolean and a `results` array. Each result contains a `data` object with `url` (the page URL), `title` (the page title), and `description` (a text snippet trimmed to the requested descriptionLength). Up to 10 results are returned, ranked by relevance.

## 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": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Optional. Number of results to return, 1-10. Default 10. Out-of-range values are clamped to the nearest bound; unparseable input falls back to the default."
      },
      "query": {
       "type": "string",
       "description": "Keyword(s) to search for. Max 50 characters."
      },
      "descriptionLength": {
       "type": "integer",
       "description": "Optional. Max characters of each result's description, 0-5000 (0 = titles/URLs only). Default 750. Out-of-range values are clamped to the nearest bound; unparseable input falls back to the default."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "data": {
          "type": "object",
          "properties": {
           "url": {
            "type": "string",
            "description": "Result page URL"
           },
           "title": {
            "type": "string",
            "description": "Result page title"
           },
           "description": {
            "type": "string",
            "description": "Text snippet from the result page, trimmed to the requested descriptionLength"
           }
          },
          "description": "A single search result."
         }
        }
       },
       "description": "Up to `limit` results; the example shows one."
      },
      "success": {
       "type": "boolean"
      },
      "queryParameters": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minifetch-keyword-web-search-e91a64b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minifetch.com](https://www.zero.xyz/host/minifetch.com/llms.txt)
