# SharpAPI Web Scraping API

> SharpAPI Web Scraping API is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.4125/call, status unknown (last checked 2026-09-13).

Fetches a given URL and returns extracted page content, metadata, and a scrape timestamp

## Facts

- Endpoint: GET https://gateway.apiosk.com/apyhub-sharpapi-web-scraping-api/sharpapi/api/v1/utilities/scrape_url/
- Price: $0.4125/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sharpapi-web-scraping-api-06030768
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lUT0y5zkdKS9mZMdpa_uS

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 sharpapi-web-scraping-api-06030768
```

Example prompt: Can you scrape the page at https://example.com/blog/top-10-tips and give me the extracted content and metadata?

## When to prefer this

Use this endpoint when you need to quickly fetch and extract the raw content and metadata of a single web page given its URL, especially in automated agent workflows where paying per-call via x402 is acceptable. Prefer this over browser-based scraping tools when you need a lightweight, serverless solution without managing headless browsers.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — scrape fails with an error response
- URL is behind a login wall or CAPTCHA — content may be inaccessible or incomplete
- Malformed or missing url query parameter — API returns a 400 bad request error
- Target page blocks automated scrapers (bot detection) — returns empty or partial content
- Payment not processed correctly — API returns 402 Payment Required

## How this service works

Fetches and scrapes the URL provided in the `url` query parameter, then returns the original URL, the scrape timestamp, and a `scraped_data` object containing extracted page content and metadata.

## Output

Returns a JSON object with the original URL, a scrape timestamp, and a scraped_data object containing the extracted page content and metadata such as title, description, and other on-page elements.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sharpapi-web-scraping-api-06030768/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)
