Firecrawl Alexandria

Wikipedia

Wikipedia and its sister projects through Wikimedia Enterprise, the Wikimedia Foundation's official API: current articles by title, parsed infoboxes and article sections, and Wikidata entities.

5 ready-made skills use Wikipedia

Try Wikipedia now.

Choose an example or ask your own question.

Wikipedia
TRY ASKING
1Request
stringRequired

Exact article title as on the wiki, for example `Marie_Curie` or `Marie Curie`. Case-sensitive: Wikipedia titles start with a capital letter. From a URL such as https://fr.wikipedia.org/wiki/Marie_Curie, use the part after /wiki/.

string

Wikimedia project identifier: language code plus project code, for example `enwiki` (English Wikipedia), `frwiki`, `dewiki`, `enwiktionary` or `eswikivoyage`. Defaults to `enwiki` when neither project nor language is given. `reference/projects` lists every identifier.

string

Wikimedia language code, for example `en`, `fr` or `zh-yue`. Returns the article from any project in that language; combine with project to pin one wiki.

string[]

Return only these fields, in dot notation, for example `name`, `abstract`, `url`, `version.identifier`. Omit for the full record. Wikimedia returns exactly the fields named. Separate values with commas.

number

Most matching articles to return, 1 to 10. More than one only helps when no project is pinned and the title exists on several wikis.

string

Which article_body format to include when fields is not given: `wikitext` (default, compact), `html` (MediaWiki DOM, often 5-10x larger), `both`, or `none` for metadata and abstract only.

1 credit per record
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "wikipedia",
    capability: "articles/lookup",
    options: {
      name: "Marie_Curie",
      limit: 1,
      body: "wikitext",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from Wikipedia.

nameidentifierabstracturldate_createddate_modifiedin_languageis_part_ofnamespacemain_entityadditional_entitiesimagelicenseversionarticle_bodycategoriestemplatesredirectsprotectionwatchers_countevent

From Wikipedia, licensed CC BY-SA 4.0. Retrieved through Wikimedia Enterprise. (https://www.wikipedia.org)

Use cases

5

Built-in skills that call Wikipedia.

//
Get started
//
Give your agent Wikipedia.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options