Wikidata · Authentication Profile

Wikidata Authentication

Authentication

Wikidata secures its APIs with apiKey and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

Knowledge GraphLinked DataOpen DataSemantic WebSPARQLWikipedia
Methods: apiKey, oauth2 Schemes: 2 OAuth flows: authorizationCode API key in: cookie

Security Schemes

OAuth2 oauth2
· flows: authorizationCode
MediaWikiSession apiKey
· in: cookie (wikidataSession)

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/wikidata-mediawiki-openapi.yml
summary:
  types:
  - apiKey
  - oauth2
  api_key_in:
  - cookie
  oauth2_flows:
  - authorizationCode
schemes:
- name: OAuth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://www.mediawiki.org/w/index.php?title=Special:OAuth/authorize
    tokenUrl: https://www.mediawiki.org/w/index.php?title=Special:OAuth/token
    scopes: 2
  sources:
  - openapi/wikidata-mediawiki-openapi.yml
- name: MediaWikiSession
  type: apiKey
  in: cookie
  parameter: wikidataSession
  sources:
  - openapi/wikidata-mediawiki-openapi.yml