---
title: "Celestial Object Search (Deprecated)"
method: POST
path: "/api/celestial-objects/search"
tags: ["Starmap", "RSI-Website", "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

- 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

- **2026-03-29** `8ff40d443bb4` — 1 breaking, 1 warning, 2 info
  - the response's body type 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.dev/starcitizenwiki/apis/star-citizen-wiki-api/revisions/5cd81baa02cb?raw)
