Wikipedia hub

Wikipedia Languages API

Every edition that has this page, with the local title and language name.

GET /v1/wikipedia/pages/{title}/languages

1 credit Failed requests are free

About this endpoint

GET /v1/wikipedia/pages/{title}/languages?lang=en returns data.languages, one row per edition that has a page for the title. Each row has code, name, key and title. code is the edition code to pass as lang on another call, and title is the title on that edition, which can differ from the title you asked for.

This route is the quick way to fan out across editions without searching each one. A page that exists on only one edition returns one row. A page with no other editions is found with empty: true; a title that does not exist on the chosen edition is not_found.

Wikipedia Languages API FAQ

Does every page have language links?

No. A page can exist on one edition only, or its language links can be empty. That answer is found with empty set to true. not_found means the title itself does not exist on the edition you asked.

Why does a row title differ from my title?

Editions choose their own title for the same subject. code tells you which edition the row belongs to and title is the title to use there. Use code as a path title on the target edition.

Is this list paged?

No. The route returns the full list of editions for the page in one answer. There is no cursor on this route.

How many credits does the language list cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.