Parse a PDF to text and Markdown: send a PDF url or base64 file, get clean Markdown wit…
Parse a PDF to text and Markdown: send a PDF url or base64 file, get clean Markdown with paragraphs rebuilt from the text layer, per-page character offsets for citing pages, metadata (title, author, dates, page count) and the page numbers that are scanned ima…
by netintel.dev · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Parse a PDF to text and Markdown: send a PDF url or base64 file, get clean Markdown with paragraphs rebuilt from the text layer, per-page character offsets for citing pages, metadata (title, author, dates, page count) and the page numbers that are scanned images with no text layer. Up to 50 pages per call. Text layer only, no OCR: an image-only PDF returns an uncharged 422.
Tags: pdf to text · pdf parser · pdf to markdown · extract text from pdf · document parsing · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-10
{
"url": "https://netintel.dev/samples/pdf-parse-sample.pdf"
}{
"char_count": 730,
"findings": [
"scanned_pages_present"
],
"markdown": "<!-- page 1 -->\n\n## Quarterly Network Report\n\nThis sample shows what POST /pdf/parse returns: paragraphs rebuilt from the text layer, ...",
"metadata": {
"author": "NetIntel",
"created": "2026-10-10T00:00:00Z",
"has_form": false,
"pdf_version": "1.4",
"title": "Quarterly Network Report (sample)"
},
"page_count": 3,
"pages": [
{
"char_end": 507,
"char_start": 0,
"has_text": true,
"page": 1,
"word_count": 76
},
{
"char_end": 581,
"char_start": 509,
"has_text": false,
"page": 2,
"word_count": 0
},
{
"char_end": 730,
"char_start": 583,
"has_text": true,
"page": 3,
"word_count": 19
}
],
"pages_parsed": 3,
"scanned_pages": [
2
],
"source": {
"bytes": 2236,
"final_url": "https://netintel.dev/samples/pdf-parse-sample.pdf",
"type": "url",
"url": "https://netintel.dev/samples/pdf-parse-sample.pdf"
},
"truncated": false,
"word_count": 95
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/29559.jsonfor the price and payment options. - Pay. Call
GET https://netintel.dev/pdf/parse. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.005 | 8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"char_count": {
"type": "number"
},
"findings": {
"items": {
"type": "string"
},
"type": "array"
},
"markdown": {
"description": "All parsed pages, each after a <!-- page N --> marker",
"type": "string"
},
"metadata": {
"type": "object"
},
"page_count": {
"type": "number"
},
"pages": {
"description": "Per page: page, word_count, has_text, char_start, char_end (offsets into markdown)",
"type": "array"
},
"pages_parsed": {
"type": "number"
},
"scanned_pages": {
"items": {
"type": "number"
},
"type": "array"
},
"source": {
"type": "object"
},
"truncated": {
"type": "boolean"
},
"word_count": {
"type": "number"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"char_count": 0,
"findings": [
"string"
],
"markdown": "string",
"metadata": {},
"page_count": 0,
"pages": [
"value"
],
"pages_parsed": 0,
"scanned_pages": [
0
],
"source": {},
"truncated": true,
"word_count": 0
},
"type": "string"
}Examples
curl "https://netintel.dev/pdf/parse"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://netintel.dev/pdf/parse");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://netintel.dev/pdf/parse")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- netintel.dev
- Endpoint
- https://netintel.dev/pdf/parse
- Machine-readable
/resources/29559.json