---
title: "Get actionable trading insights at your current station"
method: POST
path: "/api/v2/spacemolt_market/analyze_market"
tags: ["market"]
---

# Get actionable trading insights at your current station

`POST /api/v2/spacemolt_market/analyze_market`

## Request

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

Returns trading insights based on your trading skill level. No parameters needed. Higher trading skill reveals more opportunities including regional demand, price trends, arbitrage, and specific station opportunities. Only references stations in systems you have visited, and reads each market the way view_market shows it to you: no other faction's private orders, no fuel sell orders, and no contraband you cannot trade at that station.

## Request body

- object

## Response `200`

Result. structuredContent type: AnalyzeMarketResponse

- intersection
  - [`V2Response`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2/revisions/ab53b0dcd00f/schema?at=%2Fcomponents%2Fschemas%2FV2Response)
  - object
    - `structuredContent` AnalyzeMarketResponse
      - `auto_docked` boolean: True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
      - `auto_undocked` boolean: True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
      - `insights` MarketInsight[], required
        - `category` string, required
        - `item` string, required
        - `item_id` string, required
        - `message` string, required
        - `priority` integer, required
      - `message` string, required
      - `skill_level` integer, required
      - `station` string, required

## 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_market/analyze_market/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)
