PDF to Markdown & Text Extractor
Turn PDF links into clean Markdown (headings, lists, tables), plain text, per-page text, metadata, links and token-sized RAG chunks with page numbers. Bulk URLs, scanned and failed files are free.
$1.50 per 1,000 records, once live runs open
You pay only for the records you get. Zero records cost zero.
Get this data
Download the sample, or ask for live runs. Calls from your code and Google Sheets work once live runs open.
Samples only
Live runs for this API open soon.
The sample records further down show what it returns. The fields, inputs and price here are the ones live runs will use.
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/pdf-to-markdown-extractor/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"pdf_urls": [
"https://arxiv.org/pdf/1706.03762"
]
},
"max_items": 50
}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
30 fields: 29 here, 1 technical one under Technical details.
Basics
- Status
Example ok
- Message
Plain-English reason for a skipped link.
- File name
Example 1706.03762
- File size bytes
Example 2,215,244
- Title
Title (metadata, else the largest text on page 1)
Example Attention Is All You Need
- Title source
Metadata, xmp or first-page.
Example first-page
- Author
Author from the PDF metadata.
- Subject
- Keywords
- Creator
Creating application.
Example LaTeX with hyperref
- PDF producer
Example pdfTeX-1.40.25
- Language
Language from the metadata.
- Page count
Pages in the PDF.
Example 15
- Pages read
Example 15
- Page number
- Word count
Example 5,788
- Char count
Characters of text.
- Markdown
Example # Attention Is All You Need | Ashish Vaswani∗ | Noam Shazeer∗ | ... ### Abstract The dominant sequence transduction…
- Plain text
Example Attention Is All You Need ...
- Per-page text and Markdown
- Chunks
RAG chunks: index, heading, text, tokens, pageStart, pageEnd.
Example 1 item: Index: 2 · Heading: Attention Is All You Need > Abstract · Text: ### Abstract The dominant sequence transduction models are based on complex recurrent ...
- Chunk count
Number of chunks.
Example 34
- Pages needing OCR
Pages with no text layer (scanned)
- Truncated
Why reading stopped early, if it did.
- Extracted
When the row was made.
Dates
- Created
Creation date (ISO)
Example Apr 10, 2024
- Modified
Modification date (ISO)
Links
- Link
The link you gave.
Example arxiv.org/pdf/1706.03762
- Links
Links found in the PDF.
Example 1 item: Page: 10 · Link: https://github.com/tensorflow/tensor2tensor
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- Error code
errorCodeWhy the link was not read.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 1 sample record carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
url | link | Link | 1 of 1 |
status | text | Status | 1 of 1 |
errorCode | text | Error code (hidden) | 0 of 1 |
message | text | Message | 0 of 1 |
fileName | text | File name | 1 of 1 |
fileSizeBytes | number | File size bytes | 1 of 1 |
title | text | Title | 1 of 1 |
titleSource | text | Title source | 1 of 1 |
author | text | Author | 0 of 1 |
subject | text | Subject | 0 of 1 |
keywords | text | Keywords | 0 of 1 |
creator | text | Creator | 1 of 1 |
producer | text | PDF producer | 1 of 1 |
createdAt | date and time | Created | 1 of 1 |
modifiedAt | date and time | Modified | 0 of 1 |
language | text | Language | 0 of 1 |
pageCount | number | Page count | 1 of 1 |
pagesRead | number | Pages read | 1 of 1 |
page | number | Page number | 0 of 1 |
wordCount | number | Word count | 1 of 1 |
charCount | number | Char count | 0 of 1 |
markdown | text | Markdown | 1 of 1 |
text | text | Plain text | 1 of 1 |
pages | list | Per-page text and Markdown | 0 of 1 |
chunks | list | Chunks | 1 of 1 |
chunkCount | number | Chunk count | 1 of 1 |
links | list | Links | 1 of 1 |
pagesNeedingOcr | list | Pages needing OCR | 0 of 1 |
truncated | text | Truncated | 0 of 1 |
extractedAt | text | Extracted | 0 of 1 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Title | Plain text | Status | Message | File name | File size bytes | Title source | Author | Subject | Keywords | Creator | PDF producer | Language | Page count | Pages read | Page number | Word count | Char count | Markdown | Per-page text and Markdown | Chunks | Chunk count | Pages needing OCR | Truncated | Extracted | Created | Modified | Link | Links |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Attention Is All You Need | Attention Is All You Need ... | ok | — | 1706.03762 | 2,215,244 | first-page | — | — | — | LaTeX with hyperref | pdfTeX-1.40.25 | — | 15 | 15 | — | 5,788 | — | # Attention Is All You Need | Ashish Vaswani∗ | Noam Shazeer∗ | ... ### Abstract The dominant sequence transduction models ... | — | 1 item: Index: 2 · Heading: Attention Is All You Need > Abstract · Text: ### Abstract The dominant sequence transduction models are based on complex recurrent ... | 34 | — | — | — | Apr 10, 2024 | — | arxiv.org/pdf/1706.03762 | 1 item: Page: 10 · Link: https://github.com/tensorflow/tensor2tensor |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.