Web scraping: pages to clean text or Markdown
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Web scraping of one to five public URLs in one call: each page's clean text (or Markdown with format=markdown), title, author and published date where the page declares them, up to 20,000 characters a page (default 4,000). Static HTML, Markdown and plain text; no JavaScript rendering and no crawling of links. Use when an agent needs the readable content of a web page for a summary, RAG index or research task. No account, pay per call over x402.
Inputs
| Name | Type | Description |
|---|---|---|
urls (required) | string | One to five page URLs: comma-separated, one per line, or a JSON array |
maxChars | string | Characters per page, 500 to 20000 (default 4000) |
format | string | text (default) or markdown |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/web/scraping?urls=https%3A%2F%2Fexample.com%2Chttps%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains"
Node.js
const r = await fetch("https://glyphtools.com/web/scraping?urls=https%3A%2F%2Fexample.com%2Chttps%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/web/scraping?urls=https%3A%2F%2Fexample.com%2Chttps%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/web/scraping?urls=https%3A%2F%2Fexample.com%2Chttps%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"results": [
{
"id": "https://example.com",
"url": "https://example.com/",
"title": "Example Domain",
"author": null,
"publishedDate": null,
"text": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.",
"textLength": 156,
"truncated": false,
"lang": "en"
}
],
"statuses": [
{
"id": "https://example.com",
"status": "success"
},
{
"id": "https://www.iana.org/help/example-domains",
"status": "success"
}
],
"requested": 2,
"read": 2
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is web_scraping, and the first 10 successful calls are free:
https://glyphtools.com/mcp