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. Part of the AgentIndex content kit (pdf, web-read, extract, summarize, detect-language) - see GET /capabilities.
Answeringour last check, 2026-09-25
1 of 1checks answered this week
974 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 | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-25 | valid payment request | 402 | $0.002 | 974 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"
}