# Wikipedia articles matching a query

Provider: Crawl4AI
Final price: $0.00015/success
Success rate: 100%

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. Columns: title, url, snippet, words, size, updated, pageid.

## Parameters

- lang (string, optional)
- limit (integer, optional)
- query (string, required)

## Example

```curl
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.wikipedia.search.articles' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"query":"rust programming language"}'
```

[View on Toolswitch](https://toolswitch.dev/zh/tools/crawl4ai.wikipedia.search.articles)
