---
title: "Celestial Object Detail"
method: GET
path: "/api/celestial-objects/{code}"
tags: ["Starmap"]
---

# Celestial Object Detail

`GET /api/celestial-objects/{code}`

Retrieve a celestial object by code, optionally including relations.

## Path parameters

- `code` string, required — Celestial Object code (e.g., NYX.JUMPPOINTS.BREMEN)

## Query parameters

- `include` string

## Response `200`

A Celestial Object

- object
  - `data` CelestialObject
    - `id` integer
    - `code` string
    - `system_id` integer
    - `celestial_object_api_url` string
    - `web_url` string
    - `name` string
    - `type` string
    - `age` integer
    - `habitable` boolean
    - `fairchanceact` boolean
    - `appearance` string
    - `designation` string
    - `distance` number, float
    - `latitude` number, float
    - `longitude` number, float
    - `axial_tilt` number, float
    - `orbit_period` number, float
    - `info_url` string
    - `description` object
    - `sensor` object
      - `population` number, float
      - `economy` number, float
      - `danger` number, float
    - `size` number, float
    - `parent_id` integer
    - `starsystem` object, nullable
      - `id` integer, nullable
      - `code` string, nullable
      - `name` string, nullable
    - `time_modified` string

## Other responses

- `404` — No Celestial Object with specified code found.

## Changes

- **2026-05-21** `af03a6ba771d` — 24 warning, 4 info
  - removed the optional property `age` from the response with the `200` status
  - removed the optional property `appearance` from the response with the `200` status
  - removed the optional property `axial_tilt` from the response with the `200` status
  - removed the optional property `celestial_object_api_url` from the response with the `200` status
  - …24 more
- **2026-03-29** `8ff40d443bb4` — 1 breaking, 1 warning, 26 info
  - removed the media type `application/json` for the response with the status `404`
  - removed the optional property `data` from the response with the `200` status
  - api operation id `getCelestialObject` removed and replaced with `a56221ed3240e9c31bd996fb9cf85248`
  - api tag `RSI-Website` added
  - …24 more

[Change history](https://skmtc.dev/starcitizenwiki/apis/star-citizen-wiki-api/changes/api/celestial-objects/:code/get.md)

---

[API](https://skmtc.dev/starcitizenwiki/apis/star-citizen-wiki-api.md) · [All operations](https://skmtc.dev/starcitizenwiki/apis/star-citizen-wiki-api/llms.txt) · [OpenAPI document](https://skmtc.dev/starcitizenwiki/apis/star-citizen-wiki-api/revisions/c1df9b1bab38?raw)
