Wikipedia
Article summaries, title search and 'on this day' events from Wikipedia in any language.
- Provider id:
wikipedia - Tools: 3, at $0.001 per call
- Categories: Knowledge & Reference
- Homepage: www.wikipedia.org
- Provider docs: www.mediawiki.org/wiki/API:REST_API
- Licence: CC BY-SA 4.0
- Attribution: Wikipedia contributors (wikipedia.org)
| Tool | Price | What it does |
|---|---|---|
wikipedia/on-this-day | $0.001 | Historical events, births, deaths or holidays for a calendar day, from Wikipedia's 'On this day'. |
wikipedia/search | $0.001 | Find Wikipedia articles by keywords: titles, short descriptions and matching snippets. |
wikipedia/summary | $0.001 | The lead paragraph of a Wikipedia article: extract, short description, thumbnail and page URL. |
Inputs are JSON bodies, and unknown fields are rejected with 422 invalid_input (not charged). POST /v1/inspect with a tool's id returns the same input schema, plus the output schema.
Wikipedia On This Day
wikipedia/on-this-day · $0.001 per call (local) · Knowledge & Reference
Historical events, births, deaths or holidays for a calendar day, from Wikipedia's 'On this day'.
Returns what happened on a month/day across history (newest year first), each with the year, a one-line description and the main article. 'selected' is the curated short list; 'events', 'births' and 'deaths' are the long lists (slower when not cached). It is keyed by calendar day, not by year: it will not list everything that happened in 1969. For one topic's history use wikipedia/summary or akashi/answer.
Related: wikipedia/summary, akashi/answer.
Input
| Field | Type | Required | Description |
|---|---|---|---|
month | integer | no | 1–12; defaults to today (UTC). From 1 to 12. |
day | integer | no | 1–31; defaults to today (UTC). From 1 to 31. |
kind | string | no | Curated highlights, events, births, deaths or holidays. One of selected, events, births, deaths, holidays. Default "selected". |
limit | integer | no | From 1 to 30. Default 10. |
lang | string | no | Wikipedia language edition, e.g. 'en', 'fr', 'ja'. Pattern ^[a-z]{2,3}(-[a-z]{2,8})?$. Default "en". |
Example
{
"month": 7,
"day": 20,
"kind": "selected",
"limit": 10
}node akashi.mjs run wikipedia/on-this-day --input '{"month":7,"day":20,"kind":"selected","limit":10}'Wikipedia Search
wikipedia/search · $0.001 per call (local) · Knowledge & Reference
Find Wikipedia articles by keywords: titles, short descriptions and matching snippets.
Full-text search over one Wikipedia edition, ranked by Wikipedia's own relevance. Returns article titles, URLs, the short description and a snippet around the match. Use it to find the exact title, then wikipedia/summary for the lead paragraph. It searches Wikipedia only; for the open web use serper/search or firecrawl/search, and for structured entities use wikidata/search.
Related: wikipedia/summary, wikidata/search, serper/search.
Input
| Field | Type | Required | Description |
|---|---|---|---|
query | string | yes | Words to find in article titles and text. 1–300 characters. |
limit | integer | no | From 1 to 10. Default 5. |
lang | string | no | Wikipedia language edition, e.g. 'en', 'fr', 'ja'. Pattern ^[a-z]{2,3}(-[a-z]{2,8})?$. Default "en". |
Example
{
"query": "solid state battery",
"limit": 5
}node akashi.mjs run wikipedia/search --input '{"query":"solid state battery","limit":5}'Wikipedia Article Summary
wikipedia/summary · $0.001 per call (local) · Knowledge & Reference
The lead paragraph of a Wikipedia article: extract, short description, thumbnail and page URL.
Looks an article up by exact title (redirects are followed, so 'JFK' reaches John F. Kennedy) and returns its lead-section extract in plain text, the one-line description, a thumbnail and the Wikidata id. It does not search: if you are unsure of the title use wikipedia/search first. It returns only the lead, not the whole article; for the full page use firecrawl/scrape or jina/read on the URL. For structured facts (dates, population, website) use wikidata/entity with the returned wikidata_id.
Related: wikipedia/search, wikidata/entity, firecrawl/scrape.
Input
| Field | Type | Required | Description |
|---|---|---|---|
title | string | yes | Article title, e.g. 'Alan Turing'. 1–255 characters. |
lang | string | no | Wikipedia language edition, e.g. 'en', 'fr', 'ja'. Pattern ^[a-z]{2,3}(-[a-z]{2,8})?$. Default "en". |
Example
{
"title": "Alan Turing"
}node akashi.mjs run wikipedia/summary --input '{"title":"Alan Turing"}'