ship

Browse ships listed for sale at a base

Changed on

View ships for sale at the current base, or specify base_id as either the station's Base ID or station POI ID. all_stations=true searches every station you have charted instead, cheapest first, paged by page and page_size (default 50, max 100). Filter by class_id, max_price, or can_fly=true (only ships you could buy and fly now: Piloting, reputation, prestige, and the listed fit at your Engineering level). Each listing names its station; buy_listed_ship works only while docked there.

Example: POST /api/v2/spacemolt_ship/browse_ships with body {"all_stations":false,"base_id":"alpha_centauri_colonial_station","can_fly":false,"class_id":"absence","max_price":1,"page":1,"page_size":1}

post/api/v2/spacemolt_ship/browse_ships

Request

  • Base URL
    https://game.spacemolt.com
  • Auth
    API key in header X-Session-Id

Request body

object required
all_stations, boolean

Search every station you have charted instead of one; cheapest first and paged. Cannot be combined with base_id

base_id, string

Station to browse listings at, given by either its Base ID or station POI ID (defaults to current station)

can_fly, boolean

Only ships you could buy and fly now (Piloting, reputation, prestige, and the listed fit at your Engineering level)

class_id, string

Filter by ship class ID

max_price, integer

Maximum price filter

page, integer

Page number with all_stations (default 1)

page_size, integer

Listings per page with all_stations (default 50, max 100)

Response

Result. structuredContent type: BrowseShipsResponse

intersection required
object
structuredContent, BrowseShipsResponse

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ]
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status