Mathpix website screenshot

Mathpix

7 APIs 0 Features
OCRSTEMMathChemistryDocument ConversionPDFLaTeXHandwritingAIMachine Learning

APIs

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-de...

Mathpix Document OCR API

Asynchronous PDF and document OCR via v3/pdf. Submit by URL or multipart upload, poll status, optionally stream via SSE, and download outputs in MMD, Markdown, DOCX, LaTeX (.tex...

Mathpix Convert API

Transform Mathpix Markdown into DOCX, LaTeX archives, HTML, PDF, PPTX, plain Markdown, and zipped multi-file outputs. Synchronous submission returns a conversion_id used to poll...

Mathpix Batch API

Submit many image URLs (with optional per-image options) in a single v3/batch request, poll once per ~5 images, and retrieve a results map keyed by caller-defined identifiers. S...

Mathpix Strokes API

Recognize handwritten math, text, and chemistry from raw stroke coordinates (x/y arrays) via v3/strokes. Pairs with the App Tokens API and strokes_session_id for client-side dig...

Mathpix App Tokens API

Mint short-lived client-side app_token credentials (30 seconds to 12 hours; 5 minutes by default) so browsers, mobile clients, and digital-ink surfaces can call Mathpix without ...

Mathpix OCR Usage API

Query OCR consumption metrics aggregated by usage_type, request_args_hash, or app_id, over arbitrary timespans (hour, day, week, month). Used to track consumption trends and rec...

Collections

Pricing Plans

Mathpix Plans Pricing

4 plans

PLANS

Rate Limits

Mathpix Rate Limits

7 limits

RATE LIMITS

FinOps

Semantic Vocabularies

Mathpix Context

0 classes · 8 properties

JSON-LD

API Governance Rules

Mathpix API Rules

8 rules · 3 errors 4 warnings 1 info

SPECTRAL

Example Payloads

Mathpix Batch Example

7 fields

EXAMPLE

Mathpix Strokes Example

6 fields

EXAMPLE

Resources

🔗
LinkedIn
LinkedIn
🔗
Twitter
Twitter
👥
GitHub
GitHub
🌐
Portal
Portal
🔗
Documentation
Documentation
🔗
Documentation
Documentation
💰
Pricing
Pricing
📝
Signup
Signup
🔗
Login
Login
🌐
Console
Console
📰
Blog
Blog
💬
Support
Support
🔗
ContactSales
ContactSales
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
📦
SDKs
SDKs
📦
SDKs
SDKs
🔗
CLI
CLI
🔗
Samples
Samples
🔧
Tools
Tools
🔧
Tools
Tools
🔧
Tools
Tools
🔗
Application
Application
🔗
Application
Application
🔗
Application
Application
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
🔗
Vocabulary
Vocabulary
🔗
SpectralRules
SpectralRules
🔗
JSONLD
JSONLD

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Mathpix Strokes API
  version: v3
request:
  auth:
    type: apikey
    key: app_id
    value: '{{app_id}}'
    placement: header
items:
- info:
    name: Strokes
    type: folder
  items:
  - info:
      name: Process Strokes
      type: http
    http:
      method: POST
      url: https://api.mathpix.com/v3/strokes
      headers:
      - name: app_id
        value: ''
      - name: app_key
        value: ''
      - name: Content-Type
        value: ''
      body:
        type: json
        data: '{}'
    docs: Submit stroke coordinates representing handwriting and receive recognized MMD/LaTeX output.
bundled: true