Extract text from a PDF (%PDF- magic, not Content-Type)
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
Not tested: has real-world effectsour last check, 2026-11-26
0 of 0checks answered this week
n/amedian answer time
$0.005listed price per call
n/aprice it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://readfetch.com/v1/pdf
| Category | Search and research |
|---|---|
| Provider host | readfetch.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 5 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-01 | valid payment request | 402 | $0.005 | 1468 ms |
| 2026-10-31 | valid payment request | 402 | $0.005 | 310 ms |
| 2026-10-29 | valid payment request | 402 | $0.005 | 1163 ms |
Example input (from the provider)
{
"body": {
"max_pages": 50,
"url": "https://example.com/paper.pdf"
},
"bodyType": "json",
"description": "Documents, not pages: page text plus one Markdown body, priced per document rather than per page.",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$defs": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"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 \u2014 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 \u2192 413, unbilled.",
"maximum": 200,
"minimum": 1,
"type": "number"
},
"url": {
"description": "Public PDF URL; fetched through egress (\u2264 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": {
"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"
}
}
}