# Wikimedia API **Provider:** Wikimedia **Category:** communication **Base URL:** `https://wikimedia.org/api/rest_v1` **Auth:** api-key — `cookie: YOUR_API_KEY` **Rate Limit:** 200 req/s (be respectful; automated heavy use requires registration) **Free Tier:** Yes — available **Pricing:** Enterprise / contact sales (subscription) **Docs:** https://api.apis.guru/v2/specs/wikimedia.org/1.0.0.json ## Description This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique User-Agent or Api-User-Agent header that allows us to contact you quickly. Email addresses or URLs of con ## Endpoints | Method | Endpoint | Description | |--------|----------|-------------| | GET | `https://wikimedia.org/api/rest_v1/feed/availability` | Gets availability of featured feed content for the apps by wiki domain. | | POST | `https://wikimedia.org/api/rest_v1/media/math/check/{type}` | Check and normalize a TeX formula. | | GET | `https://wikimedia.org/api/rest_v1/media/math/formula/{hash}` | Get a previously-stored formula | | GET | `https://wikimedia.org/api/rest_v1/media/math/render/{format}/{hash}` | Get rendered formula in the given format. | | GET | `https://wikimedia.org/api/rest_v1/metrics/bytes-difference/absolute/aggregate/{project}/{editor-type}/{page-type}/{granularity}/{start}/{end}` | Get the sum of absolute value of text bytes difference between current edit and previous one. | | GET | `https://wikimedia.org/api/rest_v1/metrics/bytes-difference/absolute/per-page/{project}/{page-title}/{editor-type}/{granularity}/{start}/{end}` | Get the sum of absolute text bytes difference per page. | | GET | `https://wikimedia.org/api/rest_v1/metrics/bytes-difference/net/aggregate/{project}/{editor-type}/{page-type}/{granularity}/{start}/{end}` | Get the sum of net text bytes difference between current edit and previous one. | | GET | `https://wikimedia.org/api/rest_v1/metrics/bytes-difference/net/per-page/{project}/{page-title}/{editor-type}/{granularity}/{start}/{end}` | Get the sum of net text bytes difference per page. | ## Authentication API key in the cookie header ``` cookie: YOUR_API_KEY ``` ## Sample Request ```bash curl 'https://wikimedia.org/api/rest_v1/feed/availability' \ -H 'cookie: YOUR_API_KEY' ``` ## Sample Response ```json {} ``` ## Pricing Details Free — Wikimedia APIs are provided as a public service with no cost. Wikipedia, Wikimedia Commons, Wikidata. No key required for most endpoints. --- *Source: [API Map](https://apimap.dev/apis/wikimedia/) — CC BY 4.0*