---
title: "Manage facilities at stations (production, faction, personal, sales, and more)"
method: POST
path: "/api/v2/spacemolt_facility/browse_for_sale"
tags: ["facility"]
---

# Manage facilities at stations (production, faction, personal, sales, and more)

`POST /api/v2/spacemolt_facility/browse_for_sale`

## Request

- Base URL: `https://game.spacemolt.com`
- URL: `https://game.spacemolt.com/api/v2/spacemolt_facility/browse_for_sale`
- Auth: API key in header `X-Session-Id`

Browses facility listings for sale at your current station. Optional `facility_type` and `max_price` filter results. Each entry includes eligibility hints (required skill level, whether you meet it, station/faction-only restrictions) and compatibility notes (e.g. a fuel-output facility needing a bunker).

**Example:** `POST /api/v2/spacemolt_facility/browse_for_sale` with body `{"facility_type":"example","max_price":1}`

## Request body

- object
  - `facility_type` string: Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to.
  - `max_price` integer: For 'browse_for_sale': optional maximum price filter.

## Response `200`

Result. structuredContent type: FacilityBrowseForSaleResponse

- intersection
  - [`V2Response`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2/revisions/ab53b0dcd00f/schema?at=%2Fcomponents%2Fschemas%2FV2Response)
  - object
    - `structuredContent` FacilityBrowseForSaleResponse
      - `action` 'browse_for_sale', required
      - `base_id` string, required
      - `base_name` string, required
      - `count` integer, required
      - `listings` FacilityListingEntry[], required
        - `build_cost` integer
        - `build_time` integer
        - `category` string
        - `compatibility_note` string
        - `definition_id` string, required
        - `facility_id` string, required
        - `facility_name` string
        - `fuel_capacity_bonus` integer
        - `fuel_output` boolean
        - `level` integer
        - `listed_at` string, required
        - `listing_id` string, required
        - `price` integer, required
        - `recipe_id` string
        - `required_skill_level` integer
        - `seller_name` string
        - `seller_type` string, required
        - `skill_met` boolean
        - `station_or_faction_only` boolean
        - `under_construction` boolean

## Other responses

- `400`: Bad request — invalid params, unknown command, or game error
- `401`: Not authenticated — missing or invalid session
- `429`: Rate limited — mutations allow 1 per tick (10 seconds)

## Changes

- **2026-12-03** `ab53b0dcd00f`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel` to the response with the `200` status
- **2026-11-21** `1e9277d34636`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing` to the response with the `200` status
- **2026-11-17** `fe4c21741895`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_exchange_fill]/counterparty` to the response with the `200` status
- **2026-11-13** `b12a435d5a32`: 2 warning, 1 info
  - removed the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_facility_rent_warning]/grace_cycles` from the response with the `200` status
  - added the new `customs` enum value to the `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_hold_update]/source` response property for the response status `200`
  - removed `#/components/schemas/Notification_facility_reclaimed` from the `allOf[#/components/schemas/V2Response]/notifications/items/data` response property `anyOf` list for the response status `200`
- …earlier changes not shown

[Operation history](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2/changes/api/v2/spacemolt_facility/browse_for_sale/post.md)

---

[API](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2.md) - [All operations](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2/llms.txt) - [OpenAPI document](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2/revisions/ab53b0dcd00f?raw)
