# Genesis Token Labs Web Extract API

> Genesis Token Labs Web Extract API is a paid API for AI agents from api.genesistokenlabs.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Fetches any web page and returns clean, LLM-ready markdown with title and word count, stripping ads, navigation, and scripts

## Facts

- Endpoint: GET https://api.genesistokenlabs.com/x402/v1/web-extract?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/genesis-token-labs-web-extract-api-3ab0e7b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MLRKbM5Xw0HNc0LUqa65Y

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 genesis-token-labs-web-extract-api-3ab0e7b8
```

Example prompt: Can you fetch the article at https://techcrunch.com/2024/05/01/openai-raises-funding/ and give me the clean, readable text as markdown so I can summarize it?

## When to prefer this

Choose this endpoint when you need a fast, cheap, single-URL web page extraction that returns clean LLM-ready markdown — ideal for RAG ingestion, summarization, or research pipelines where you want to avoid parsing raw HTML yourself. It costs $0.005 USDC per call via x402, making it suitable for per-request agent workflows. Prefer alternatives if you need full-site crawling, JavaScript rendering guarantees, or structured data extraction beyond plain markdown.

## Known failure modes

- URL is inaccessible or returns a non-200 status — endpoint may return an error or empty markdown
- Paywalled or login-gated pages may return minimal or no content
- Dynamically rendered JavaScript-heavy pages may produce incomplete markdown if JS is not executed
- Invalid or malformed URL input returns a validation error
- Payment not processed (402) if x402 header is missing or USDC balance is insufficient

## How this service works

Use when an agent needs any web page as clean LLM-ready markdown (no ads, nav, or scripts) for RAG, research, or summarizing. Example input: GET /x402/v1/web-extract?url=https://example.com/article. Example output: {"url":"https://example.com/article","title":"…","markdown":"# Title\n\nBody text…","wordCount":812}

## Output

Returns a JSON object with the original URL, the page title, the full body content as clean markdown (ads, nav, and scripts removed), and a word count integer. Example: {"url":"https://example.com/article","title":"Article Title","markdown":"# Title\n\nBody text…","wordCount":812}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/genesis-token-labs-web-extract-api-3ab0e7b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.genesistokenlabs.com](https://www.zero.xyz/host/api.genesistokenlabs.com/llms.txt)
