Extract a public PDF (by HTTPS URL or base64) into clean Markdown
Extract a public PDF (by HTTPS URL or base64) into clean Markdown - headings and tables preserved via layout-aware parsing, plus title/author/page count/date metadata and a real token count. Text content itself is never generated or altered, only its structure is inferred. Try GET /pdf/sample.
Answeringour last check, 2026-11-26
6 of 7checks answered this week
1222 msmedian answer time
$0.002listed price per call
$0.002price 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://x402.agentindex.world/pdf
| Category | Market data |
|---|---|
| Provider host | x402.agentindex.world |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.002 | 992 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 1049 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 1913 ms |
| 2026-11-23 | no answer | |||
| 2026-11-22 | valid payment request | 402 | $0.002 | 1343 ms |
| 2026-11-21 | valid payment request | 402 | $0.002 | 2130 ms |
| 2026-11-20 | valid payment request | 402 | $0.002 | 1101 ms |
| 2026-11-19 | valid payment request | 402 | $0.002 | 1321 ms |
| 2026-11-18 | valid payment request | 402 | $0.002 | 1626 ms |
| 2026-11-17 | valid payment request | 402 | $0.002 | 915 ms |
| 2026-11-16 | valid payment request | 402 | $0.002 | 949 ms |
| 2026-11-15 | valid payment request | 402 | $0.002 | 894 ms |
| 2026-11-14 | valid payment request | 402 | $0.002 | 981 ms |
| 2026-11-13 | valid payment request | 402 | $0.002 | 963 ms |
| 2026-11-12 | valid payment request | 402 | $0.002 | 938 ms |
| 2026-11-11 | valid payment request | 402 | $0.002 | 902 ms |
| 2026-11-10 | valid payment request | 402 | $0.002 | 903 ms |
| 2026-11-09 | valid payment request | 402 | $0.002 | 898 ms |
| 2026-11-08 | valid payment request | 402 | $0.002 | 882 ms |
| 2026-11-07 | valid payment request | 402 | $0.002 | 929 ms |
| 2026-11-06 | valid payment request | 402 | $0.002 | 902 ms |
| 2026-11-05 | valid payment request | 402 | $0.002 | 894 ms |
| 2026-11-04 | valid payment request | 402 | $0.002 | 892 ms |
| 2026-11-03 | valid payment request | 402 | $0.002 | 874 ms |
| 2026-11-02 | valid payment request | 402 | $0.002 | 877 ms |
| 2026-11-01 | valid payment request | 402 | $0.002 | 1255 ms |
| 2026-10-31 | valid payment request | 402 | $0.002 | 935 ms |
| 2026-10-29 | valid payment request | 402 | $0.002 | 933 ms |
Example input (from the provider)
{
"body": {
"url": "https://www.ohchr.org/sites/default/files/UDHR/Documents/UDHR_Translations/eng.pdf"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"pdf_base64": {
"description": "Base64-encoded PDF file content. Provide this or url, not both.",
"type": "string"
},
"url": {
"description": "Public HTTPS URL of a PDF file. Provide this or pdf_base64, not both.",
"type": "string"
}
},
"required": []
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"markdown": {
"description": "Extracted Markdown - headings and tables preserved via layout-aware parsing.",
"type": "string"
},
"metadata": {
"properties": {
"author": {
"description": "Document author from PDF metadata, when present."
},
"date": {
"description": "Document creation date from PDF metadata, when present."
},
"pages": {
"description": "Number of pages in the PDF.",
"type": "integer"
},
"title": {
"description": "Document title from PDF metadata, when present."
}
},
"type": "object"
},
"token_count": {
"description": "Real BPE token count (cl100k_base) of the extracted markdown.",
"type": "integer"
},
"x402_receipt": {
"description": "Billing and provenance receipt for this call.",
"type": "object"
}
},
"required": [
"markdown",
"metadata",
"token_count"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}