Mathpix
OCR for formulas, tables and scientific PDFs to LaTeX and Markdown
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- App IDRequired
- App KeySecretRequired
Where to find them
- At console.mathpix.com create an organization and an API key.
- Copy the “App ID” and the “App Key”. You are charged for each image or page processed.
Tools (1)
Mathpix API request
MATHPIX_SEND_REQUESTAuthenticated call to the Mathpix API (https://api.mathpix.com/v3). Any endpoint of the API is allowed. Examples: POST /text {"src": "https://…/formula.png", "formats": ["text", "latex_styled"]}, POST /pdf {"url": "https://…/article.pdf"}, GET /pdf/{pdfId} (status), GET /pdf/{pdfId}.mmd (Markdown), GET /pdf/{pdfId}.docx, GET /pdf-results.
Required scopes
No scopes required
Input
Mathpix API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

