readfetch.com
Extract text from a PDF (%PDF- magic, not Content-Type). Send exactly one of `url` (public http(s) link — egress GET, ≤ 20 MB) or `content_base64` (bytes you already have — the whole request body is capped at 1 MiB, base64 expansion included; optional `filename` labels the upload). Returns `pages` (per-page text), one concatenated `markdown` body, `title`, and `metadata`; $0.005 per document, not per page. `max_pages` limits extraction (default 50, max 200); documents over 20
Offering
- Provider
- readfetch.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Other
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://readfetch.com/v1/pdf- MIME type
- application/json
- First seen
- 2026-11-01T15:05:36.808Z
- Last seen
- Tags
- Data, document text, markdown, metadata, page text, pdf
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"payTo": "0x26C2308aDC8fe5FFE6d4183588DD2DD22ed86071"
}
]Observed health
- Status
- Healthy
- Latest latency
- 292 ms
- Average latency
- 494 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 10 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"properties": {
"body": {
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"content_base64"
]
}
],
"properties": {
"content_base64": {
"description": "Base64-encoded PDF bytes. The request body is capped at 1 MiB total — base64 expansion comes out of that, it does not add to it (~0.75 MB of PDF). Mutually exclusive with url; pair with filename when the label matters.",
"type": "string"
},
"filename": {
"description": "Optional label when using content_base64 (default upload.pdf); ignored for url-only requests.",
"type": "string"
},
"max_pages": {
"default": 50,
"description": "Extract at most this many pages. Default 50; raise up to 200 when the document is longer. Over cap → 413, unbilled.",
"maximum": 200,
"minimum": 1,
"type": "number"
},
"url": {
"description": "Public PDF URL; fetched through egress (≤ 20 MB). Mutually exclusive with content_base64.",
"example": "https://example.com/paper.pdf",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"bodyType": {
"const": "json"
},
"method": {
"enum": [
"POST"
]
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"body"
],
"type": "object"
}Output schema
{
"properties": {
"billed": {
"type": "boolean"
},
"content_sha256": {
"type": "string"
},
"hint": {
"type": [
"string",
"null"
]
},
"markdown": {
"type": "string"
},
"metadata": {
"properties": {
"author": {
"type": "string"
},
"created": {
"type": "string"
},
"producer": {
"type": "string"
}
},
"type": "object"
},
"page_count": {
"type": "integer"
},
"pages": {
"items": {
"properties": {
"page": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"source": {
"format": "uri",
"type": "string"
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
}