{
  "success": true,
  "data": {
    "name": "wiki.org.ai",
    "version": "0.1.0",
    "description": "Wikidata API powered by ParqueDB and Cloudflare Workers",
    "documentation": "https://wiki.org.ai/docs",
    "endpoints": {
      "entity": {
        "GET /entity/:qid": "Get entity by QID",
        "GET /entity/:qid/claims/:property": "Get specific claims for an entity",
        "GET /entities?ids=Q1,Q2,Q3": "Batch entity lookup (max 50)"
      },
      "search": {
        "GET /search?q=&lang=&type=&limit=": "Search entities by label",
        "GET /autocomplete?q=&lang=&limit=": "Autocomplete suggestions"
      },
      "lookup": {
        "GET /lookup/:property/:value": "Lookup by external ID (e.g., /lookup/P345/tt0111161)"
      },
      "geo": {
        "GET /geo/nearby?lat=&lng=&radius=": "Find entities near a point",
        "GET /geo/within?bounds=": "Find entities in bounding box"
      },
      "types": {
        "GET /types/:qid/instances?limit=": "Get instances of a type"
      },
      "related": {
        "GET /related/:qid/:property": "Get related entities"
      },
      "query": {
        "POST /query": "Execute complex query (JSON body)"
      },
      "system": {
        "GET /health": "Health check",
        "GET /manifest": "Data manifest and version info"
      }
    },
    "externalIdAliases": {
      "imdb": "P345",
      "spotify": "P1902",
      "twitter": "P2002",
      "orcid": "P496",
      "geonames": "P1566"
    }
  },
  "meta": {
    "timestamp": "2026-04-21T20:16:30.764Z",
    "cached": false
  }
}