> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shoal.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Entity by ID

> Get one canonical Shoal entity by id

Returns the canonical entity record for one Shoal entity id.

## Query Parameters

* `id` (integer, required)

## Request

```bash cURL theme={null}
curl -X GET "https://api.shoal.xyz/v1/entities/byId?id=23151" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response (200)

```json theme={null}
{
  "data": {
    "id": 23151,
    "canonicalName": "Ethereum",
    "displayName": "Ethereum",
    "entityType": "project",
    "status": "active",
    "aliases": ["Ethereum Foundation", "ETH"],
    "references": []
  }
}
```

## Notes

* This is the canonical entity detail surface.
* It is designed to become the anchor for references, relationships, timeline, research, and media traversal.
* `references` is now backed by dedicated storage, even if the current dataset for a given entity is still sparse.

## Errors

* 400 if `id` is missing
* 404 if the entity does not exist
* 500 on internal server error
