Wikimedia REST API

The Wikimedia REST API offers access to Wikimedia's content and metadata in machine-readable formats. Focused on high-volume use cases, it tightly integrates with Wikimedia's globally distributed caching infrastructure. As a result, API users benefit from reduced latencies and support for high request volumes.

The REST API along with its documentation is available for all major Wikimedia projects at the location /api/rest_v1/. For example, for the English wikipedia it is available at https://en.wikipedia.org/api/rest_v1/ .

While the functionality offered by most projects closely matches that on English wikipedia, there are some noteworthy exceptions:
 * wikimedia.org offers cross-project information like page view metrics.
 * en.wiktionary.org offers an experimental definition end point, exposing Wiktionary information as structured data. Support for other languages is under discussion.

Terms and conditions
By using the REST API, you agree to Wikimedia's general Terms_of_Use|Terms of Use]foundation:Privacy_policy|Privacy Policy]]
 * To avoid impacting other API users,We ask you to set a unique User-Agent or Api-User-Agent header that allows us to contact you quickly. Email addresses or URLs of contact pages work well