---
title: "Get rendered formula in the given format."
method: GET
path: "/media/math/render/{format}/{hash}"
tags: ["Math"]
deprecated: true
---

# Get rendered formula in the given format.

`GET /media/math/render/{format}/{hash}`

> **Deprecated.**

Given a request hash, renders a TeX formula into its mathematic
representation in the given format. When a request is issued to the
`/media/math/check/{format}` POST endpoint, the response contains the
`x-resource-location` header denoting the hash ID of the POST data. Once
obtained, this endpoint has to be used to obtain the actual render.

**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

- `format` 'svg' | 'mml' | 'png', required
- `hash` string, required

## Response `200`

The rendered formula

## Other responses

- `404` — Unknown format or hash ID
- `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)
