# PennyRail Web Search

> PennyRail Web Search is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Executes a web search query and returns results via a paid x402 micropayment-gated API endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/premium/web.search--web-search
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-web-search-60321db1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kD83BmZX_T1hw73SDNKkk

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 pennyrail-web-search-60321db1 -d '<json body>'
```

Example prompt: Search the web for the latest news on OpenAI's new model releases and bring back the top results with titles and links.

## When to prefer this

Choose this endpoint when an AI agent needs live, up-to-date web search results and is operating in an x402 micropayment environment. It is well-suited for agents that need to retrieve current information beyond their training cutoff, verify facts with fresh sources, or find URLs and content about a topic in real time. Prefer it when you are already integrated with x402 payment infrastructure and need search as a pay-per-call utility.

## Known failure modes

- Payment not included or insufficient USDC — 402 Payment Required response
- Malformed input object — missing required 'input' field returns validation error
- Query too broad or empty — may return empty or low-quality results
- Rate limiting or upstream search provider errors — 429 or 503 responses
- Network timeout if the search provider is slow to respond

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing web search results, typically including page titles, URLs, and text snippets from the top matching web pages for the given query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-web-search-60321db1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
