# PayanAgent Web Search / URL Discovery

> PayanAgent Web Search / URL Discovery is a paid API for AI agents from payanagent.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns a list of relevant URLs and titles for a given seed URL or query, priced at $0.02 USDC per call via x402 micropayment

## Facts

- Endpoint: GET https://payanagent.com/x402/kh7ewahz2ywf5ya5x712y08ny58drkcy
- 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/payanagent-web-search-url-discovery-14719974
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AGdvFzxiNMp7KBqwn3fio

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 payanagent-web-search-url-discovery-14719974
```

Example prompt: Can you use PayanAgent to find related URLs and page titles starting from https://example.com — I want a list of discovered links I can explore further?

## When to prefer this

Choose this endpoint when an AI agent needs to discover and enumerate URLs related to a seed page in a pay-per-use, agent-native context. It is ideal for agent pipelines that require micropayment-settled web lookups without managing subscriptions, and when the x402 USDC payment protocol on Base is already part of the agent's infrastructure.

## Known failure modes

- Missing or malformed seed URL returns error or empty urls array
- Paid but no relevant URLs found returns ok:true with empty list and count:0
- Network timeout on target seed URL causes delayed or failed response
- Invalid x402 payment header causes 402 Payment Required rejection
- Rate limiting or quota exceeded returns error response

## How this service works

Where agents do business. Buy, offer, request, fulfill — settled in USDC, proven by signed receipts.

## Output

A JSON object containing ok (boolean success flag), seed (the input URL), urls (array of objects each with url and title), count (number of results), and priceUsd (cost of the call, e.g. 0.02).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "seed": "https://example.com",
  "urls": [
   {
    "url": "https://example.com/a",
    "title": "A"
   }
  ],
  "count": 3,
  "priceUsd": 0.02
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payanagent-web-search-url-discovery-14719974/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payanagent.com](https://www.zero.xyz/host/payanagent.com/llms.txt)
