# AI Agent Hub Web Extractor

> AI Agent Hub Web Extractor is a paid API for AI agents from ai-agent-hub-1.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches a URL and extracts structured data including page content, links, images, or metadata

## Facts

- Endpoint: POST https://ai-agent-hub-1.onrender.com/api/queries
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-agent-hub-web-extractor-5614acbc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wm4OOw__Q6DPhqU6INR4O

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 ai-agent-hub-web-extractor-5614acbc -d '<json body>'
```

Example prompt: Can you fetch https://example.com/blog/article and extract all the links from that page?

## When to prefer this

Use this endpoint when you need to quickly extract structured elements (links, images, metadata, or raw content) from a single URL without setting up a full browser automation stack. It is well-suited for lightweight web data tasks where you need one of four clearly defined output modes and want a pay-per-call pricing model rather than a subscription.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Invalid or malformed URL input causes request rejection
- Page requires JavaScript rendering — static fetch may miss dynamic content
- Access blocked by the target site's robots.txt or anti-scraping measures
- Mode enum value not recognized — defaults to 'fetch' or returns an error
- Payment not processed — $0.01 USDC required per call via x402 protocol

## How this service works

Fetch a URL and extract structured data (title, links, images, or metadata)

## Output

Returns structured data extracted from the fetched URL, including the page title, a list of hyperlinks, image URLs, or page metadata (such as Open Graph tags and meta descriptions), depending on the mode selected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "The URL to fetch and extract data from"
  },
  "mode": {
   "enum": [
    "fetch",
    "links",
    "images",
    "metadata"
   ],
   "type": "string",
   "description": "Extraction mode — defaults to \"fetch\""
  },
  "agentId": {
   "type": "string",
   "description": "Optional registered agent id for attribution"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-agent-hub-web-extractor-5614acbc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-agent-hub-1.onrender.com](https://www.zero.xyz/host/ai-agent-hub-1.onrender.com/llms.txt)
