Catalog/kb-wikipedia-random

Data

Random Wikipedia article API

Fetch a randomly selected Wikipedia article via the REST summary endpoint (keyless) and return a clean title, description, extract, thumbnail, and URL. Answers 'give me a random Wikipedia article', 'random fact', 'surprise me', 'show me something interesting'.

Price$0.01per request
MethodPOST
Route/v1/data/kb-wikipedia-random
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
datawikipediarandomarticlefactdiscoverywikimediasummary
API URLhttps://x402.hexl.dev/v1/data/kb-wikipedia-random
Integration docs
Example request
{
  "lang": "en"
}
Example response
{
  "title": "Wollemia",
  "description": "genus of coniferous trees",
  "extract": "Wollemia is a genus of coniferous trees in the family Araucariaceae.",
  "type": "standard",
  "language": "en",
  "thumbnailUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/x/Wollemia.jpg",
  "url": "https://en.wikipedia.org/wiki/Wollemia"
}
Input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "lang": {
      "type": "string",
      "default": "en",
      "examples": [
        "en"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}