{
  "info": {
    "_postman_id": "d3e3807c-da73-4677-a1b5-744f505d45ae",
    "name": "Mathpix App Tokens Images API",
    "description": "Mint short-lived client-side tokens so browsers, mobile apps, and digital-ink surfaces can call Mathpix without exposing your long-lived app_key. Tokens default to 5 minutes and can be issued from 30 seconds to 12 hours. Token issuance is free.\n\n\nContact Support:\n Name: Mathpix Support\n Email: support@mathpix.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:58:20.000Z",
    "updatedAt": "2026-07-28T10:58:20.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-d3e3807c-da73-4677-a1b5-744f505d45ae"
  },
  "item": [
    {
      "name": "v3",
      "item": [
        {
          "name": "text",
          "item": [
            {
              "name": "Process An Image",
              "id": "8c74e29e-4581-4935-ad54-13594a977914",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) Mathpix application identifier issued at console.mathpix.com.",
                    "key": "app_id",
                    "value": "<string>"
                  },
                  {
                    "description": "(Required) Mathpix application secret issued at console.mathpix.com.",
                    "key": "app_key",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"src\": \"<string>\",\n  \"metadata\": {\n    \"magnaa6\": true\n  },\n  \"formats\": [\n    \"text\",\n    \"text\"\n  ],\n  \"math_inline_delimiters\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"math_display_delimiters\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"include_line_data\": false,\n  \"include_word_data\": false,\n  \"rm_spaces\": true,\n  \"confidence_threshold\": \"<float>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v3/text",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v3",
                    "text"
                  ]
                },
                "description": "Submit a single image (by URL or base64) and receive Mathpix Markdown (MMD) plus optional structured data, HTML, styled LaTeX, line data, and word data. Auto-detects whether the content is printed or handwritten.\n"
              },
              "response": [
                {
                  "id": "6a9e4a76-0561-413f-a1bb-08ca07052b96",
                  "name": "Successful OCR result.",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "description": "(Required) Mathpix application identifier issued at console.mathpix.com.",
                        "key": "app_id",
                        "value": "<string>"
                      },
                      {
                        "description": "(Required) Mathpix application secret issued at console.mathpix.com.",
                        "key": "app_key",
                        "value": "<string>"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "app_key",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"src\": \"<string>\",\n  \"metadata\": {\n    \"magnaa6\": true\n  },\n  \"formats\": [\n    \"text\",\n    \"text\"\n  ],\n  \"math_inline_delimiters\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"math_display_delimiters\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"include_line_data\": false,\n  \"include_word_data\": false,\n  \"rm_spaces\": true,\n  \"confidence_threshold\": \"<float>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v3/text",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v3",
                        "text"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"request_id\": \"<string>\",\n  \"text\": \"<string>\",\n  \"latex_styled\": \"<string>\",\n  \"html\": \"<string>\",\n  \"data\": [\n    {\n      \"do_b\": false,\n      \"commodo76d\": true\n    },\n    {\n      \"ullamco__80\": 98011334,\n      \"fugiat9\": 29263265,\n      \"in__5a\": -19067426\n    }\n  ],\n  \"confidence\": \"<float>\",\n  \"confidence_rate\": \"<float>\",\n  \"is_printed\": \"<boolean>\",\n  \"is_handwritten\": \"<boolean>\",\n  \"auto_rotate_confidence\": \"<float>\",\n  \"auto_rotate_degrees\": 0,\n  \"image_height\": \"<integer>\",\n  \"image_width\": \"<integer>\",\n  \"line_data\": [\n    {\n      \"elit_\": false,\n      \"Duis_bef\": -93527038,\n      \"Ut_b4e\": false\n    },\n    {\n      \"ullamco1\": \"aute sit ut\",\n      \"consequat_09\": -4981424.610830799\n    }\n  ],\n  \"word_data\": [\n    {\n      \"laboris720\": \"ex cillum consectetur amet\"\n    },\n    {\n      \"aliqua_56a\": 59176446.77688497\n    }\n  ],\n  \"version\": \"<string>\",\n  \"error\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T10:58:20.000Z",
                  "updatedAt": "2026-07-28T10:58:20.000Z",
                  "uid": "35240-6a9e4a76-0561-413f-a1bb-08ca07052b96"
                },
                {
                  "id": "b53b79cd-1431-423a-bcb3-52987803f111",
                  "name": "Missing or invalid credentials.",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "description": "(Required) Mathpix application identifier issued at console.mathpix.com.",
                        "key": "app_id",
                        "value": "<string>"
                      },
                      {
                        "description": "(Required) Mathpix application secret issued at console.mathpix.com.",
                        "key": "app_key",
                        "value": "<string>"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "app_key",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"src\": \"<string>\",\n  \"metadata\": {\n    \"magnaa6\": true\n  },\n  \"formats\": [\n    \"text\",\n    \"text\"\n  ],\n  \"math_inline_delimiters\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"math_display_delimiters\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"include_line_data\": false,\n  \"include_word_data\": false,\n  \"rm_spaces\": true,\n  \"confidence_threshold\": \"<float>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v3/text",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v3",
                        "text"
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T10:58:20.000Z",
                  "updatedAt": "2026-07-28T10:58:20.000Z",
                  "uid": "35240-b53b79cd-1431-423a-bcb3-52987803f111"
                },
                {
                  "id": "acb8c01b-dcd0-453f-a295-13ac0cb7aca2",
                  "name": "Rate limit exceeded.",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "description": "(Required) Mathpix application identifier issued at console.mathpix.com.",
                        "key": "app_id",
                        "value": "<string>"
                      },
                      {
                        "description": "(Required) Mathpix application secret issued at console.mathpix.com.",
                        "key": "app_key",
                        "value": "<string>"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "app_key",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"src\": \"<string>\",\n  \"metadata\": {\n    \"magnaa6\": true\n  },\n  \"formats\": [\n    \"text\",\n    \"text\"\n  ],\n  \"math_inline_delimiters\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"math_display_delimiters\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"include_line_data\": false,\n  \"include_word_data\": false,\n  \"rm_spaces\": true,\n  \"confidence_threshold\": \"<float>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v3/text",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v3",
                        "text"
                      ]
                    }
                  },
                  "status": "Too Many Requests",
                  "code": 429,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T10:58:20.000Z",
                  "updatedAt": "2026-07-28T10:58:20.000Z",
                  "uid": "35240-acb8c01b-dcd0-453f-a295-13ac0cb7aca2"
                }
              ],
              "createdAt": "2026-07-28T10:58:20.000Z",
              "updatedAt": "2026-07-28T10:58:20.000Z",
              "uid": "35240-8c74e29e-4581-4935-ad54-13594a977914"
            }
          ],
          "id": "9e9d4bfa-ccdd-416b-aa5d-a8e2b96b97e0",
          "createdAt": "2026-07-28T10:58:20.000Z",
          "updatedAt": "2026-07-28T10:58:20.000Z",
          "uid": "35240-9e9d4bfa-ccdd-416b-aa5d-a8e2b96b97e0"
        }
      ],
      "id": "6957fed4-5f16-484d-894e-a532c7d54cbb",
      "createdAt": "2026-07-28T10:58:20.000Z",
      "updatedAt": "2026-07-28T10:58:20.000Z",
      "uid": "35240-6957fed4-5f16-484d-894e-a532c7d54cbb"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "app_key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mathpix.com"
    }
  ]
}