Wikipedia

List Wikipedia page languages

List the Wikipedia editions that have a page for the title.

GET/v1/wikipedia/pages/{title}/languages
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
titlestringrequiredpath

Page title on the chosen edition, e.g. `Albert Einstein`, `C++` or `Talk:Barack Obama`. URL-encode it in the path.

langstringoptionalquery

Wikimedia edition code, e.g. `en`, `de`, `ja`, `simple` or `zh-min-nan`. Default: `en`.

Response fields
14

Endpoint-specific response payload.

datalookupStatus
string

Whether the entity, page or data set exists. A missing entity is `not_found`; an existing entity with no rows is `found` with `empty: true`.

one of: found, not_found

datalang
string

Edition code.

datatitle
string

Title.

Editions that have this page.

datalanguages[]code
string

Edition code.

datalanguages[]name
stringnullable

Language name in that language.

datalanguages[]key
stringnullable

Title key.

datalanguages[]title
stringnullable

Title in that edition.

dataempty
boolean

Whether the answer is a valid empty result rather than missing.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/wikipedia/pages/Albert%20Einstein/languages" \
  -H "x-api-key: YOUR_API_KEY"

Responses

List Wikipedia page languages