# gateway.apiosk.com Web Extraction: Page to Agent JSON

> gateway.apiosk.com Web Extraction: Page to Agent JSON is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.07/call, status unknown (last checked 2026-09-14).

Fetches a web page and extracts structured agent-friendly data including summary, links, prices, contacts, and entities

## Facts

- Endpoint: POST https://gateway.apiosk.com/web-extraction/page-to-agent-json
- Price: $0.07/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway-apiosk-com-web-extraction-page-to-agent-json-0eaefec7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NKw_BFlVRDo1cZWfOuOVj

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 gateway-apiosk-com-web-extraction-page-to-agent-json-0eaefec7 -d '<json body>'
```

Example prompt: Can you pull the structured data from this page — https://www.acmecorp.com/pricing — and give me the title, a summary, any prices listed, and contact emails you find on it?

## When to prefer this

Choose this endpoint when you need an AI-agent-friendly structured JSON representation of a single web page, especially when you need a combination of summary, links, prices, contacts, and named entities in one call. Prefer this over raw HTML scrapers when you need clean, agent-consumable output without post-processing.

## Known failure modes

- Invalid or unreachable URL returns an error or empty fields
- Paywalled or JavaScript-heavy pages may yield incomplete extraction
- Rate limiting or network timeouts may cause request failures
- Pages with no structured content may return empty prices, contacts, or entities arrays
- Non-public or authentication-gated URLs will fail to extract content

## How this service works

One combined, agent-readable summary of a page — title, short summary, links, prices and contacts — assembled from a SINGLE fetch (the most economical of the five). entities is [] in v1 (no entity recognition yet).

## Output

Returns a JSON object with the page URL, page title, a short plain-text summary, an array of links found on the page, an array of prices, an array of contact emails, and an array of named entities extracted from the page content.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway-apiosk-com-web-extraction-page-to-agent-json-0eaefec7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
