OA: prefix, derived from OpenAlex IDs. Every entity — works, authors, sources, institutions, publishers, and funders — has a unique OA: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 OA:ID is your single, reliable key.
ID Format
OA:IDs follow a simple structure:OA: followed by an entity-type code letter and a numeric identifier.
| Prefix | Entity Type | Example |
|---|---|---|
OA:W | Works (Outputs) | OA:W2107277218 |
OA:A | Authors | OA:A5086208034 |
OA:S | Sources | OA:S137773608 |
OA:I | Institutions | OA:I1290206310 |
OA:P | Publishers | OA:P4310320595 |
OA:F | Funders | OA:F4320306076 |
Using IDs in REST Requests
Pass the full OA:ID as the path parameter on the appropriate entity endpoint:Root-Level Entity Resolution
If you have an OA:ID but don’t want to specify the entity type yourself, you can resolve it at the root level. Hexagraph will inspect the ID prefix and automatically redirect or resolve the request to the correct entity endpoint:Using IDs in GraphQL
Pass the OA:ID as theid argument in any entity query:
OA:IDs are case-sensitive and must include the full
OA: prefix in all requests. Using a bare numeric ID or the wrong prefix will result in a 404 Not Found response.