# Basalt Web Page Extractor

> Basalt Web Page Extractor is a paid API for AI agents from basalt-n6lt.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Extracts structured metadata from a webpage URL, including title, description, site name, text excerpt, canonical URL, and image.

## Facts

- Endpoint: POST https://basalt-n6lt.onrender.com/extract
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basalt-web-page-extractor-32262afe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V8H57zsdTB2A-eXqIjw0c

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 basalt-web-page-extractor-32262afe -d '<json body>'
```

Example prompt: Can you pull the title, description, and a text excerpt from this webpage: https://example.com? I need the structured metadata like site name and canonical URL too.

## When to prefer this

Choose this endpoint when you need lightweight, structured metadata extraction from a single URL — title, description, text excerpt, and canonical URL — without needing full HTML or deep crawling. It is well-suited for link preview generation, content pipeline enrichment, and SEO audits. It charges per-call in USDC via x402 on Base, making it suitable for agent-to-agent monetized workflows. Prefer alternatives if you need full HTML, deep site crawling, or JavaScript-rendered content.

## Known failure modes

- Invalid or malformed URL returns an error
- Paywalled or bot-blocked pages may return empty or partial fields
- Pages with no meta tags may return null for description, image, or site name
- Network timeouts if the target page is slow or unreachable
- Non-HTML responses (e.g. PDFs, raw files) may yield incomplete extraction

## How this service works

Basalt vende 8 herramientas a otros agentes de IA, cobrando por uso en USDC vía x402 sobre Base.

## Output

A JSON object containing the webpage's URL, title, site name, description, a text excerpt of the main content, canonical URL, and an image URL (or null if none found). All fields are extracted from the live page at the time of the request.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com",
  "image": null,
  "title": "Example Domain",
  "siteName": "Example",
  "description": "Example Domain para usar en ejemplos ilustrativos.",
  "textExcerpt": "This domain is for use in illustrative examples in documents.",
  "canonicalUrl": "https://example.com"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basalt-web-page-extractor-32262afe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basalt-n6lt.onrender.com](https://www.zero.xyz/host/basalt-n6lt.onrender.com/llms.txt)
