---
title: "Get a previously-stored formula"
method: GET
path: "/media/math/formula/{hash}"
tags: ["Math"]
deprecated: true
---

# Get a previously-stored formula

`GET /media/math/formula/{hash}`

> **Deprecated.**

Returns the previously-stored formula via `/media/math/check/{type}` for
the given hash.

**NOTE**: this endpoint is will be [removed](https://phabricator.wikimedia.org/T271001) in the near future. Consider using [client-side MathJax rendering](https://www.mediawiki.org/wiki/Extension:Math#MathJax) instead.Stability: [deprecated](https://www.mediawiki.org/wiki/API_versioning#Deprecated).

## Path parameters

- `hash` string, required

## Response `200`

Information about the checked formula

- object

## Other responses

- `404` — Data for the given hash cannot be found
- `default` — Error

---

[API](https://skmtc.dev/wikimedia/apis/math-api.md) · [All operations](https://skmtc.dev/wikimedia/apis/math-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wikimedia/math-api/revisions/7abb8ca6575d/schema)
