{"agent":{"expose":"search","prompt":"Use Crawl4AI to get wikipedia articles matching a query."},"also":["find an article"],"beta":true,"call":{"aliases":["POST /recipes/wikipedia-search"],"method":"POST","path":"/tools/wikipedia-search"},"categories":["knowledge","search"],"cost":{"cases":[{"price":"1 credit","when":"A run"},{"price":"free","when":"A run with no row"}],"rule":"1 credit a run · a run with no row is free","text":"1 cr"},"description":"Wikipedia articles that match a query, from the public search API: title, article link, a plain-text snippet around the match, word count, size in bytes, when the article was last edited, and the page id. `query` is the search text; `lang` the Wikipedia edition (en, de, ja, …; letters only); `limit` the number of results, up to 50 in one call.","docs":"/tools/wikipedia-search","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"pageid":29414838,"size":115777,"snippet":"Rust is a general-purpose programming language that emphasizes perfor…","title":"Rust (programming language)","updated":"2026-08-29T05:39:35Z","url":"https://en.wikipedia.org/wiki/Rust_%28programming_language%29","words":10586},{"pageid":81297551,"size":16807,"snippet":"topical guide to Rust: Rust is a multi-paradigm programming language …","title":"Outline of the Rust programming language","updated":"2026-05-27T12:01:42Z","url":"https://en.wikipedia.org/wiki/Outline_of_the_Rust_programming_language","words":1080}],"took_ms":572,"tool":"wikipedia-search","usage":{"credits":0.5}},"credits":0.5,"more":3,"rows":5,"took_ms":572},"input":{"lang":"en","limit":10,"query":"rust programming language"},"label":"rust programming language, en, 10"},{"input":{"lang":"en","limit":5,"query":"rust programming language"},"label":"rust programming language, en, 5"}],"id":"wikipedia-search","input_schema":{"additionalProperties":true,"properties":{"lang":{"default":"en","description":"`lang` the Wikipedia edition (en, de, ja, …","type":"string"},"limit":{"default":10,"description":"`limit` the number of results, up to 50 in one call.","type":"integer"},"query":{"description":"`query` is the search text","type":"string"}},"required":["query"],"type":"object"},"inputs":[{"example":"rust programming language","help":"`query` is the search text","name":"query","required":true,"type":"string"},{"advanced":true,"default":"en","example":"en","help":"`lang` the Wikipedia edition (en, de, ja, …","name":"lang","type":"string"},{"advanced":true,"default":10,"example":10,"help":"`limit` the number of results, up to 50 in one call.","name":"limit","type":"integer"}],"kind":"sites","name":{"lead":"Wikipedia","rest":"search"},"output":{"fields":[{"meaning":"The article's title","name":"title","type":"string"},{"meaning":"The article's page on Wikipedia","name":"url","type":"string"},{"meaning":"The lines of the article that match the search","name":"snippet","type":"string"},{"meaning":"How many words the article has","name":"words","type":"integer"},{"meaning":"The article's size in bytes","name":"size","type":"integer"},{"meaning":"When the article last changed, ISO 8601 UTC","name":"updated","type":"string"},{"meaning":"Wikipedia's id of the article","name":"pageid","type":"integer"}],"row_is":"","view":"rows"},"related":[{"id":"wikipedia-article","why":"Title, description, summary, thumbnail, sections, updated, lang"},{"id":"arxiv-search","why":"Title, authors, abstract, PDF, published, category"},{"id":"extract","why":"For a page no tool is built for: say the rows you want."}],"run":"sync","source":"wikipedia","status":"verified","summary":"Title, snippet, words, size, updated, pageid","synonyms":["articles","matching","query","search","wikipedia","search wikipedia","find an article","wiki search"],"typical":"1.3 s","version":1,"visibility":"public"}