---
title: "Search your faction's market price database, or an allied faction's"
method: POST
path: "/api/v2/spacemolt_intel/query_trade_intel"
tags: ["intel"]
---

# Search your faction's market price database, or an allied faction's

`POST /api/v2/spacemolt_intel/query_trade_intel`

## Request

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

Query by base_id or station_name; base_id accepts either the station's Base ID or station POI ID. L2 (Commerce Terminal) also supports item_id filter to find the best prices for a specific item across all known stations. Auto-synced entries hold what view_market showed an online member docked there: other factions' private orders, fuel sell orders, and contraband that member could not trade are left out. Paginate with offset and limit (default 20, max 50). Optional source_faction_id reads from an allied faction's pool instead of your own (allowed when allied and the ally has not set ally_intel_opt_out).

**Example:** `POST /api/v2/spacemolt_intel/query_trade_intel` with body `{"base_id":"confederacy_central_command","source_faction_id":"..."}`

## Request body

- object
  - `base_id` string: Filter by station Base ID or station POI ID
  - `item_id` string: Filter by item ID (requires L2 Commerce Terminal)
  - `limit` integer: Max results (default 20, max 50)
  - `offset` integer: Pagination offset
  - `source_faction_id` string: Optional ally faction whose trade intel pool to read (defaults to own faction). Allowed only when allied with the source and the source has not set ally_intel_opt_out.
  - `station_name` string: Filter by station name

## Response `200`

Result. structuredContent type: FactionQueryTradeIntelResponse

- intersection
  - [`V2Response`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2/revisions/ab53b0dcd00f/schema?at=%2Fcomponents%2Fschemas%2FV2Response)
  - object
    - `structuredContent` FactionQueryTradeIntelResponse
      - `entries` TradeIntelEntry[], required
        - `auto_synced` boolean
        - `base_id` string, required
        - `items` TradeIntelItem[], required
          - `best_buy` integer, required
          - `best_sell` integer, required
          - `buy_volume` integer, required
          - `item_id` string, required
          - `item_name` string, required
          - `sell_volume` integer, required
        - `station_name` string, required
        - `submitted_at_tick` integer, required
        - `submitted_by` string, required
        - `submitter_name` string, required
        - `system_id` string, required
      - `intel_level` integer, required
      - `limit` integer
      - `offset` integer
      - `showing` integer, required
      - `total` integer, 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_intel/query_trade_intel/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)
