# TaskFleet Web Search API

> TaskFleet Web Search API is a paid API for AI agents from taskfleet.net, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Searches the web and returns clean ranked JSON results (title, URL, snippet) with optional cited answer, using Serper with automatic Brave failover and cross-provider deduplication.

## Facts

- Endpoint: POST https://taskfleet.net/search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/taskfleet-web-search-api-58863e1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2oNmQMbXJ4fka0OZkZazT

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 taskfleet-web-search-api-58863e1b -d '<json body>'
```

Example prompt: Search the web for 'best open-source LLM frameworks in 2025' and give me the top 10 results with a cited answer summarizing the findings.

## When to prefer this

Choose this endpoint when you need clean, ranked, deduplicated web search results in structured JSON for agent consumption, especially when you want automatic failover between Serper and Brave to maximize reliability, or when you need a cited synthesized answer alongside raw results. Prefer this over raw search APIs when cross-provider deduplication and consistent JSON formatting matter.

## Known failure modes

- Query too vague or empty — returns empty results array
- Both Serper and Brave APIs unavailable — service error response
- num parameter out of range (below 1 or above 20) — validation error
- Rate limit or payment failure — 402 or 429 error
- Query triggers content filtering — no results returned

## How this service works

Web search API — search the web and get clean ranked JSON results (title, url, snippet) via Serper with automatic Brave failover and cross-provider dedup. Optional cited answer. Input: { query, num? (1-20), answer? (bool) }.

## Output

A ranked JSON array of up to 20 search results, each containing a title, URL, and snippet, deduplicated across Serper and Brave providers. If the answer flag is true, also includes a cited synthesized answer derived from the top results.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "query"
     ],
     "properties": {
      "num": {
       "type": "integer",
       "description": "Number of results, 1-20 (default 10)"
      },
      "query": {
       "type": "string",
       "description": "Search query (max 400 chars)"
      },
      "answer": {
       "type": "boolean",
       "description": "If true, also return an LLM answer citing the results"
      },
      "recency": {
       "type": "string",
       "description": "Restrict to recent results: day | week | month | year"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/taskfleet-web-search-api-58863e1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from taskfleet.net](https://www.zero.xyz/host/taskfleet.net/llms.txt)
