# /api/rest_v1/media/math/* is deprecated

Wikimedia REST API deprecated /api/rest_v1/media/math/* without giving a shutdown date yet.

Wikimedia REST API endpoints under /api/rest_v1/media/math/* are deprecated without a specific shutdown date. The provider announced on August 1, 2026, that these endpoints will be fully sunset by the end of September 2026. After they are sunset, requests to these endpoints fail.

## What to use instead

Render formulas client-side with native MathML or MathJax instead of calling the Math API.

- API: Wikimedia REST API (wikimedia.org)
- Kind: Endpoint removal
- Announced: August 1, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/api/rest_v1/media/math/*`
- Source: [Announcement](https://www.mediawiki.org/wiki/Wikimedia_APIs/Changelog)
- Verified: October 26, 2026, against Wikimedia REST API's own pages
- Page: https://www.okapi.bot/providers/wikimedia-rest-api/breaking-changes/api-rest-v1-media-math-is-deprecated/

## Wikimedia REST API's words

> These endpoints will be fully sunset by the end of September 2026. Developers who call these endpoints should transition to alternative math rendering solutions

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
