Skip to content
Free API accounts now get more requests and free Structured Contents Snapshots

Enterprise-grade APIs for Wikipedia, Wikidata & every Wikimedia project.

Dedicated SLAs, docs, and support for the world's largest open knowledge base.

No credit card required.

Trusted by companies that build AI and search

  • Amazon
  • Google
  • Microsoft
  • Meta
  • Perplexity
  • Mistral AI
  • Firecrawl
  • Ecosia
  • Pleias
  • ProRata
Learn about each APIDive into documentation

Our APIs

Full project dumps, single articles, or a firehose

Snapshot API

Download a whole project. Every article in any Wikimedia project, in any language, as one compressed file.

Snapshot API guide

On-demand API

Fetch a single article. The latest revision of any article, with a single HTTP request.

On-demand API guide

Realtime API

Stream every change. A firehose of edits, creations, and deletions as they happen.

Realtime API guide

All three APIs return the same JSON schema, so there's no need to switch parsers.

Structured Contents Initiative

Wikipedia API without the BLOBs

Structured Contents pulls infoboxes, sections, tables, citations, references, images and more out of raw wikitext and HTML and returns it as machine-readable JSON. No custom parser or regex needed.

On the left is what an article's wikitext looks like in regular payloads. On the right is the parsed infobox extracted from that wikitext, easily usable in Structured Contents payload.

article_body.wikitext
"{{Short description|American-born French entertainer (1906–1975)}}\n{{Other people}}\n{{Use American English|date=January 2026}}\n{{Use mdy dates|date=June 2026}}\n{{Infobox person\n| name = Josephine Baker\n| image = File:Baker Harcourt 1940 2.jpg\n| caption = Baker in 1940\n| birth_name = Freda Josephine McDonald\n| birth_date = {{birth date|mf=yes|1906|06|03}}\n| birth_place = [[St. Louis]], Missouri, U.S.\n| death_date = {{death date and age|mf=yes|1975|04|12|1906|06|03}}\n| death_place = Paris, France\n| resting_place = [[Monaco Cemetery]] \n| citizenship = {{plainlist|\n* United States (until 1937)<!-- renounced US citizenship in 1937 -->\n* France (from 1937)\n}}\n| occupation = [[Vedette (cabaret)|Vedette]], singer, dancer, actress, [[civil rights activist]], [[French Resistance]] agent\n| years_active = 1921–1975\n| spouse = {{Plain list|\n* {{marriage|Willie Wells|1919|1919|reason=div}}\n* {{marriage|William Baker|1921|1925|reason=div}}\n* {{marriage|Jean Lion|1937|1940|reason=div}}\n* {{marriage|[[Jo Bouillon]]|1947|1961|reason=div}}\n}}\n| partner = Robert Brady <br />(1973–1975)\n| children = 12{{efn|[[Jean-Claude Baker]] presented himself as her foster son, however his claim had been contested by Baker’s children.<ref>{{cite news |author=<!--none--> |url=https://www.bienpublic.com/actualite/2015/01/16/jean-claude-bouillon-baker-un-celebre-dijonnais-s-est-eteint |work=Le bien public |title=Jean-Claude Rouzaud s'est éteint, pas Jean-Claude Bouillon-Baker |date=January 22, 2015 |access-date=April 29, 2022 |archive-date=May 28, 2023 |archive-url=https://web.archive.org/web/20230528020932/https://www.bienpublic.com/actualite/2015/01/16/jean-claude-bouillon-baker-un-celebre-dijonnais-s-est-eteint |url-status=live }}</ref><ref>{{cite news |last=Dumas |first=Thierry |url=https://www.sudouest.fr/dordogne/sarlat-la-caneda/je-lui-dois-bien-plus-que-ca-9224950.php |work=Sud ouest |title='Je lui dois bien plus que ça' |date=March 24, 2012 |access-date=April 29, 2022 |archive-date=April 29, 2022 |archive-url=https://web.archive.org/web/20220429152001/https://www.sudouest.fr/dordogne/sarlat-la-caneda/je-lui-dois-bien-plus-que-ca-9224950.php |url-status=live }}</ref>}}\n| signature = Signature de Joséphine Baker - Archives nationales (France).png\n| module = {{Infobox musical artist|embed=yes\n | background = solo_singer\n | genre = {{hlist|[[Cabaret]]|[[music hall]]|[[French pop]]|[[French jazz]]}}\n | instrument = Vocals\n | label = {{hlist|[[Columbia Records|Columbia]]| [[Mercury Records|Mercury]]|[[RCA Records|RCA Victor]]\n}}}}\n}}\n\n'''Freda Josephine Baker''' ({{née|'''McDonald'''}}; June 3, 1906 – April 12, 1975), also spelled '''Joséphine Baker''',<ref>{{cite web |title=French Women & Feminists in History: A Resource Guide. Joséphine Baker |url=https://guides.loc.gov/feminism-french-women-history/famous/josephine-baker |website=Research Guides |publ [...]"
structured_content.infoboxes
"infoboxes": [
{
"type": "infobox",
"name": "Infobox person",
"has_parts": [
{
"type": "section",
"name": "Josephine Baker",
"has_parts": [
{
"type": "image",
"value": "Baker in 1940",
"images": [...]
},
{
"type": "field",
"name": "Born",
"value": "Freda Josephine McDonald June 3, 1906 St. Louis, Missouri, U.S.",
"links": [...]
},
{
"type": "field",
"name": "Died",
"value": "April 12, 1975 (aged 68) Paris, France"
},
[...]
]
}
]
}
]

Structured Contents is tested and supported in nine languages, on both the On-demand and Snapshot APIs, and included on free accounts.

Openly licensed

Over 99.9% of the data is licensed under Creative Commons, and every payload has clear licensing metadata.

Spot risky edits

Revert-risk scores, protection and visibility status, and editor context come with the article data. Credibility signals

Built for AI and search

Shaped around what those workloads actually need: populating knowledge graphs, grounding models in cited facts, and answering questions.

Free and paid accounts

Start for free, today

Free accounts receive

Up to 30 full project snapshots a month, refreshed monthly, and up to 1,500 snapshot chunks. Up to 50,000 On-demand API requests a month. Beta Structured Contents on both.

When you outgrow free

More frequent snapshot updates, higher request limits, the Realtime stream, and a contract with an SLA of up to 99% and dedicated support for production workloads.

No credit card required.

Compare plans