# PayForAPI Web Search — Global AI Agent Search (OneShot)

> PayForAPI Web Search — Global AI Agent Search (OneShot) is a paid API for AI agents from funding.payforapi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Performs a global web search query and returns results, powered by the OneShot upstream provider, for use by AI agents

## Facts

- Endpoint: POST https://funding.payforapi.com/web-search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payforapi-web-search-global-ai-agent-search-oneshot-14ae1b30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iMYXN9yTtD6G6_0xfWr_B

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 payforapi-web-search-global-ai-agent-search-oneshot-14ae1b30 -d '<json body>'
```

Example prompt: Search the web for the latest news on OpenAI's newest model releases and summarize what you find.

## When to prefer this

Choose this endpoint when your agent needs live, real-time web search results that go beyond static training data — especially for current events, recent news, live prices, or any query requiring up-to-date information from across the web. It is part of PayForAPI's resale suite and is backed by the OneShot upstream provider, making it suitable for AI agent pipelines that need pay-per-query web access at low cost ($0.01 per call).

## Known failure modes

- Empty or vague query may return no useful results
- Query about very niche or obscure topics may yield poor-quality results
- Upstream OneShot provider outage could cause failed or degraded responses
- Rate limits or payment failure ($0.01 USDC per call) may cause request rejection
- Malformed input object may result in a 400 error or empty response

## How this service works

Pay-per-call data services for AI agents, settled in USDC on Base via x402 (HTTP 402). No account, no API key. [Платные данные для ИИ-агентов по x402, без аккаунта и ключа.]

## Output

Returns a structured object containing web search results for the given query, including page titles, URLs, and text snippets from relevant pages found across the global web.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "query"
   ],
   "properties": {
    "limit": {
     "type": [
      "string",
      "array",
      "integer"
     ],
     "description": "Max results (1-100)"
    },
    "query": {
     "type": [
      "string",
      "array",
      "integer"
     ],
     "description": "Search query"
    },
    "numResults": {
     "type": [
      "string",
      "array",
      "integer"
     ],
     "description": "Number of results (1-100)"
    },
    "max_results": {
     "type": [
      "string",
      "array",
      "integer"
     ],
     "description": "max_results"
    },
    "num_results": {
     "type": [
      "string",
      "array",
      "integer"
     ],
     "description": "num_results"
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "x402 micropayments for AI agents",
  "results": [
   {
    "url": "https://example.com",
    "title": "Example result",
    "snippet": "…"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payforapi-web-search-global-ai-agent-search-oneshot-14ae1b30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from funding.payforapi.com](https://www.zero.xyz/host/funding.payforapi.com/llms.txt)
