Scrape a web page to Markdown: clean text or Markdown from any URL
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Web scraping API: fetch any public web page URL and get its main content as clean text or Markdown (headings, code blocks, tables and links kept), ready for an LLM, RAG or an agent's context; static HTML, Markdown or text pages, up to 100,000 characters. JavaScript-rendered pages: /extract/rendered. Empty pages, bot walls and errors are never charged. Use to read articles, docs and product pages at scale.
Inputs
| Name | Type | Description |
|---|---|---|
url (required) | string | Absolute http(s) URL of the page to scrape |
maxChars | integer | Maximum characters of body text to return (500-100000, default 20000) |
format | string | Returned representation: text (default), markdown, or both. One of: text, markdown, both. |
section | string | Optional visible HTML ID within the main content, 1-500 characters; a leading # (a docs link's fragment) or a URL ending in #id is accepted, and so is a heading's visible text when exactly one heading matches; leave it out to read the whole page |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/scrape?url=https%3A%2F%2Fexample.com"
Node.js
const r = await fetch("https://glyphtools.com/scrape?url=https%3A%2F%2Fexample.com", {
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/scrape?url=https%3A%2F%2Fexample.com", 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/scrape?url=https%3A%2F%2Fexample.com&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
{
"url": "https://agent-data-tools.revmesh2074.workers.dev/examples/extract/sources/short-article.html",
"finalUrl": "https://agent-data-tools.revmesh2074.workers.dev/examples/extract/sources/short-article.html",
"status": 200,
"contentType": "text/html;charset=utf-8",
"sourceFormat": "html",
"linkBaseUrl": "https://agent-data-tools.revmesh2074.workers.dev/examples/extract/sources/short-article.html",
"sourceMetadata": {
"verification": "not_verified",
"authors": [],
"dates": [],
"truncated": false
},
"title": "Owned sample: short article",
"description": null,
"lang": "en",
"canonical": null,
"headings": [
{
"level": 1,
"text": "A short release note",
"id": null
}
],
"section": null,
"links": [],
"tables": [],
"codeBlocks": [],
"contentSelection": "main",
"warnings": [],
"format": "text",
"text": "A short release note\n\nVersion 1.1.1 preserves literal code whitespace and nested list structure.\n\nThe price remains $0.002 per successful extraction. This is an owned sample, not a purchase receipt.",
"textLength": 198,
"truncated": false,
"contentHash": "sha256:6cd3137dc4735c9ab317c764c78b47712dc9ca8eabe435dd0db9142bdaacbe2c",
"hashFormat": "text",
"fetchedAt": "2026-10-16T11:06:01.780Z"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is scrape, and the first 10 successful calls are free:
https://glyphtools.com/mcp