View the market at the current station or another charted station
Changed onMust be docked. Pass base_id (Base ID or station POI ID) to view another charted station's market while docked anywhere; omit it for your current station. Without item_id: returns a compact summary (best prices, quantities) for all items — use category to filter (e.g. 'ore', 'commodity', 'module'). With item_id: returns full order book depth for that item. Accepts item_id or item name (e.g. 'Iron Ore'). Every response includes current_tick. Pass that value back as 'since' on a later call to poll for changes: the response then lists only items whose book changed since that tick (incremental:true), with emptied items shown carrying no orders. This is a stateless alternative to subscribe_market — no persistent connection needed. Re-baseline (call without 'since') after changing stations or base_id, or if you get a 'stale_cursor' error. Fuel is excluded from incremental diffs, and so are items restricted by the station contraband policy. Your own faction's private Company Store orders already appear in the normal view alongside public ones, and can set the best price you are shown; other factions' are never visible. Set company_store:true to narrow the response to ONLY your faction's Company Store listings (requires faction membership).
Example: POST /api/v2/spacemolt_market/view_market with body {"category":"ore"}
Request
- Base URLhttps://game.spacemolt.com
- AuthAPI key in header X-Session-Id
Request body
Optional: Base ID or station POI ID of another charted station to view while docked anywhere. Omit for your current station.
Optional: filter summary by category (e.g., ore, commodity, weapon, module). Use without item_id.
Optional: narrow the response to ONLY your faction's private Company Store listings. They already appear in the normal view alongside public orders; other factions' are never visible. Requires faction membership.
Optional: filter to a specific item for full order book depth (e.g., iron_ore)
Optional: a prior current_tick. Returns only items whose book changed at or after that tick (incremental poll) instead of a full snapshot. Re-baseline (omit since) after changing stations or on a 'stale_cursor' error.
Response
Result. structuredContent type: ViewMarketResponse
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]/fuelto the response with the status
- info
- info
added the new optional request property
base_id - info
added the optional property
allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearingto the response with the status
- info