Jump to content

Wikipedia search

Find Wikipedia articles about a topic, in any language.

Your agent searches Wikipedia in the language you pick and gets the matching articles. Each one comes with its short description and a link. Then your agent can read the article it needs.

Paste this into your AI agent

Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to search the German Wikipedia for "Elektroauto" and give me the links.

Your agent connects Chab and then runs it. Price: 1 credit per request. The free credits cover a first try. How it works in each app

Full reference for developers
Returns
JSON result
REST endpoint
POST /v1/search/wikipedia
Over MCP
Call chab_operation_start with "search.wikipedia"

What you get

Example request

{  "query": "python programming language",  "limit": 3}

Example result

{    "query": "python programming language",    "language": "en",    "results": [        {            "title": "Python (programming language)",            "description": "General-purpose programming language",            "snippet": "and garbage collection. Python supports multiple programming paradigms but with an emphasis on object-oriented programming and dynamic typing. Guido",            "url": "https://en.wikipedia.org/wiki/Python_(programming_language)",            "page_id": 23862        },        {            "title": "Outline of the Python programming language",            "description": "Overview of and topical guide to Python",            "snippet": "functional programming. ABC (programming language) – precursor to Python Python was started by Guido van Rossum in 1989 and first released in 1991. Python 2 —",            "url": "https://en.wikipedia.org/wiki/Outline_of_the_Python_programming_language",            "page_id": 81118035        }    ],    "source": {        "name": "Wikipedia",        "url": "https://en.wikipedia.org",        "license": "Text from Wikipedia is available under CC BY-SA 4.0. Link to the page and name the license when you reuse it.",        "license_url": "https://creativecommons.org/licenses/by-sa/4.0/"    },    "fetched_at": "2026-11-16T11:42:38+00:00"}

You can also run this tool on a schedule as a monitor. Chab then keeps every result and emails you when it changes. Monitors need bought credits or a monthly plan. How monitors work

Inputs

FieldTypeDetails
queryrequiredstringWhat to search for, for example "python programming language".Up to 300 characters
languagestringThe Wikipedia language edition, for example en, de or fr.Default "en". Up to 20 characters
limitintegerUp to 50 articles.Default 10. Min 1 max 50

How to call it

AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.

curl -X POST https://www.chab.ai/v1/search/wikipedia \  -H "Authorization: Bearer CHAB_API_KEY" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: search-wikipedia-001" \  -d '{"query":"python programming language","limit":3}'

Wikipedia search result

{    "query": "python programming language",    "language": "en",    "results": [        {            "title": "Python (programming language)",            "description": "General-purpose programming language",            "snippet": "and garbage collection. Python supports multiple programming paradigms but with an emphasis on object-oriented programming and dynamic typing. Guido",            "url": "https://en.wikipedia.org/wiki/Python_(programming_language)",            "page_id": 23862        },        {            "title": "Outline of the Python programming language",            "description": "Overview of and topical guide to Python",            "snippet": "functional programming. ABC (programming language) – precursor to Python Python was started by Guido van Rossum in 1989 and first released in 1991. Python 2 —",            "url": "https://en.wikipedia.org/wiki/Outline_of_the_Python_programming_language",            "page_id": 81118035        }    ],    "source": {        "name": "Wikipedia",        "url": "https://en.wikipedia.org",        "license": "Text from Wikipedia is available under CC BY-SA 4.0. Link to the page and name the license when you reuse it.",        "license_url": "https://creativecommons.org/licenses/by-sa/4.0/"    },    "fetched_at": "2026-11-16T11:42:38+00:00"}

Price: 1 credit per request. See all prices

Want to try Chab with your agent?

Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.

See plans