# Pyfile x402 Web Search API

> Pyfile x402 Web Search API is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net:10000, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Returns ranked web search results (title + URL) for a given query string, billed per call via x402 micropayments.

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net:10000/web/search?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pyfile-x402-web-search-api-12ebe2dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_82KmIGCLYwqwTJeGtPId9

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 pyfile-x402-web-search-api-12ebe2dc
```

Example prompt: Search the web for 'x402 agent payments' and give me the top 8 results with their titles and URLs.

## When to prefer this

Choose this endpoint when you need lightweight, ranked web search results (title + URL only) delivered programmatically with per-call micropayment billing via x402, especially in autonomous agent workflows where a full browser or heavy scraping stack is unnecessary and cost control per query matters.

## Known failure modes

- Missing or empty query parameter returns an error or empty results
- Limit parameter out of range may be ignored or cause a 400 error
- Network or upstream search provider outage results in a 5xx error
- Payment failure via x402 prevents the call from completing
- Query too long or malformed may result in a bad request error

## How this service works

Web search: ranked results (title + url) for a query. ?q=x402+agent+payments&limit=8

## Output

A JSON object containing the original query string, the count of results returned, the upstream search provider name, and an array of ranked results each with a 'title' (string) and 'url' (string).

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string"
      },
      "limit": {
       "type": "number"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json",
     "description": "Output payload format."
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "count",
      "results"
     ],
     "properties": {
      "count": {
       "type": "integer",
       "description": "Number of results returned."
      },
      "query": {
       "type": "string",
       "description": "The search query that was run."
      },
      "source": {
       "type": "string",
       "description": "Upstream search provider."
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "title",
         "url"
        ],
        "properties": {
         "url": {
          "type": "string"
         },
         "title": {
          "type": "string"
         }
        }
       },
       "description": "Ranked results, each with a title and url."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pyfile-x402-web-search-api-12ebe2dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net:10000](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net%3A10000/llms.txt)
