Catalog/kb-related-entities

Data

Related entities from Wikidata API

Resolve an entity and return its outgoing relationships from Wikidata (keyless) grouped by curated property — instance of, subclass of, part of, has part, follows/followed by, influenced by, member of, named after, manufacturer — each with human-readable labels and QIDs. Answers 'what is X related to', 'what is X part of', 'what influenced X', 'what are X's connections'.

Price$0.01per request
MethodPOST
Route/v1/data/kb-related-entities
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
datawikidatarelatedgraphrelationshipsentityknowledge-graphlinks
API URLhttps://x402.hexl.dev/v1/data/kb-related-entities
Integration docs
Example request
{
  "query": "artificial intelligence",
  "limitPerProp": 10
}
Example response
{
  "id": "Q11660",
  "name": "artificial intelligence",
  "description": "intelligence demonstrated by machines",
  "relationCount": 3,
  "relations": [
    {
      "property": "subclass of",
      "propertyId": "P279",
      "entities": [
        {
          "id": "Q11862829",
          "label": "academic discipline"
        }
      ]
    },
    {
      "property": "part of",
      "propertyId": "P361",
      "entities": [
        {
          "id": "Q21198",
          "label": "computer science"
        }
      ]
    }
  ],
  "url": "https://www.wikidata.org/wiki/Q11660"
}
Input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "examples": [
        "artificial intelligence",
        "Q11660"
      ]
    },
    "limitPerProp": {
      "type": "number",
      "default": 10
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}