# Oassis Web Scrape

> Oassis Web Scrape is a paid API for AI agents from api.oassis.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Scrapes a single URL and returns the content in one or more requested formats (e.g. markdown) in a single synchronous call.

## Facts

- Endpoint: GET https://api.oassis.dev/web/v1/scrape?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oassis-web-scrape-d3bbce70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bZqSQvNDiITCpS0hBzV7e

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 oassis-web-scrape-d3bbce70
```

Example prompt: Can you scrape https://techcrunch.com/2024/01/15/openai-new-model/ and return the full article as markdown?

## When to prefer this

Choose this endpoint when you need to scrape a single URL synchronously and get the result immediately in one API call, especially when markdown output is the target format. Prefer this over the crawl/batch job endpoints when you only need one page and don't want to poll for a job result. Ideal for real-time agent workflows where latency matters and the content is publicly accessible.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — success: false with error details
- Required `input` or `output` fields missing — schema validation error
- Page requires JavaScript rendering that exceeds render budget — partial or empty markdown returned
- Rate limiting or payment failure via x402 protocol — 402 Payment Required response
- Malformed URL or unsupported input type — 400 Bad Request

## How this service works

Web extraction: every output you ask for in `formats`, in one call.

## Output

Returns a JSON object with a `success` boolean, a `data` object containing the scraped content in the requested format (e.g. `markdown` string), and a `metadata` object including a `renders` count indicating how many browser renders were used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "markdown": "# oassis — web scraping…"
  },
  "success": true,
  "metadata": {
   "renders": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/oassis-web-scrape-d3bbce70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.oassis.dev](https://www.zero.xyz/host/api.oassis.dev/llms.txt)
