Okapi Okapi

/api/rest_v1/media/math/* → endpoint removal

Wikimedia REST API

Deprecated, no date

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.


Calls it hits

  • /api/rest_v1/media/math/*

What to use instead of these calls

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

In 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

Wikimedia REST API, Announcement

Facts

API
Wikimedia REST API wikimedia.org
Kind
Endpoint removal
Announced
August 1, 2026
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Wikimedia REST API's own pages

Questions

When does this change take effect?

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

Do these calls still work?

Yes, they still work: Wikimedia REST API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub