Skip to content
AsteriaStar
Open Data API · v0

Relationships API

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

GET/api/v0/relationships
Implemented

Paginated list of typed, domain-tagged relationships. Filter by relation type, domain, or a specific from/to entity id.

ParameterInTypeDescription
typequerystringFilter by relation type.
domainquerystringFilter by domain (science, culture, astrology).
fromquerystringFilter to relationships originating at this entity id.
toquerystringFilter to relationships pointing at this entity id.
limitqueryintegerMaximum results to return (default 200, max 2000).
offsetqueryintegerNumber of results to skip for pagination.

Returns

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

Try it

/api/v0/relationships?from=planet:mars
GET/api/v0/relationships/{id}
Planned

Planned. Relationship ids (from|type|to) are not URL-safe as path segments; today, filter the list endpoint by from/to/type instead.

ParameterInTypeDescription
id*pathstringRelationship id (from|type|to).

Returns

Relationship

← All endpoints