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 Firecrawl tools 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.

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

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

nameidentifierabstracturldate_createddate_modifiedin_languageis_part_ofnamespacemain_entityadditional_entitiesimagelicenseversiondescriptioninfoboxessectionsreferencestables

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

Firecrawl tools

5

Ready-made Firecrawl tools that call Wikipedia.

Quality, speed and cost, last 24 hours, across every agent call to Wikipedia through Alexandria.

Quality
100%
Calls answered without a tool error
Speed
649 ms
95% of successful calls finish faster
Cost
0–1 credits
Firecrawl credits per call
Calls
1.6K
Last 24 hours, every Alexandria user
Quality and speed of each tool, last 24 hours
ToolQualitySpeedCalls
Structured article100%649 ms1.1K
Article100%833 ms476
Wikidata item100%682 ms46
//
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