GET
/v1/entities/{id}
v1Get a single entity
Retrieve a single entity by its numeric ID or slug.
Parameters
| Name | Type | Description |
|---|---|---|
id required | string | Entity ID (integer) or slug (string) e.g. john-roberts |
id required stringEntity ID (integer) or slug (string)
e.g. john-roberts
Request Examples
bash
curl "https://api.newsrank.ai/v1/entities/john-roberts" \
-H "Authorization: Bearer nrf_your_api_key"Response
json
{
"id": 892,
"name": "John Roberts",
"type": "person",
"subcategory": "politician",
"slug": "john-roberts",
"description": "Chief Justice of the United States",
"image_url": "https://example.com/images/roberts.jpg",
"wikidata_id": "Q11204",
"wikipedia_url": "https://en.wikipedia.org/wiki/John_Roberts",
"article_count": 234,
"aliases": [
"Chief Justice Roberts",
"J. Roberts"
],
"enriched": true
}Try it
Server
Using sandbox demo key (5 req/min) — no signup required
Authentication
Demo key (sandbox)
Endpoint
GET /v1/entities/{id}