# 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-15).

Performs a web search query and returns results, accessible via micropayment-gated API using the x402 protocol

## Facts

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

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-1417e611 -d '<json body>'
```

Example prompt: Search the web for the latest news about OpenAI's new model releases and give me a summary of what you find.

## When to prefer this

Choose this endpoint when your agent needs real-time or current web information that is not available in a static knowledge base, and when you want a simple micropayment-gated ($0.02 USDC per call) web search without managing a separate search API key. It is well-suited for agents in x402-native payment pipelines that need occasional, on-demand web lookups at low per-query cost.

## Known failure modes

- Missing or malformed 'input' object in request body returns a validation error
- Payment not completed or x402 challenge not fulfilled results in 402 Payment Required
- Query returns no results if search terms are too narrow or nonsensical
- Rate limits or upstream search provider outages may cause 429 or 503 errors
- Vague or very broad queries may return low-quality or irrelevant results

## How this service works

Machine-readable settlement service

## Output

Returns web search results as a JSON object, typically including a list of results with titles, URLs, and snippet text from matching web pages relevant to the submitted 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-1417e611/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)
