Skip to content
AsteriaStar
Open Data API · v0

Entities API

Read-only entities endpoints, backed by the Scientific Data Engine.

GET/api/v0/entities
Implemented

Paginated list of canonical entities, sorted by stable id. Every item carries its id, type, name, domain, and canonical path.

ParameterInTypeDescription
typequerystringFilter by entity type (e.g. star, planet, galaxy).
domainquerystringFilter by domain (science, culture, astrology).
limitqueryintegerMaximum results to return (default 100, max 1000).
offsetqueryintegerNumber of results to skip for pagination.

Returns

{ total, offset, limit, count, items: Entity[] }

Try it

/api/v0/entities?type=planet&limit=8
GET/api/v0/entities/{id}
Implemented

Resolve a single entity by its stable id, including its typed relationships (with direction and the entity on the other end).

ParameterInTypeDescription
id*pathstringStable entity id (type:slug).

Returns

Entity & { relationships: RelationshipEdge[] }

Try it

/api/v0/entities/planet:mars

← All endpoints