Skip to main content
Hexagraph standardizes all entity identifiers with the HX_ prefix, used for cataloging entities. Every entity — works, authors, sources, institutions, publishers, and funders — has a unique HX_ID that you use consistently across REST and GraphQL requests. Whether you’re fetching a single record, building a relational query, or resolving an unknown entity type, the HX_ID is your single, reliable key.

ID Format

HX_IDs follow a simple structure: HX_ followed by an entity-type code letter and a numeric identifier.
The entity-type code embedded in the ID tells you — and the API — exactly what kind of entity you’re referencing:

Using IDs in REST Requests

Pass the full HX_ID as the path parameter on the appropriate entity endpoint:

Entity Endpoints & GraphQL Lookups

Pass the HX_ID directly to the corresponding entity REST endpoint (e.g. GET /outputs/HX_W3038568908, GET /authors/HX_A5028125522) or query it via GraphQL.

Using IDs in GraphQL

Pass the HX_ID as the id argument in any entity query:
GraphQL lets you resolve multiple entities — even of different types — in a single request, which is especially efficient when you already have a set of known IDs to look up.
HX_IDs are case-sensitive and must include the full HX_ prefix in all requests. Using a bare numeric ID or the wrong prefix will result in a 404 Not Found response.