---
title: "Celestial Object Search (Deprecated)"
method: POST
path: "/api/celestial-objects/search"
tags: ["Starmap", "Search"]
deprecated: true
---

# Celestial Object Search (Deprecated)

`POST /api/celestial-objects/search`

> **Deprecated.**

Deprecated. Use GET /api/celestial-objects?filter[name]={value} for name search. This endpoint will be removed in a future version.

## Query parameters

- `page` integer
- `page[number]` integer
- `page[size]` integer

## Request body

- object
  - `query` string

## Response `200`

List of matching Celestial Objects

- 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

## Changes

> 50 revisions in range; 1 could not be searched.

- **2026-05-21** `af03a6ba771d` — 1 breaking, 3 info
  - the response's body type/format changed from `array`/`` to `object`/`` for status `200`
  - api operation id `34134c8a7a8bb87a6c6f905cbce9ed42` removed and replaced with `searchCelestialObjectsDeprecated`
  - api tag `RSI-Website` removed
  - added the optional property `data` to the response with the `200` status
- **2026-03-29** `8ff40d443bb4` — 1 breaking, 1 warning, 2 info
  - the response's body type/format changed from `object`/`` to `array`/`` for status `200`
  - removed the optional property `data` from the response with the `200` status
  - api operation id `searchCelestialObjectsDeprecated` removed and replaced with `34134c8a7a8bb87a6c6f905cbce9ed42`
  - api tag `RSI-Website` added

[Change history](https://skmtc.dev/starcitizenwiki/apis/star-citizen-wiki-api/changes/api/celestial-objects/search/post.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-service-production.skmtc.workers.dev/v1/apis/starcitizenwiki/star-citizen-wiki-api/revisions/8b259bb9a44c/schema)
