Mathpix Image OCR API
Submit a single image (by URL or base64) to v3/text and receive Mathpix Markdown plus optional structured data, HTML, styled LaTeX, and line- or word-level segmentation. Auto-detects printed vs. handwritten content and handles math, text, tables, and chemistry diagrams.
Documentation
Specifications
Schemas & Data
Other Resources
JSONLD
https://raw.githubusercontent.com/api-evangelist/mathpix/refs/heads/main/json-ld/mathpix-context.jsonld
Examples
https://raw.githubusercontent.com/api-evangelist/mathpix/refs/heads/main/examples/mathpix-process-image-example.json
APIsJSON
https://raw.githubusercontent.com/api-evangelist/mathpix/refs/heads/main/apis.yml