Knowledge
Does the Wikipedia REST API match its OpenAPI spec?
Partly0 of 1 operations we tested match Wikipedia REST's published OpenAPI spec; 1 return responses that drift from it (last run 1 Nov 2026).
wikipedia.contract[*]
Spec match
0%
0 of 1 operations
Mismatches
1
distinct findings
First response
0.29s
median of tested calls
Last run
1 Nov
06:02 UTC
Contract vs. published spec
- GET /page/title/{title}"count" is missing and "items" should be an object
4 operations not run: Portman does not yet escape quoted content-type parameters.
Vendor-reported status · 45 days
Wikipedia REST doesn't publish a machine-readable status feed. Status page
Test the Wikipedia REST API yourself
Portman turns the published spec into contract tests and runs them with Newman.
Star Portman685Portman is open source. A star helps other teams find it.
Questions
- Does the Wikipedia REST API match its OpenAPI spec?
- Partly. 0 of 1 operations we tested match Wikipedia REST's published OpenAPI spec; 1 return responses that drift from it (last run 1 Nov 2026). For example: GET /page/title/{title}: "count" is missing and "items" should be an object.
- Where is the Wikipedia REST OpenAPI spec?
- Wikipedia REST publishes its OpenAPI description at https://en.wikipedia.org/api/rest_v1/.
- Is the Wikipedia REST API down?
- Wikipedia REST does not publish a machine-readable status feed; see https://www.wikimediastatus.net. Our last contract run got responses on 1 Nov 2026.
- How can I contract-test the Wikipedia REST API myself?
- Run Portman against the spec: npx @apideck/portman -u https://en.wikipedia.org/api/rest_v1/?spec --runNewman. Portman generates contract tests for every operation and checks status codes, content types and response schemas.