Wikipedia summary API: lead-section extract by title
Get the lead-section summary of a Wikipedia article by title and language: plain-text extract, short description, canonical URL and last-edit time. Pay per call.
Agents and apps often need a short, reliable description of a thing. The call returns the lead section of a Wikipedia article for a title and language: a plain-text extract, the short description, the canonical URL and the time of the last edit.
The text is available under CC BY-SA 4.0 from Wikipedia contributors and must be attributed when you reuse it; the response carries the canonical URL for that purpose.
The calls
Each call returns 402 with the price until a payment is attached; an x402 client pays and retries automatically. Calls that fail are not charged. See Get started and the guide for bots and agents for code.
wikipedia-summary $0.003 per call
Lead-section summary of a Wikipedia article by title and language: plain-text extract, short description, canonical URL and last-edit time.
curl -i "https://api.ambolt.dev/v1/wikipedia-summary?title=Copenhagen"Example response
{
"found": true,
"title": "Copenhagen",
"lang": "en",
"type": "standard",
"description": "Capital and most populous city of Denmark",
"extract": "Copenhagen is the capital and most populous city of Denmark, with an urban population of 1.4 million. The city is situated mainly on the island of Zealand (Sjælland), with a smaller part on the island of Amager. Copenhagen is separated from Malmö, Sweden, by the Øresund strait. The Øresund Bridge connects the two cities by rail and road.",
"disambiguation": false,
"url": "https://en.wikipedia.org/wiki/Copenhagen",
"lastEdited": "2026-10-02T11:42:47Z",
"fetchedAt": "2026-10-02T21:36:03.107Z",
"attribution": "Text from Wikipedia (https://en.wikipedia.org/wiki/Copenhagen), CC BY-SA 4.0, by Wikipedia contributors. Changes: none."
}Questions
Which languages work?
Pass lang with a Wikipedia language code such as en or de.
Do I need to attribute the text?
Yes. The text is CC BY-SA 4.0 from Wikipedia contributors.
Does it return the whole article?
No. It returns the lead-section summary.
Use it from an AI agent
Every call is also an MCP tool: add https://api.ambolt.dev/mcp to your agent's server list.