Skip to content

Wikipedia API

The Wikipedia API allows access to all Wikipedia articles.

  • Website: wikipedia.org
  • Supported formats: wiki articles
  • Authentication: No authentication required
  • Rate limiting: None
  • SFW filter support: No

Wikipedia uses Wikidata IDs to identify articles.

Wikipedia provides a comprehensive guide for finding Wikidata IDs:

Wikipedia: Finding a Wikidata ID

  1. Navigate to any Wikipedia article
  2. Look for “Wikidata item” in the left sidebar under “Tools”
  3. Click it to see the Wikidata page
  4. The ID is in the URL (format: Q followed by numbers)

For “Python (programming language)”:

  • Wikidata URL: https://www.wikidata.org/wiki/Q28865
  • ID: Q28865