Data tools / FX, rates, news, weather and knowledge

Knowledge search API: Wikipedia articles for a topic

Use when you need knowledge search for facts about a topic, person, place, company, coin or concept: top Wikipedia articles for q= with title, short description, lead-section extract, article URL and Wikidata ID, in 25 languages. A web-search alternative for encyclopedic facts: it searches Wikipedia only, not the whole web. CC BY-SA 4.0 attribution in every result. $0.001 per call (USDC or USDT). Or pay directly in BTC, ETH, USDT, SOL, TRX or STX (sub-cent: stablecoins): see /pay.

Price and access

Request

curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/knowledge/search?q=bitcoin&limit=5'
ParameterRequiredWhat it is
qyessearch query: a topic, name or question
limitnonumber of articles
langnoWikipedia language edition

Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.

Example answer

{
  "query": "bitcoin",
  "lang": "en",
  "count": 1,
  "results": [
    {
      "rank": 1,
      "title": "Bitcoin",
      "description": "Decentralized digital cryptocurrency",
      "descriptionSource": "wikipedia",
      "extract": "Bitcoin (abbreviation: BTC; sign: ₿) is the first decentralized cryptocurrency. Based on a free-market ideology, bitcoin was invented in 2008 when an unknown person published a white paper under the pseudonym of Satoshi Nakamoto.",
      "url": "https://en.wikipedia.org/wiki/Bitcoin",
      "historyUrl": "https://en.wikipedia.org/w/index.php?curid=28249265&action=history",
      "pageId": 28249265,
      "lastRevisionId": 1378636617,
      "lastTouched": "2026-10-05T18:54:53Z",
      "wikidataId": "Q131723",
      "wikidataUrl": "https://www.wikidata.org/wiki/Q131723",
      "license": "CC BY-SA 4.0",
      "licenseUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
      "attribution": "\"Bitcoin\" from Wikipedia (en), https://en.wikipedia.org/wiki/Bitcoin, by its contributors, CC BY-SA 4.0"
    }
  ],
  "source": {
    "name": "Wikipedia (en)",
    "api": "https://en.wikipedia.org/w/api.php",
    "fetchedAt": "2026-10-06T10:12:30.000Z",
    "cached": false
  },
  "attribution": {
    "text": "Text from Wikipedia, the free encyclopedia, by its contributors (authors: see each result's historyUrl), licensed under CC BY-SA 4.0; reuse of these extracts must keep the same licence and credit. Wikidata IDs are CC0. P0 is not affiliated with or endorsed by the Wikimedia Foundation.",
    "license": "CC BY-SA 4.0",
    "licenseUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
    "changes": "Plain-text extract of the lead section (first 3 sentences, at most 1200 characters); formatting, links and references removed.",
    "wikidataLicense": "CC0 1.0",
    "wikidataLicenseUrl": "https://creativecommons.org/publicdomain/zero/1.0/"
  },
  "note": "Encyclopedic search over Wikipedia articles (not a general web search engine). Results are ranked by Wikipedia's own search. Check the linked article for current details."
}

Free sample, no payment: /knowledge/search/sample. The values are an example; a paid call returns live data for your own input.

Use it from an AI assistant (MCP)

Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/fx-rates-news-weather-data, tool knowledge_search. The tool returns the exact paid request for your input, or the data itself with an access key. All tools on one server: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp.

Related tools

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools