Mathpix OCR API
Reads printed and handwritten math, text, tables and diagrams from images, ink strokes and PDFs into LaTeX, Markdown, DOCX or JSON
Paid from$0.002 /image$2 per 1,000 (image), our computation from “/ image”
{
"id": "mathpix-ocr",
"name": "Mathpix OCR API",
"vendor": "Mathpix",
"whatItIs": "Reads printed and handwritten math, text, tables and diagrams from images, ink strokes and PDFs into LaTeX, Markdown, DOCX or JSON",
"interfaces": [
"http",
"sdk"
],
"vendorPriceAsStated": "$0.002 /image",
"priceSource": "https://mathpix.com/pricing/api",
"priceChecked": "2026-11-15",
"things": [
"DigitalInk",
"Document",
"Image"
],
"jobs": [
"Document.create",
"Document.delete",
"Document.extract",
"Document.get",
"Image.extract"
]
}Facts
- Made by
- Mathpix
- Works on
- Digital inkDocumentImage
- Paid from
$0.002 /image
- Access
- HTTP, SDK
- Sold
- On its own
- Agents
- Not friendly
- API QA score
- [SCORE]
What it does
Each thing it works on, and what it does to it.
- Digital ink
- extractcreate
- Document
- extractcreategetdelete
- Image
- extract
Prices
Each price as its seller states it.
Pay per use
- Image OCR (v3/text), 0-1M images$0.002 /image
- Digital ink (v3/strokes), 0-1M requests$0.002 /request
- Documents (v3/pdf), 0-1M pages$0.005 /page
- Batch documents (files/v1), 0-30M pages$0.0015 /page
Jobs it does
Open a job to see every API that does it, side by side.
Alternatives
View allAPIs that do the same jobs, the ones sharing the most jobs first.
Your API hereSponsoredSee sponsor optionsHead to head
For agents
An agent cannot both sign up and pay for this by itself.
Buying and paying6 of 11 stated
- Agent gets a key aloneNokey created on the dashboard after adding a card
- Agent can payNocard added by a person
- Payment railscardcredit or debit card
- Payment protocolsnoneno protocol named in the batch paymentRails cell
- Subscription requiredNo
- Pay per callYesper image, request or page
- Not stated yetFirst call without a key, Smallest purchase (USD), Price published as data, Test purchases, Receipt or usage record
Reading and signing up3 of 10 stated
- Public pricesYes
- Self-serve sign-upYescard required
- Free useNo$29 testing credit after a $19.99 setup fee
- Not stated yetOpenAPI, OpenAPI version, Docs without login, llms.txt, Docs as Markdown, Signed agents, Agent instructions
MCP0 of 4 stated
YesNoStated otherwiseNot stated
