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

# Get rendered formula in the given format.

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

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.

Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).

## 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/bump-sh-examples/apis/wikimedia-rest-api.md) · [All operations](https://skmtc.dev/bump-sh-examples/apis/wikimedia-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bump-sh-examples/wikimedia-rest-api/revisions/ae080049fe2a/schema)
