Catalog/kb-infobox

Data

Parse a Wikipedia page's infobox facts API

Extract the infobox template from a Wikipedia article via the MediaWiki parse API (keyless) and flatten its field/value pairs into a clean key-value map, with wiki markup, refs, links, and templates stripped. Answers 'what are the key facts about X', 'X's infobox', 'structured facts from the X Wikipedia page', 'summarize the X infobox'.

Price$0.01per request
MethodPOST
Route/v1/data/kb-infobox
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
datawikipediainfoboxfactsparsestructuredmediawikiwikimedia
API URLhttps://x402.hexl.dev/v1/data/kb-infobox
Integration docs
Example request
{
  "title": "Mount Everest"
}
Example response
{
  "title": "Mount Everest",
  "found": true,
  "fieldCount": 4,
  "fields": {
    "elevation_m": "8848.86",
    "prominence_m": "8848.86",
    "range": "Mahalangur Himal, Himalayas",
    "first_ascent": "29 May 1953"
  },
  "url": "https://en.wikipedia.org/wiki/Mount_Everest"
}
Input schema
{
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "title": {
      "type": "string",
      "examples": [
        "Mount Everest"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}