This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats.
User-Agent
or Api-User-Agent
header that
allows us to contact you quickly. Email addresses or URLs
of contact pages work well.By using this API, you agree to Wikimedia’s Terms of Use and Privacy Policy. Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the CC-BY-SA 3.0 and GFDL licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details.
Please consult each endpoint’s documentation for details on:
Use this page to mock Wikimedia in your testing and development.
Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of Wikimedia, which will allow you to keep building and testing even if the actual API you isn't currently available.