Authenticated REST API for Timiverse universe lore data. All endpoints require Authorization: Bearer <api_key>.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/lore | Index of all available lore categories |
| GET | /api/lore/intro | Universe introduction |
| GET | /api/lore/corporations | Business verticals, megacorps, shadowcorps |
| GET | /api/lore/corporations/verticals | Business verticals only |
| GET | /api/lore/corporations/megacorps | Megacorporations only — supports ?tags=, attribute filters |
| GET | /api/lore/corporations/megacorps/[slug]/divisions | All divisions for a single megacorp |
| GET | /api/lore/corporations/shadowcorps | Shadow corporations only |
| GET | /api/lore/corporations/divisions | All corporate divisions — supports ?type=, ?sector=, ?tags=, attribute filters |
| GET | /api/lore/financials | Commodity metals & materials pricing |
| GET | /api/lore/movement | Ship classes & fleet vessels |
| GET | /api/lore/routes | All trade lanes |
| GET | /api/lore/routes/[id] | Single trade lane by ID |
| GET | /api/lore/sectors | All sectors with planets |
| GET | /api/lore/sectors/[slug] | Single sector (agriculture, bioatmosphere, hazard, hightech, industrial, rawresource, shadow) |
| GET | /api/lore/sectors/[slug]/planets | Planets in a sector |
| GET | /api/lore/sectors/[slug]/planets/[name] | Single planet by name |
| GET | /api/lore/planets | All planets across all sectors |
| GET | /api/lore/planets/[name] | Single planet by name — no sector required |
| GET | /api/lore/planets/[name]/cultures | Cultures for a single planet |
| GET | /api/lore/planets/[name]/government | Governments for a single planet |
| GET | /api/lore/planets/[name]/cities | Major cities for a single planet |
| GET | /api/lore/planets/[name]/spaceports | Spaceports for a single planet |
| GET | /api/lore/routes/[id]/spaceports | Waystation spaceports on a trade lane |
| GET | /api/lore/cultures | All cultures — supports ?planet=, ?tags=, attribute filters |
| GET | /api/lore/governments | All governments — supports ?planet=, ?tags=, attribute filters |
| GET | /api/lore/cities | All major cities — supports ?planet=, ?continent=, ?tags=, attribute filters |
| GET | /api/lore/spaceports | All spaceports (planet + trade lane) — supports ?planet=, ?lane=, ?tags=, attribute filters |
| GET | /api/lore/characters | All characters / NPCs — supports ?tags=, ?status=, ?home_planet=, ?affiliation_type= |
| GET | /api/lore/characters/[slug] | Single character by slug |
| GET | /api/lore/context | Cross-entity context query — planets, corps, trade lanes, commodities, characters matching given tags |
| GET | /api/lore/tags | Full tag vocabulary with usage counts for the active pack |
| GET | /api/lore/attributes | Attribute vocabulary — allowed values and usage counts |
| GET | /api/lore/technology | Technology era, travel, weapons, defense, computing |