跳至內容
OpenAPI 3.11.0.0無需驗證

Ultros Market API

Unauthenticated HTTP and WebSocket API for real-time Final Fantasy XIV market board listings, sale history, server-bucketed price charts, undercut pressure, arbitrage deals, market trends, and world metadata. All endpoints listed here require no login or API key. Please respect `Cache-Control` headers and pass `?format=columnar` on bulk endpoints (`cheapest`, `recentSales`, `sale_stats`, `listing_stats`) when fetching full-market snapshots.

基礎 URL
https://ultros.app
{world} 範圍

可接受伺服器(Gilgamesh)、資料中心(Aether)或區域(North-America)。

批次與快取

批次端點支援 ?format=columnar,並遵循標準 HTTP Cache-Control。

共 29 個端點,顯示 29 個

Market Data

Live market board listings, recent sales, bulk snapshots, and real-time WebSocket streams.

Price History & Charts

Server-bucketed price/volume series, sale density heatmaps, listing floor history, and undercut pressure.

Market Analytics

Cross-world arbitrage flips, trends, 24h KPIs, movers, sparklines, and bulk sale/listing statistics.

Retainers

Unauthenticated retainer search and active listing lookups.

Worlds, Search & Metadata

World hierarchy, full-text search, FFXIV patch calendar, changelog, region detection, and Web Push public key.

資料模型

上述端點回傳或接受的 80 個 OpenAPI 元件結構描述。

ActiveListingobject
object

This mostly matches with the ultros-db/entity type, but doesn't include the sea-orm specifics See [ultros-db::active_listing::Entity]

欄位類型說明
hq*boolean—
id*integer (int64)—
item_id*integer (int32)—
price_per_unit*integer (int32)—
quantity*integer (int32)—
retainer_id*integer (int32)—
timestamp*string (date-time)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "This mostly matches with the ultros-db/entity type, but doesn't include the sea-orm specifics\nSee [ultros-db::active_listing::Entity]",
  "properties": {
    "hq": {
      "type": "boolean"
    },
    "id": {
      "format": "int64",
      "type": "integer"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "price_per_unit": {
      "format": "int32",
      "type": "integer"
    },
    "quantity": {
      "format": "int32",
      "type": "integer"
    },
    "retainer_id": {
      "format": "int32",
      "type": "integer"
    },
    "timestamp": {
      "format": "date-time",
      "type": "string"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "id",
    "world_id",
    "item_id",
    "retainer_id",
    "price_per_unit",
    "quantity",
    "hq",
    "timestamp"
  ],
  "type": "object"
}
BulkListingStatsobject
object
欄位類型說明
stats*ItemListingStats[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "stats": {
      "items": {
        "$ref": "#/components/schemas/ItemListingStats"
      },
      "type": "array"
    }
  },
  "required": [
    "stats"
  ],
  "type": "object"
}
BulkListingStatsColumnarobject
object

Struct-of-arrays wire form of [`BulkListingStats`] — what `/api/v1/listing_stats/{scope}?format=columnar` returns. Row `i` is the `i`th element of every column; the names match [`ItemListingStats`] field for field. The nested per-row [`ListingWindowStats`] is not exploded: on windowed requests it rides as one parallel column of objects, and on current-only requests the key is absent. Rows are emitted in `(item_id, hq)` order for compressibility; decoding does not depend on the order.

欄位類型說明
alive_count*integer (int32)[]—
alive_units*integer (int64)[]—
distinct_retainers*integer (int32)[]—
floor_alive*integer (int32)[]—
hq*boolean[]—
item_id*integer (int32)[]—
median_age_secs*integer (int32)[]—
oldest_reviewed_unix*integer (int64)[]—
windowListingWindowStats[]?—
原始 OpenAPI 結構描述 JSON
{
  "description": "Struct-of-arrays wire form of [`BulkListingStats`] — what\n`/api/v1/listing_stats/{scope}?format=columnar` returns. Row `i` is\nthe `i`th element of every column; the names match\n[`ItemListingStats`] field for field. The nested per-row\n[`ListingWindowStats`] is not exploded: on windowed requests it rides\nas one parallel column of objects, and on current-only requests the\nkey is absent. Rows are emitted in `(item_id, hq)` order for\ncompressibility; decoding does not depend on the order.",
  "properties": {
    "alive_count": {
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "alive_units": {
      "items": {
        "format": "int64",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "distinct_retainers": {
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "floor_alive": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "hq": {
      "items": {
        "type": "boolean"
      },
      "type": "array"
    },
    "item_id": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "median_age_secs": {
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "oldest_reviewed_unix": {
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": "array"
    },
    "window": {
      "items": {
        "$ref": "#/components/schemas/ListingWindowStats"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "item_id",
    "hq",
    "alive_count",
    "alive_units",
    "distinct_retainers",
    "oldest_reviewed_unix",
    "median_age_secs",
    "floor_alive"
  ],
  "type": "object"
}
BulkListingStatsResponseBulkListingStats | BulkListingStatsColumnar
BulkListingStats | BulkListingStatsColumnar

Response for `GET /api/v1/listing_stats/{world}`: row objects by default, or struct-of-arrays when `?format=columnar` is supplied.

變體
BulkListingStats結構描述:BulkListingStats
欄位類型說明
stats*ItemListingStats[]—
BulkListingStatsColumnar結構描述:BulkListingStatsColumnar

Struct-of-arrays wire form of [`BulkListingStats`] — what `/api/v1/listing_stats/{scope}?format=columnar` returns. Row `i` is the `i`th element of every column; the names match [`ItemListingStats`] field for field. The nested per-row [`ListingWindowStats`] is not exploded: on windowed requests it rides as one parallel column of objects, and on current-only requests the key is absent. Rows are emitted in `(item_id, hq)` order for compressibility; decoding does not depend on the order.

欄位類型說明
alive_count*integer (int32)[]—
alive_units*integer (int64)[]—
distinct_retainers*integer (int32)[]—
floor_alive*integer (int32)[]—
hq*boolean[]—
item_id*integer (int32)[]—
median_age_secs*integer (int32)[]—
oldest_reviewed_unix*integer (int64)[]—
windowListingWindowStats[]?—
原始 OpenAPI 結構描述 JSON
{
  "description": "Response for `GET /api/v1/listing_stats/{world}`: row objects by default, or\nstruct-of-arrays when `?format=columnar` is supplied.",
  "oneOf": [
    {
      "$ref": "#/components/schemas/BulkListingStats"
    },
    {
      "$ref": "#/components/schemas/BulkListingStatsColumnar"
    }
  ]
}
BulkListingsResponsemap<string, (object, null | object)[]>
map<string, (object, null | object)[]>

Map from stringified item ID to active `(ActiveListing, Option<Retainer>)` pairs.

對應值
(object, null | object)[]
陣列元素
(object, null | object)
原始 OpenAPI 結構描述 JSON
{
  "additionalProperties": {
    "items": {
      "items": false,
      "prefixItems": [
        {
          "description": "This mostly matches with the ultros-db/entity type, but doesn't include the sea-orm specifics\nSee [ultros-db::active_listing::Entity]",
          "properties": {
            "hq": {
              "type": "boolean"
            },
            "id": {
              "format": "int64",
              "type": "integer"
            },
            "item_id": {
              "format": "int32",
              "type": "integer"
            },
            "price_per_unit": {
              "format": "int32",
              "type": "integer"
            },
            "quantity": {
              "format": "int32",
              "type": "integer"
            },
            "retainer_id": {
              "format": "int32",
              "type": "integer"
            },
            "timestamp": {
              "format": "date-time",
              "type": "string"
            },
            "world_id": {
              "format": "int32",
              "type": "integer"
            }
          },
          "required": [
            "id",
            "world_id",
            "item_id",
            "retainer_id",
            "price_per_unit",
            "quantity",
            "hq",
            "timestamp"
          ],
          "type": "object"
        },
        {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "properties": {
                "id": {
                  "format": "int32",
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "retainer_city_id": {
                  "format": "int32",
                  "type": "integer"
                },
                "world_id": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "world_id",
                "name",
                "retainer_city_id"
              ],
              "type": "object"
            }
          ]
        }
      ],
      "type": "array"
    },
    "type": "array"
  },
  "description": "Map from stringified item ID to active `(ActiveListing, Option<Retainer>)` pairs.",
  "propertyNames": {
    "type": "string"
  },
  "type": "object"
}
BulkSaleStatsobject
object
欄位類型說明
stats*ItemSaleStats[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "stats": {
      "items": {
        "$ref": "#/components/schemas/ItemSaleStats"
      },
      "type": "array"
    }
  },
  "required": [
    "stats"
  ],
  "type": "object"
}
BulkSaleStatsColumnarobject
object

Struct-of-arrays wire form of [`BulkSaleStats`] — what `/api/v1/sale_stats/{scope}?format=columnar` returns. Row `i` is the `i`th element of every column; the names match [`ItemSaleStats`] field for field. Rows are emitted in `(item_id, hq)` order for compressibility; decoding does not depend on the order.

欄位類型說明
avg_price*integer (int32)[]—
confidence*ConfidenceBand[]—
gil_volume*integer (int64)[]—
hq*boolean[]—
item_id*integer (int32)[]—
last_sold_unix*integer (int64)[]—
median_price*integer (int32)[]—
min_price*integer (int32)[]—
num_sold*integer (int64)[]—
sales_per_day*number (float)[]—
units_sold*integer (int64)[]—
vwap*integer (int32)[]—
原始 OpenAPI 結構描述 JSON
{
  "description": "Struct-of-arrays wire form of [`BulkSaleStats`] — what\n`/api/v1/sale_stats/{scope}?format=columnar` returns. Row `i` is the\n`i`th element of every column; the names match [`ItemSaleStats`]\nfield for field. Rows are emitted in `(item_id, hq)` order for\ncompressibility; decoding does not depend on the order.",
  "properties": {
    "avg_price": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "confidence": {
      "items": {
        "$ref": "#/components/schemas/ConfidenceBand"
      },
      "type": "array"
    },
    "gil_volume": {
      "items": {
        "format": "int64",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "hq": {
      "items": {
        "type": "boolean"
      },
      "type": "array"
    },
    "item_id": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "last_sold_unix": {
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": "array"
    },
    "median_price": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "min_price": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "num_sold": {
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": "array"
    },
    "sales_per_day": {
      "items": {
        "format": "float",
        "type": "number"
      },
      "type": "array"
    },
    "units_sold": {
      "items": {
        "format": "int64",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "vwap": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    }
  },
  "required": [
    "item_id",
    "hq",
    "min_price",
    "median_price",
    "avg_price",
    "num_sold",
    "last_sold_unix",
    "units_sold",
    "vwap",
    "gil_volume",
    "sales_per_day",
    "confidence"
  ],
  "type": "object"
}
BulkSaleStatsResponseBulkSaleStats | BulkSaleStatsColumnar
BulkSaleStats | BulkSaleStatsColumnar

Response for `GET /api/v1/sale_stats/{world}`: row objects by default, or struct-of-arrays when `?format=columnar` is supplied.

變體
BulkSaleStats結構描述:BulkSaleStats
欄位類型說明
stats*ItemSaleStats[]—
BulkSaleStatsColumnar結構描述:BulkSaleStatsColumnar

Struct-of-arrays wire form of [`BulkSaleStats`] — what `/api/v1/sale_stats/{scope}?format=columnar` returns. Row `i` is the `i`th element of every column; the names match [`ItemSaleStats`] field for field. Rows are emitted in `(item_id, hq)` order for compressibility; decoding does not depend on the order.

欄位類型說明
avg_price*integer (int32)[]—
confidence*ConfidenceBand[]—
gil_volume*integer (int64)[]—
hq*boolean[]—
item_id*integer (int32)[]—
last_sold_unix*integer (int64)[]—
median_price*integer (int32)[]—
min_price*integer (int32)[]—
num_sold*integer (int64)[]—
sales_per_day*number (float)[]—
units_sold*integer (int64)[]—
vwap*integer (int32)[]—
原始 OpenAPI 結構描述 JSON
{
  "description": "Response for `GET /api/v1/sale_stats/{world}`: row objects by default, or\nstruct-of-arrays when `?format=columnar` is supplied.",
  "oneOf": [
    {
      "$ref": "#/components/schemas/BulkSaleStats"
    },
    {
      "$ref": "#/components/schemas/BulkSaleStatsColumnar"
    }
  ]
}
CategoryHeatobject
object
欄位類型說明
avg_pct_change_24h*number (float)—
band*HeatBand—
category_id*integer (int32)FFXIV ItemSearchCategory.category top-level grouping (1=Weapons, 2=Tools, 3=Armor, 4=Items, 5=Housing).
gil_volume_24h*integer (int64)—
item_count*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "avg_pct_change_24h": {
      "format": "float",
      "type": "number"
    },
    "band": {
      "$ref": "#/components/schemas/HeatBand"
    },
    "category_id": {
      "description": "FFXIV ItemSearchCategory.category top-level grouping\n(1=Weapons, 2=Tools, 3=Armor, 4=Items, 5=Housing).",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "gil_volume_24h": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "item_count": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "category_id",
    "item_count",
    "avg_pct_change_24h",
    "gil_volume_24h",
    "band"
  ],
  "type": "object"
}
ChangelogCategorystring
string
可用值:featuresimprovementsbug_fixes
原始 OpenAPI 結構描述 JSON
{
  "enum": [
    "features",
    "improvements",
    "bug_fixes"
  ],
  "type": "string"
}
ChangelogEntryobject
object

One shipped change. `Cow` so the one type serves both ends of `/api/v1/changelog`: the generated server-side table is entirely `Cow::Borrowed` over string literals in the binary, and the client deserializes owned copies.

欄位類型說明
blurb*string—
category*ChangelogCategory—
date*stringISO YYYY-MM-DD, taken from the filename.
importance*ChangelogImportance—
labs*booleanBehind a Labs toggle: shown with a badge, excluded from what's-new.
linkstring?—
title*string—
原始 OpenAPI 結構描述 JSON
{
  "description": "One shipped change.\n\n`Cow` so the one type serves both ends of `/api/v1/changelog`: the\ngenerated server-side table is entirely `Cow::Borrowed` over string\nliterals in the binary, and the client deserializes owned copies.",
  "properties": {
    "blurb": {
      "type": "string"
    },
    "category": {
      "$ref": "#/components/schemas/ChangelogCategory"
    },
    "date": {
      "description": "ISO YYYY-MM-DD, taken from the filename.",
      "type": "string"
    },
    "importance": {
      "$ref": "#/components/schemas/ChangelogImportance"
    },
    "labs": {
      "description": "Behind a Labs toggle: shown with a badge, excluded from what's-new.",
      "type": "boolean"
    },
    "link": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": "string"
    }
  },
  "required": [
    "date",
    "category",
    "importance",
    "title",
    "blurb",
    "labs"
  ],
  "type": "object"
}
ChangelogImportancestring
string

Declaration order is display priority: high first, then medium, then low.

可用值:highmediumlow
原始 OpenAPI 結構描述 JSON
{
  "description": "Declaration order is display priority: high first, then medium, then low.",
  "enum": [
    "high",
    "medium",
    "low"
  ],
  "type": "string"
}
CheapestListingItemobject
object

"item_id":6605,"hq":false,"cheapest_price":6999999,"world_id":99

欄位類型說明
cheapest_price*integer (int32)—
hq*boolean—
item_id*integer (int32)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "\"item_id\":6605,\"hq\":false,\"cheapest_price\":6999999,\"world_id\":99",
  "properties": {
    "cheapest_price": {
      "format": "int32",
      "type": "integer"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "item_id",
    "hq",
    "cheapest_price",
    "world_id"
  ],
  "type": "object"
}
CheapestListingsobject
object
欄位類型說明
cheapest_listings*CheapestListingItem[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "cheapest_listings": {
      "items": {
        "$ref": "#/components/schemas/CheapestListingItem"
      },
      "type": "array"
    }
  },
  "required": [
    "cheapest_listings"
  ],
  "type": "object"
}
CheapestListingsColumnarobject
object

Struct-of-arrays wire form of [`CheapestListings`] — what `/api/v1/cheapest/{world}?format=columnar` returns. Row `i` is `(item_id[i], hq[i], price[i], world_id[i])`. The server emits rows in `(item_id, hq)` order, which is what makes the columns compress well (~83 KB brotli vs ~150 KB for the row-of-objects shape on a 24k-row region), but decoding does not depend on the order.

欄位類型說明
hq*boolean[]—
item_id*integer (int32)[]—
price*integer (int32)[]—
world_id*integer (int32)[]—
原始 OpenAPI 結構描述 JSON
{
  "description": "Struct-of-arrays wire form of [`CheapestListings`] — what\n`/api/v1/cheapest/{world}?format=columnar` returns. Row `i` is\n`(item_id[i], hq[i], price[i], world_id[i])`. The server emits rows in\n`(item_id, hq)` order, which is what makes the columns compress well\n(~83 KB brotli vs ~150 KB for the row-of-objects shape on a 24k-row\nregion), but decoding does not depend on the order.",
  "properties": {
    "hq": {
      "items": {
        "type": "boolean"
      },
      "type": "array"
    },
    "item_id": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "price": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "world_id": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    }
  },
  "required": [
    "item_id",
    "hq",
    "price",
    "world_id"
  ],
  "type": "object"
}
CheapestResponseCheapestListings | CheapestListingsColumnar
CheapestListings | CheapestListingsColumnar

Response for `GET /api/v1/cheapest/{world}`: row objects by default, or struct-of-arrays when `?format=columnar` is supplied.

變體
CheapestListings結構描述:CheapestListings
欄位類型說明
cheapest_listings*CheapestListingItem[]—
CheapestListingsColumnar結構描述:CheapestListingsColumnar

Struct-of-arrays wire form of [`CheapestListings`] — what `/api/v1/cheapest/{world}?format=columnar` returns. Row `i` is `(item_id[i], hq[i], price[i], world_id[i])`. The server emits rows in `(item_id, hq)` order, which is what makes the columns compress well (~83 KB brotli vs ~150 KB for the row-of-objects shape on a 24k-row region), but decoding does not depend on the order.

欄位類型說明
hq*boolean[]—
item_id*integer (int32)[]—
price*integer (int32)[]—
world_id*integer (int32)[]—
原始 OpenAPI 結構描述 JSON
{
  "description": "Response for `GET /api/v1/cheapest/{world}`: row objects by default, or\nstruct-of-arrays when `?format=columnar` is supplied.",
  "oneOf": [
    {
      "$ref": "#/components/schemas/CheapestListings"
    },
    {
      "$ref": "#/components/schemas/CheapestListingsColumnar"
    }
  ]
}
CompactSaleobject
object

Lean projection of a sale event for charting. Drops buyer/id metadata so the payload is small enough to ship thousands of rows for the extended history view.

欄位類型說明
hq*boolean—
price_per_item*integer (int32)—
quantity*integer (int32)—
sold_date*string (date-time)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "Lean projection of a sale event for charting. Drops buyer/id metadata so the\npayload is small enough to ship thousands of rows for the extended history view.",
  "properties": {
    "hq": {
      "type": "boolean"
    },
    "price_per_item": {
      "format": "int32",
      "type": "integer"
    },
    "quantity": {
      "format": "int32",
      "type": "integer"
    },
    "sold_date": {
      "format": "date-time",
      "type": "string"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "quantity",
    "price_per_item",
    "hq",
    "sold_date",
    "world_id"
  ],
  "type": "object"
}
ConfidenceBandstring
string

Trustworthiness band attached to analyzer outputs. Maps directly to the `item_quality_score.confidence_band` column in ClickHouse. The analyzer derives this from sample size, buyer diversity, and launder-suspicion. Surfaces in the UI as a colored chip. Default = `Unknown` — used by Pass-1 (in-memory) results before the deep-scan refines them. The frontend renders this as a neutral grey chip with a "loading…" tooltip until the second pass arrives.

可用值:unknownhighmediumlowunusable
原始 OpenAPI 結構描述 JSON
{
  "description": "Trustworthiness band attached to analyzer outputs.\n\nMaps directly to the `item_quality_score.confidence_band` column in\nClickHouse. The analyzer derives this from sample size, buyer diversity,\nand launder-suspicion. Surfaces in the UI as a colored chip.\n\nDefault = `Unknown` — used by Pass-1 (in-memory) results before the\ndeep-scan refines them. The frontend renders this as a neutral grey\nchip with a \"loading…\" tooltip until the second pass arrives.",
  "enum": [
    "unknown",
    "high",
    "medium",
    "low",
    "unusable"
  ],
  "type": "string"
}
CurrentlyShownItemobject
object
欄位類型說明
last_updatedWorldItemLastUpdated[]Per-world ingest timestamps for the queried scope. Additive field: defaults to empty when deserializing payloads from older servers.
listings*(object, object)[]—
sales*SaleHistory[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "last_updated": {
      "description": "Per-world ingest timestamps for the queried scope. Additive field:\ndefaults to empty when deserializing payloads from older servers.",
      "items": {
        "$ref": "#/components/schemas/WorldItemLastUpdated"
      },
      "type": "array"
    },
    "listings": {
      "items": {
        "items": false,
        "prefixItems": [
          {
            "description": "This mostly matches with the ultros-db/entity type, but doesn't include the sea-orm specifics\nSee [ultros-db::active_listing::Entity]",
            "properties": {
              "hq": {
                "type": "boolean"
              },
              "id": {
                "format": "int64",
                "type": "integer"
              },
              "item_id": {
                "format": "int32",
                "type": "integer"
              },
              "price_per_unit": {
                "format": "int32",
                "type": "integer"
              },
              "quantity": {
                "format": "int32",
                "type": "integer"
              },
              "retainer_id": {
                "format": "int32",
                "type": "integer"
              },
              "timestamp": {
                "format": "date-time",
                "type": "string"
              },
              "world_id": {
                "format": "int32",
                "type": "integer"
              }
            },
            "required": [
              "id",
              "world_id",
              "item_id",
              "retainer_id",
              "price_per_unit",
              "quantity",
              "hq",
              "timestamp"
            ],
            "type": "object"
          },
          {
            "properties": {
              "id": {
                "format": "int32",
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "retainer_city_id": {
                "format": "int32",
                "type": "integer"
              },
              "world_id": {
                "format": "int32",
                "type": "integer"
              }
            },
            "required": [
              "id",
              "world_id",
              "name",
              "retainer_city_id"
            ],
            "type": "object"
          }
        ],
        "type": "array"
      },
      "type": "array"
    },
    "sales": {
      "items": {
        "$ref": "#/components/schemas/SaleHistory"
      },
      "type": "array"
    }
  },
  "required": [
    "listings",
    "sales"
  ],
  "type": "object"
}
Datacenterobject
object
欄位類型說明
id*integer (int32)—
name*string—
region_id*integer (int32)—
worlds*World[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "id": {
      "format": "int32",
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "region_id": {
      "format": "int32",
      "type": "integer"
    },
    "worlds": {
      "items": {
        "$ref": "#/components/schemas/World"
      },
      "type": "array"
    }
  },
  "required": [
    "id",
    "name",
    "region_id",
    "worlds"
  ],
  "type": "object"
}
DensityCellobject
object

One populated cell of the grid.

欄位類型說明
bin*integer (int32)Price-bin index in `0..price_bins`.
n*integer (int32)Sale-row count in the cell.
ts*string (date-time)Bucket start, naive UTC, aligned like `PriceBucket::ts`.
原始 OpenAPI 結構描述 JSON
{
  "description": "One populated cell of the grid.",
  "properties": {
    "bin": {
      "description": "Price-bin index in `0..price_bins`.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "n": {
      "description": "Sale-row count in the cell.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "ts": {
      "description": "Bucket start, naive UTC, aligned like `PriceBucket::ts`.",
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "ts",
    "bin",
    "n"
  ],
  "type": "object"
}
ExtendedSaleHistoryobject
object

Response payload for the extended sale history endpoint.

欄位類型說明
sales*CompactSale[]—
原始 OpenAPI 結構描述 JSON
{
  "description": "Response payload for the extended sale history endpoint.",
  "properties": {
    "sales": {
      "items": {
        "$ref": "#/components/schemas/CompactSale"
      },
      "type": "array"
    }
  },
  "required": [
    "sales"
  ],
  "type": "object"
}
FloorBoundsobject
object
欄位類型說明
empty_secs*integer (int64)—
known_secs*integer (int64)Known means every world in scope has a baseline. Empty is a subset.
maxinteger (int32)?—
mininteger (int32)?—
unknown_secs*integer (int64)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "empty_secs": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "known_secs": {
      "description": "Known means every world in scope has a baseline. Empty is a subset.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "max": {
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "min": {
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "unknown_secs": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "known_secs",
    "empty_secs",
    "unknown_secs"
  ],
  "type": "object"
}
FloorHistoryobject
object
欄位類型說明
bucket_seconds*integer (int64)—
from*integer (int64)—
points*FloorPoint[]—
to*integer (int64)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "bucket_seconds": {
      "format": "int64",
      "type": "integer"
    },
    "from": {
      "format": "int64",
      "type": "integer"
    },
    "points": {
      "items": {
        "$ref": "#/components/schemas/FloorPoint"
      },
      "type": "array"
    },
    "to": {
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "from",
    "to",
    "bucket_seconds",
    "points"
  ],
  "type": "object"
}
FloorHistoryBatchobject
object
欄位類型說明
series*ItemFloorHistory[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "series": {
      "items": {
        "$ref": "#/components/schemas/ItemFloorHistory"
      },
      "type": "array"
    }
  },
  "required": [
    "series"
  ],
  "type": "object"
}
FloorHistoryRequestobject
object
欄位類型說明
from*integer (int64)—
hqboolean?Omitted = both qualities, returned separately to preserve item/HQ keys.
interval*FloorInterval—
item_ids*integer (int32)[]—
to*integer (int64)—
原始 OpenAPI 結構描述 JSON
{
  "additionalProperties": false,
  "properties": {
    "from": {
      "format": "int64",
      "type": "integer"
    },
    "hq": {
      "description": "Omitted = both qualities, returned separately to preserve item/HQ keys.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "interval": {
      "$ref": "#/components/schemas/FloorInterval"
    },
    "item_ids": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "to": {
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "item_ids",
    "from",
    "to",
    "interval"
  ],
  "type": "object"
}
FloorIntervalstring
string

Explicit cadence for bounded analyzer batches; chart GET keeps adaptive sampling.

可用值:hourlydaily
原始 OpenAPI 結構描述 JSON
{
  "description": "Explicit cadence for bounded analyzer batches; chart GET keeps adaptive sampling.",
  "enum": [
    "hourly",
    "daily"
  ],
  "type": "string"
}
FloorPointobject
object
欄位類型說明
priceinteger (int32)?Lowest last-observed asking price across tracked worlds/qualities. None means no tracked listings; never plot this as zero gil.
timestamp*integer (int64)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "price": {
      "description": "Lowest last-observed asking price across tracked worlds/qualities.\nNone means no tracked listings; never plot this as zero gil.",
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "timestamp": {
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "timestamp"
  ],
  "type": "object"
}
GamePatchobject
object

One released patch on one track.

欄位類型說明
ex_version*integer (int32)ExVersion index: 0 = ARR, 1 = HW, 2 = SB, 3 = ShB, 4 = EW, 5 = DT.
released*string (date)—
track*PatchTrack—
version*integer (int32)`PatchMark` convention: 700 = 7.0, 715 = 7.15, 655 = 6.55.
原始 OpenAPI 結構描述 JSON
{
  "description": "One released patch on one track.",
  "properties": {
    "ex_version": {
      "description": "ExVersion index: 0 = ARR, 1 = HW, 2 = SB, 3 = ShB, 4 = EW, 5 = DT.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "released": {
      "format": "date",
      "type": "string"
    },
    "track": {
      "$ref": "#/components/schemas/PatchTrack"
    },
    "version": {
      "description": "`PatchMark` convention: 700 = 7.0, 715 = 7.15, 655 = 6.55.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "track",
    "version",
    "released",
    "ex_version"
  ],
  "type": "object"
}
HeatBandstring
string

Heat label for a category. Maps directly to color + chip text on the home page. `NoData` means the rollup found no qualifying activity — the row still renders so the band layout stays consistent across worlds, but with a muted chip and no pct.

可用值:nodatahotwarmstablecool
原始 OpenAPI 結構描述 JSON
{
  "description": "Heat label for a category. Maps directly to color + chip text on the\nhome page. `NoData` means the rollup found no qualifying activity —\nthe row still renders so the band layout stays consistent across\nworlds, but with a muted chip and no pct.",
  "enum": [
    "nodata",
    "hot",
    "warm",
    "stable",
    "cool"
  ],
  "type": "string"
}
HistoryCoverageobject
object

Observed bounds are evidence, not a guarantee of uninterrupted ingestion.

欄位類型說明
continuity_verified*boolean—
first_observed_unixinteger (int64)?—
last_observed_unixinteger (int64)?—
observed_span_secs*integer (int64)Seconds between the first and last retained observations inside the requested window. Quiet intervals and ingestion gaps are indistinguishable.
原始 OpenAPI 結構描述 JSON
{
  "description": "Observed bounds are evidence, not a guarantee of uninterrupted ingestion.",
  "properties": {
    "continuity_verified": {
      "type": "boolean"
    },
    "first_observed_unix": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "last_observed_unix": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "observed_span_secs": {
      "description": "Seconds between the first and last retained observations inside the\nrequested window. Quiet intervals and ingestion gaps are indistinguishable.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "observed_span_secs",
    "continuity_verified"
  ],
  "type": "object"
}
HqFilterstring
string

Quality filter applied server-side, replacing the old client-side `retain(|s| s.hq)`.

可用值:anyhqnq
原始 OpenAPI 結構描述 JSON
{
  "description": "Quality filter applied server-side, replacing the old client-side\n`retain(|s| s.hq)`.",
  "enum": [
    "any",
    "hq",
    "nq"
  ],
  "type": "string"
}
ItemFloorHistoryobject
object
欄位類型說明
bounds*FloorBoundsExact transition extrema, not extrema of the sampled closing prices.
history*FloorHistory—
hq*boolean—
item_id*integer (int32)—
unknown_timestamps*integer (int64)[]Null samples at these timestamps are unknown, rather than known empty boards.
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "bounds": {
      "$ref": "#/components/schemas/FloorBounds",
      "description": "Exact transition extrema, not extrema of the sampled closing prices."
    },
    "history": {
      "$ref": "#/components/schemas/FloorHistory"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "unknown_timestamps": {
      "description": "Null samples at these timestamps are unknown, rather than known empty boards.",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": "array"
    }
  },
  "required": [
    "item_id",
    "hq",
    "history",
    "bounds",
    "unknown_timestamps"
  ],
  "type": "object"
}
ItemListingStatsobject
object
欄位類型說明
alive_countinteger (int32)Listings whose last observed event is not a removal.
alive_unitsinteger (int64)Units across those listings (sum of quantities).
distinct_retainersinteger (int32)Distinct retainers holding them.
floor_aliveinteger (int32)Lowest per-unit price among alive listings. 0 = unknown.
hq*boolean—
item_id*integer (int32)—
median_age_secsinteger (int32)Median seconds since an alive listing was last touched.
oldest_reviewed_unixinteger (int64)Unix seconds when the least recently touched alive listing was last reviewed by its retainer — the honest "listed since". 0 = unknown.
windownull | ListingWindowStats—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "alive_count": {
      "description": "Listings whose last observed event is not a removal.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "alive_units": {
      "description": "Units across those listings (sum of quantities).",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "distinct_retainers": {
      "description": "Distinct retainers holding them.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "floor_alive": {
      "description": "Lowest per-unit price among alive listings. 0 = unknown.",
      "format": "int32",
      "type": "integer"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "median_age_secs": {
      "description": "Median seconds since an alive listing was last touched.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "oldest_reviewed_unix": {
      "description": "Unix seconds when the least recently touched alive listing was last\nreviewed by its retainer — the honest \"listed since\". 0 = unknown.",
      "format": "int64",
      "type": "integer"
    },
    "window": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/ListingWindowStats",
          "description": "Absent on current-only requests and older servers."
        }
      ]
    }
  },
  "required": [
    "item_id",
    "hq"
  ],
  "type": "object"
}
ItemSaleStatsobject
object
欄位類型說明
avg_price*integer (int32)Arithmetic mean per-unit sale price in the window, rounded.
confidenceConfidenceBandPer-world confidence band; `Unknown` for multi-world scopes or old servers (the band is a stored per-world judgement and doesn't compose across worlds).
gil_volumeinteger (int64)Total gil traded in the window (sum of price × quantity). 0 = unknown.
hq*boolean—
item_id*integer (int32)—
last_sold_unixinteger (int64)Unix seconds of the newest sale in the window. 0 = unknown (old server).
median_price*integer (int32)Approximate median per-unit sale price in the window, merged from per-world t-digest states.
min_price*integer (int32)Lowest per-unit sale price in the window.
num_sold*integer (int64)Number of sales in the window backing the statistics above.
sales_per_daynumber (float)`num_sold / window_days`, precomputed server-side.
units_soldinteger (int64)Units traded in the window (sum of quantities).
vwapinteger (int32)Volume-weighted average per-unit price over the window, rounded. 0 = unknown.
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "avg_price": {
      "description": "Arithmetic mean per-unit sale price in the window, rounded.",
      "format": "int32",
      "type": "integer"
    },
    "confidence": {
      "$ref": "#/components/schemas/ConfidenceBand",
      "description": "Per-world confidence band; `Unknown` for multi-world scopes or old\nservers (the band is a stored per-world judgement and doesn't\ncompose across worlds)."
    },
    "gil_volume": {
      "description": "Total gil traded in the window (sum of price × quantity). 0 = unknown.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "last_sold_unix": {
      "description": "Unix seconds of the newest sale in the window. 0 = unknown (old\nserver).",
      "format": "int64",
      "type": "integer"
    },
    "median_price": {
      "description": "Approximate median per-unit sale price in the window, merged from\nper-world t-digest states.",
      "format": "int32",
      "type": "integer"
    },
    "min_price": {
      "description": "Lowest per-unit sale price in the window.",
      "format": "int32",
      "type": "integer"
    },
    "num_sold": {
      "description": "Number of sales in the window backing the statistics above.",
      "format": "int64",
      "type": "integer"
    },
    "sales_per_day": {
      "description": "`num_sold / window_days`, precomputed server-side.",
      "format": "float",
      "type": "number"
    },
    "units_sold": {
      "description": "Units traded in the window (sum of quantities).",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "vwap": {
      "description": "Volume-weighted average per-unit price over the window, rounded.\n0 = unknown.",
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "item_id",
    "hq",
    "min_price",
    "median_price",
    "avg_price",
    "num_sold"
  ],
  "type": "object"
}
ItemStatsResponseobject
object
欄位類型說明
item_id*integer (int32)—
variants*ItemStatsVariant[]—
world_idinteger (int32)?The world these stats are scoped to, or `None` when the request named a datacenter or region — the rollup is per-world, so a multi-world scope has no single id to report and the variants below are folded across every member world instead.
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "variants": {
      "items": {
        "$ref": "#/components/schemas/ItemStatsVariant"
      },
      "type": "array"
    },
    "world_id": {
      "description": "The world these stats are scoped to, or `None` when the request named\na datacenter or region — the rollup is per-world, so a multi-world\nscope has no single id to report and the variants below are folded\nacross every member world instead.",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "item_id",
    "variants"
  ],
  "type": "object"
}
ItemStatsVariantobject
object

One variant (HQ or NQ) of an item's 30-day rolled-up stats.

欄位類型說明
cleaned_sample_size_30d*integer (int32)—
confidence_band*ConfidenceBand—
hq*boolean—
launder_suspicion*number (float)0.0-1.0 — fraction of recent sales flagged by the noise filter.
p50_30d*integer (int32)—
sample_size_30d*integer (int32)—
vwap_30d*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "One variant (HQ or NQ) of an item's 30-day rolled-up stats.",
  "properties": {
    "cleaned_sample_size_30d": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "confidence_band": {
      "$ref": "#/components/schemas/ConfidenceBand"
    },
    "hq": {
      "type": "boolean"
    },
    "launder_suspicion": {
      "description": "0.0-1.0 — fraction of recent sales flagged by the noise filter.",
      "format": "float",
      "type": "number"
    },
    "p50_30d": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "sample_size_30d": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "vwap_30d": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "hq",
    "sample_size_30d",
    "cleaned_sample_size_30d",
    "vwap_30d",
    "p50_30d",
    "confidence_band",
    "launder_suspicion"
  ],
  "type": "object"
}
ListingAgeOriginstring
string
可用值:last_review_time
原始 OpenAPI 結構描述 JSON
{
  "enum": [
    "last_review_time"
  ],
  "type": "string"
}
ListingWindowStatsobject
object
欄位類型說明
additions*integer (int64)—
days_of_stocknumber (double)?—
floor_empty_secs*integer (int64)—
floor_known_secs*integer (int64)—
floor_maxinteger (int32)?—
floor_mininteger (int32)?—
floor_unknown_secs*integer (int64)—
from*integer (int64)—
listing_coverage*HistoryCoverage—
matches*MatchedSalesStats—
new_listing_hoursinteger (int32)[]`new_listings` by UTC hour of day of first sight.
new_listingsinteger (int64)Listings first seen in the window: seed rows and the add half of a remove-then-add reprice are excluded. Nothing upstream reports when a listing was posted, so "first seen" is the earliest of our observation and the uploader's `lastReviewTime`.
new_listings_pinnedinteger (int64)Of `new_listings`, those whose board was observed at most an hour before first sight, so the hour they are binned into is right to within an hour.
removals*integer (int64)—
stock_status*StockStatus—
to*integer (int64)—
undercut_hoursinteger (int32)[]`undercuts` by UTC hour of day.
undercut_mediannumber (double)?Median relative drop across those undercuts, in `0..1`. `None` when `undercuts == 0`.
undercutsinteger (int64)Same-listing price drops observed in the window: an `updated` row whose price fell, or a removed-then-added pair on one listing id within 600 s where the add is cheaper. Raises, same-price pairs, the seed and id-less legacy listings are excluded.
undercuts_per_daynumber (double)?`undercuts` per day of scope-wide listing coverage (clamped to at least one day and at most the window). `None` only when the scope observed no listing events at all in the window.
window_days*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "additions": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "days_of_stock": {
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "floor_empty_secs": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "floor_known_secs": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "floor_max": {
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "floor_min": {
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "floor_unknown_secs": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "from": {
      "format": "int64",
      "type": "integer"
    },
    "listing_coverage": {
      "$ref": "#/components/schemas/HistoryCoverage"
    },
    "matches": {
      "$ref": "#/components/schemas/MatchedSalesStats"
    },
    "new_listing_hours": {
      "description": "`new_listings` by UTC hour of day of first sight.",
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "new_listings": {
      "description": "Listings first seen in the window: seed rows and the add half of a\nremove-then-add reprice are excluded. Nothing upstream reports when a\nlisting was posted, so \"first seen\" is the earliest of our observation\nand the uploader's `lastReviewTime`.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "new_listings_pinned": {
      "description": "Of `new_listings`, those whose board was observed at most an hour\nbefore first sight, so the hour they are binned into is right to\nwithin an hour.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "removals": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "stock_status": {
      "$ref": "#/components/schemas/StockStatus"
    },
    "to": {
      "format": "int64",
      "type": "integer"
    },
    "undercut_hours": {
      "description": "`undercuts` by UTC hour of day.",
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "undercut_median": {
      "description": "Median relative drop across those undercuts, in `0..1`. `None` when\n`undercuts == 0`.",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "undercuts": {
      "description": "Same-listing price drops observed in the window: an `updated` row\nwhose price fell, or a removed-then-added pair on one listing id\nwithin 600 s where the add is cheaper. Raises, same-price pairs,\nthe seed and id-less legacy listings are excluded.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "undercuts_per_day": {
      "description": "`undercuts` per day of scope-wide listing coverage (clamped to at\nleast one day and at most the window). `None` only when the scope\nobserved no listing events at all in the window.",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "window_days": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "window_days",
    "from",
    "to",
    "additions",
    "removals",
    "listing_coverage",
    "floor_known_secs",
    "floor_empty_secs",
    "floor_unknown_secs",
    "matches",
    "stock_status"
  ],
  "type": "object"
}
MarketHeatResponseobject
object
欄位類型說明
categories*CategoryHeat[]—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "categories": {
      "items": {
        "$ref": "#/components/schemas/CategoryHeat"
      },
      "type": "array"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "world_id",
    "categories"
  ],
  "type": "object"
}
MarketPulseDtoobject
object

Sales / volume KPIs for the trailing 24h plus the matching window 24-48h ago, so the frontend can render delta-vs-yesterday on each card.

欄位類型說明
active_listings*integer (int64)Snapshot count of active marketboard listings on this world. Filled from Postgres at request time — separate from the time-series fields above which come from ClickHouse rollups.
gil_volume_today*integer (int64)—
gil_volume_yesterday*integer (int64)—
sales_today*integer (int64)—
sales_yesterday*integer (int64)—
unit_volume_today*integer (int64)—
unit_volume_yesterday*integer (int64)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "Sales / volume KPIs for the trailing 24h plus the matching window\n24-48h ago, so the frontend can render delta-vs-yesterday on each card.",
  "properties": {
    "active_listings": {
      "description": "Snapshot count of active marketboard listings on this world.\nFilled from Postgres at request time — separate from the\ntime-series fields above which come from ClickHouse rollups.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "gil_volume_today": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "gil_volume_yesterday": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "sales_today": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "sales_yesterday": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "unit_volume_today": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "unit_volume_yesterday": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "world_id",
    "sales_today",
    "sales_yesterday",
    "gil_volume_today",
    "gil_volume_yesterday",
    "unit_volume_today",
    "unit_volume_yesterday",
    "active_listings"
  ],
  "type": "object"
}
MatchedSalesStatsobject
object
欄位類型說明
age_origin*ListingAgeOrigin—
ambiguous*integer (int64)—
matched*integer (int64)Conservative one-to-one matches, never every removal.
median_time_to_sell_secsinteger (int64)?—
pending*integer (int64)—
receipt_coverage*HistoryCoverage—
received_sales*integer (int64)Distinct durable receipts observed in this window, before matching filters.
repriced*integer (int64)—
sales_without_receipt*integer (int64)Raw sales in the game-time window without a durable websocket receipt.
settled_through_unix*integer (int64)Removals after this instant have not had complete +/-300s context.
unmatched*integer (int64)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "age_origin": {
      "$ref": "#/components/schemas/ListingAgeOrigin"
    },
    "ambiguous": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "matched": {
      "description": "Conservative one-to-one matches, never every removal.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "median_time_to_sell_secs": {
      "format": "int64",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "pending": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "receipt_coverage": {
      "$ref": "#/components/schemas/HistoryCoverage"
    },
    "received_sales": {
      "description": "Distinct durable receipts observed in this window, before matching filters.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "repriced": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "sales_without_receipt": {
      "description": "Raw sales in the game-time window without a durable websocket receipt.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "settled_through_unix": {
      "description": "Removals after this instant have not had complete +/-300s context.",
      "format": "int64",
      "type": "integer"
    },
    "unmatched": {
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "matched",
    "ambiguous",
    "repriced",
    "unmatched",
    "sales_without_receipt",
    "receipt_coverage",
    "received_sales",
    "settled_through_unix",
    "pending",
    "age_origin"
  ],
  "type": "object"
}
MoverItemobject
object

One row in the Market Movers list. The frontend renders this as a row with item icon + name + price + pct-change pill + inline sparkline.

欄位類型說明
gil_volume_24h*integer (int64)Total gil that changed hands on this item over the 24h window (price × quantity). The gil-denominated "market value" metric — the complement to `volume_24h`'s raw unit count.
hq*boolean—
item_id*integer (int32)—
pct_change_24h*number (float)—
price_now*integer (int32)—
sparkline*integer (int32)[]Trailing 24h VWAP series, oldest first. Always 24 elements (gaps = 0). Frontend's Sparkline component renders this directly.
volume_24h*integer (int32)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "One row in the Market Movers list. The frontend renders this as a\nrow with item icon + name + price + pct-change pill + inline\nsparkline.",
  "properties": {
    "gil_volume_24h": {
      "description": "Total gil that changed hands on this item over the 24h window\n(price × quantity). The gil-denominated \"market value\" metric — the\ncomplement to `volume_24h`'s raw unit count.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "pct_change_24h": {
      "format": "float",
      "type": "number"
    },
    "price_now": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "sparkline": {
      "description": "Trailing 24h VWAP series, oldest first. Always 24 elements (gaps =\n0). Frontend's Sparkline component renders this directly.",
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "volume_24h": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "item_id",
    "hq",
    "world_id",
    "price_now",
    "pct_change_24h",
    "volume_24h",
    "gil_volume_24h",
    "sparkline"
  ],
  "type": "object"
}
MoversResponseobject
object
欄位類型說明
direction*string—
items*MoverItem[]—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "direction": {
      "type": "string"
    },
    "items": {
      "items": {
        "$ref": "#/components/schemas/MoverItem"
      },
      "type": "array"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "world_id",
    "direction",
    "items"
  ],
  "type": "object"
}
PatchTrackstring
string

Which patch calendar a region follows.

可用值:globalchinakorea
原始 OpenAPI 結構描述 JSON
{
  "description": "Which patch calendar a region follows.",
  "enum": [
    "global",
    "china",
    "korea"
  ],
  "type": "string"
}
PressureBucketobject
object
欄位類型說明
cuts*integer (int32)Same-listing drops of 1% or more.
floor_closeinteger (int32)?—
floor_openinteger (int32)?As-of floor at the bucket start / last second. `None` = empty or unknown.
sellers*integer (int32)Distinct retainers that undercut in this bucket (trims and cuts both count).
start*integer (int64)Epoch-aligned bucket start (unix seconds), same alignment as `PriceSeries`.
state*PressureState—
trims*integer (int32)Same-listing drops below 1% of the previous price.
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "cuts": {
      "description": "Same-listing drops of 1% or more.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "floor_close": {
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "floor_open": {
      "description": "As-of floor at the bucket start / last second. `None` = empty or unknown.",
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "sellers": {
      "description": "Distinct retainers that undercut in this bucket (trims and cuts both count).",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "start": {
      "description": "Epoch-aligned bucket start (unix seconds), same alignment as `PriceSeries`.",
      "format": "int64",
      "type": "integer"
    },
    "state": {
      "$ref": "#/components/schemas/PressureState"
    },
    "trims": {
      "description": "Same-listing drops below 1% of the previous price.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "start",
    "trims",
    "cuts",
    "sellers",
    "state"
  ],
  "type": "object"
}
PressureStatestring
string

How contested a bucket was. `Unknown` = before the world's floor anchor, where Ultros cannot tell a quiet board from an untracked one.

可用值:unknowncalmchurnwar
原始 OpenAPI 結構描述 JSON
{
  "description": "How contested a bucket was. `Unknown` = before the world's floor anchor,\nwhere Ultros cannot tell a quiet board from an untracked one.",
  "enum": [
    "unknown",
    "calm",
    "churn",
    "war"
  ],
  "type": "string"
}
PressureSummaryobject
object
欄位類型說明
contested_sharenumber (double)?Share of the chart window's known hours in Churn or War, classified hourly (last 120 days of the window at most) so it reads the same at every chart bucket width.
episodes_leftinteger (int32)Floor episodes that ended because the floor listing left (bought, pulled or raised).
episodes_undercutinteger (int32)Floor episodes that ended because a cheaper listing took the floor.
floor_holds_median_secsinteger (int64)?Median life of a floor price that started and ended in the window.
floor_trend_24hnumber (double)?As-of floor now vs 24 h ago, as a fraction.
last_warnull | WarSpan—
typical_undercuts_per_hournumber (double)?Median undercuts per known hour over the same hourly buckets.
warWarStatus—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "contested_share": {
      "description": "Share of the chart window's known hours in Churn or War, classified\nhourly (last 120 days of the window at most) so it reads the same at\nevery chart bucket width.",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "episodes_left": {
      "description": "Floor episodes that ended because the floor listing left (bought, pulled or raised).",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "episodes_undercut": {
      "description": "Floor episodes that ended because a cheaper listing took the floor.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "floor_holds_median_secs": {
      "description": "Median life of a floor price that started and ended in the window.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "floor_trend_24h": {
      "description": "As-of floor now vs 24 h ago, as a fraction.",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "last_war": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/WarSpan",
          "description": "Most recent war span in the last 24 h."
        }
      ]
    },
    "typical_undercuts_per_hour": {
      "description": "Median undercuts per known hour over the same hourly buckets.",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "war": {
      "$ref": "#/components/schemas/WarStatus"
    }
  },
  "type": "object"
}
PriceBucketobject
object

One time bucket for one series.

欄位類型說明
close*integer (int32)Price of the latest sale in the bucket.
gil*integer (int64)Sum of `price_per_item * quantity`.
high*integer (int32)—
low*integer (int32)—
open*integer (int32)Price of the earliest sale in the bucket.
p25*integer (int32)—
p50*integer (int32)—
p75*integer (int32)—
sales*integer (int32)Number of sale rows, *not* units. Drives sparse-bucket handling.
ts*string (date-time)Bucket start, naive UTC, aligned to absolute time.
units*integer (int64)Sum of `quantity`.
原始 OpenAPI 結構描述 JSON
{
  "description": "One time bucket for one series.",
  "properties": {
    "close": {
      "description": "Price of the latest sale in the bucket.",
      "format": "int32",
      "type": "integer"
    },
    "gil": {
      "description": "Sum of `price_per_item * quantity`.",
      "format": "int64",
      "type": "integer"
    },
    "high": {
      "format": "int32",
      "type": "integer"
    },
    "low": {
      "format": "int32",
      "type": "integer"
    },
    "open": {
      "description": "Price of the earliest sale in the bucket.",
      "format": "int32",
      "type": "integer"
    },
    "p25": {
      "format": "int32",
      "type": "integer"
    },
    "p50": {
      "format": "int32",
      "type": "integer"
    },
    "p75": {
      "format": "int32",
      "type": "integer"
    },
    "sales": {
      "description": "Number of sale rows, *not* units. Drives sparse-bucket handling.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "ts": {
      "description": "Bucket start, naive UTC, aligned to absolute time.",
      "format": "date-time",
      "type": "string"
    },
    "units": {
      "description": "Sum of `quantity`.",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "ts",
    "open",
    "high",
    "low",
    "close",
    "gil",
    "units",
    "sales",
    "p25",
    "p50",
    "p75"
  ],
  "type": "object"
}
PriceDensityobject
object

Response payload for `/api/v1/price_density/{world}/{itemid}`.

欄位類型說明
bin_width*number (double)Uniform bin height in gil; always >= 1.
bucket_seconds*integer (int64)Bucket width the server actually chose (same ladder as `PriceSeries::bucket_seconds`).
cells*DensityCell[]—
from*string (date-time)Requested window (density has no per-bucket domain to narrow to).
price_bins*integer (int32)—
price_lo*integer (int32)Price of bin 0's lower edge.
to*string (date-time)—
原始 OpenAPI 結構描述 JSON
{
  "description": "Response payload for `/api/v1/price_density/{world}/{itemid}`.",
  "properties": {
    "bin_width": {
      "description": "Uniform bin height in gil; always >= 1.",
      "format": "double",
      "type": "number"
    },
    "bucket_seconds": {
      "description": "Bucket width the server actually chose (same ladder as\n`PriceSeries::bucket_seconds`).",
      "format": "int64",
      "type": "integer"
    },
    "cells": {
      "items": {
        "$ref": "#/components/schemas/DensityCell"
      },
      "type": "array"
    },
    "from": {
      "description": "Requested window (density has no per-bucket domain to narrow to).",
      "format": "date-time",
      "type": "string"
    },
    "price_bins": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "price_lo": {
      "description": "Price of bin 0's lower edge.",
      "format": "int32",
      "type": "integer"
    },
    "to": {
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "bucket_seconds",
    "from",
    "to",
    "price_lo",
    "bin_width",
    "price_bins",
    "cells"
  ],
  "type": "object"
}
PriceSeriesobject
object

Response payload for `/api/v1/price_series/{world}/{itemid}`.

欄位類型說明
bucket_seconds*integer (int64)Bucket width the server actually chose, so the client labels axes without re-deriving it.
from*string (date-time)Time domain actually covered by the data, not the requested range.
group*SeriesGroup—
rawCompactSale[]?Raw sales, present only when the window holds few enough of them to draw individually. See `RAW_SALE_LIMIT` in the web handler.
series*PriceSeriesEntry[]—
to*string (date-time)—
原始 OpenAPI 結構描述 JSON
{
  "description": "Response payload for `/api/v1/price_series/{world}/{itemid}`.",
  "properties": {
    "bucket_seconds": {
      "description": "Bucket width the server actually chose, so the client labels axes\nwithout re-deriving it.",
      "format": "int64",
      "type": "integer"
    },
    "from": {
      "description": "Time domain actually covered by the data, not the requested range.",
      "format": "date-time",
      "type": "string"
    },
    "group": {
      "$ref": "#/components/schemas/SeriesGroup"
    },
    "raw": {
      "description": "Raw sales, present only when the window holds few enough of them to\ndraw individually. See `RAW_SALE_LIMIT` in the web handler.",
      "items": {
        "$ref": "#/components/schemas/CompactSale"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "series": {
      "items": {
        "$ref": "#/components/schemas/PriceSeriesEntry"
      },
      "type": "array"
    },
    "to": {
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "bucket_seconds",
    "group",
    "from",
    "to",
    "series"
  ],
  "type": "object"
}
PriceSeriesEntryobject
object

All buckets for one series, keyed by the selector id at the response's [`SeriesGroup`] (world id, datacenter id, or region id).

欄位類型說明
buckets*PriceBucket[]Sorted by `ts` ascending. Buckets with no sales are absent, not zero — consumers must handle gaps.
id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "All buckets for one series, keyed by the selector id at the response's\n[`SeriesGroup`] (world id, datacenter id, or region id).",
  "properties": {
    "buckets": {
      "description": "Sorted by `ts` ascending. Buckets with no sales are absent, not zero —\nconsumers must handle gaps.",
      "items": {
        "$ref": "#/components/schemas/PriceBucket"
      },
      "type": "array"
    },
    "id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "id",
    "buckets"
  ],
  "type": "object"
}
RecentSalesobject
object
欄位類型說明
sales*SaleData[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "sales": {
      "items": {
        "$ref": "#/components/schemas/SaleData"
      },
      "type": "array"
    }
  },
  "required": [
    "sales"
  ],
  "type": "object"
}
RecentSalesColumnarobject
object

Struct-of-arrays wire form of [`RecentSales`] — what `/api/v1/recentSales/{world}?format=columnar` returns. Row `i` is `(item_id[i], hq[i])` and owns the next `count[i]` entries of the flattened `price` / `sold_unix` columns, newest first, exactly as the row shape orders them. Timestamps are unix seconds; the row shape's `NaiveDateTime` is second-resolution so the conversion is lossless. Rows are emitted in `(item_id, hq)` order, which is what makes the columns compress well; decoding does not depend on the order.

欄位類型說明
count*integer (int32)[]—
hq*boolean[]—
item_id*integer (int32)[]—
price*integer (int32)[]—
sold_unix*integer (int64)[]—
原始 OpenAPI 結構描述 JSON
{
  "description": "Struct-of-arrays wire form of [`RecentSales`] — what\n`/api/v1/recentSales/{world}?format=columnar` returns. Row `i` is\n`(item_id[i], hq[i])` and owns the next `count[i]` entries of the\nflattened `price` / `sold_unix` columns, newest first, exactly as the\nrow shape orders them. Timestamps are unix seconds; the row shape's\n`NaiveDateTime` is second-resolution so the conversion is lossless.\nRows are emitted in `(item_id, hq)` order, which is what makes the\ncolumns compress well; decoding does not depend on the order.",
  "properties": {
    "count": {
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "hq": {
      "items": {
        "type": "boolean"
      },
      "type": "array"
    },
    "item_id": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "price": {
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "type": "array"
    },
    "sold_unix": {
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": "array"
    }
  },
  "required": [
    "item_id",
    "hq",
    "count",
    "price",
    "sold_unix"
  ],
  "type": "object"
}
RecentSalesResponseRecentSales | RecentSalesColumnar
RecentSales | RecentSalesColumnar

Response for `GET /api/v1/recentSales/{world}`: row objects by default, or struct-of-arrays when `?format=columnar` is supplied.

變體
RecentSales結構描述:RecentSales
欄位類型說明
sales*SaleData[]—
RecentSalesColumnar結構描述:RecentSalesColumnar

Struct-of-arrays wire form of [`RecentSales`] — what `/api/v1/recentSales/{world}?format=columnar` returns. Row `i` is `(item_id[i], hq[i])` and owns the next `count[i]` entries of the flattened `price` / `sold_unix` columns, newest first, exactly as the row shape orders them. Timestamps are unix seconds; the row shape's `NaiveDateTime` is second-resolution so the conversion is lossless. Rows are emitted in `(item_id, hq)` order, which is what makes the columns compress well; decoding does not depend on the order.

欄位類型說明
count*integer (int32)[]—
hq*boolean[]—
item_id*integer (int32)[]—
price*integer (int32)[]—
sold_unix*integer (int64)[]—
原始 OpenAPI 結構描述 JSON
{
  "description": "Response for `GET /api/v1/recentSales/{world}`: row objects by default, or\nstruct-of-arrays when `?format=columnar` is supplied.",
  "oneOf": [
    {
      "$ref": "#/components/schemas/RecentSales"
    },
    {
      "$ref": "#/components/schemas/RecentSalesColumnar"
    }
  ]
}
Regionobject
object
欄位類型說明
datacenters*Datacenter[]—
id*integer (int32)—
name*string—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "datacenters": {
      "items": {
        "$ref": "#/components/schemas/Datacenter"
      },
      "type": "array"
    },
    "id": {
      "format": "int32",
      "type": "integer"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "datacenters"
  ],
  "type": "object"
}
ResaleQualityRequestobject
object

POST body for `/api/v1/resale_quality/{world}`.

欄位類型說明
items*(integer (int32), boolean)[]Each tuple is `(item_id, hq)`. World comes from the URL.
window_daysinteger (int32)?Window in days; clamped to {7, 30, 90} server-side. Default 30.
原始 OpenAPI 結構描述 JSON
{
  "description": "POST body for `/api/v1/resale_quality/{world}`.",
  "properties": {
    "items": {
      "description": "Each tuple is `(item_id, hq)`. World comes from the URL.",
      "items": {
        "items": false,
        "prefixItems": [
          {
            "format": "int32",
            "type": "integer"
          },
          {
            "type": "boolean"
          }
        ],
        "type": "array"
      },
      "type": "array"
    },
    "window_days": {
      "description": "Window in days; clamped to {7, 30, 90} server-side. Default 30.",
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
ResaleQualityResponseobject
object
欄位類型說明
rows*ResaleQualityRow[]—
window_days*integer (int32)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "rows": {
      "items": {
        "$ref": "#/components/schemas/ResaleQualityRow"
      },
      "type": "array"
    },
    "window_days": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "world_id",
    "window_days",
    "rows"
  ],
  "type": "object"
}
ResaleQualityRowobject
object
欄位類型說明
confidence_band*ConfidenceBand—
hq*boolean—
item_id*integer (int32)—
launder_suspicion*number (float)0.0-1.0; the FE uses > 0.7 as the "suspicious" cutoff for its own defense-in-depth drop pass when Show suspicious is off.
sales_per_day*number (float)Window sample size / window length. Honest velocity metric for the Flip Finder Sales/day column.
sample_size*integer (int32)—
vwap*integer (int32)—
window_days*integer (int32)Echo of the queried window (typically 30).
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "confidence_band": {
      "$ref": "#/components/schemas/ConfidenceBand"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "launder_suspicion": {
      "description": "0.0-1.0; the FE uses > 0.7 as the \"suspicious\" cutoff for its\nown defense-in-depth drop pass when Show suspicious is off.",
      "format": "float",
      "type": "number"
    },
    "sales_per_day": {
      "description": "Window sample size / window length. Honest velocity metric for\nthe Flip Finder Sales/day column.",
      "format": "float",
      "type": "number"
    },
    "sample_size": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "vwap": {
      "format": "int32",
      "type": "integer"
    },
    "window_days": {
      "description": "Echo of the queried window (typically 30).",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "item_id",
    "hq",
    "world_id",
    "window_days",
    "vwap",
    "sample_size",
    "sales_per_day",
    "confidence_band",
    "launder_suspicion"
  ],
  "type": "object"
}
ResaleStatsDtoobject
object
欄位類型說明
buffer_sale_count*integer (int32)—
buy_price*integer (int32)Gil paid — the cheapest listing in the region. Sent explicitly so clients don't have to back-solve it out of `profit / roi`, which the ROI clamp makes wrong for very cheap buys.
confidence_band*ConfidenceBand—
est_sale_price*integer (int32)Gil to *list* at, before the marketboard's cut. Note that `buy_price + profit` is the post-tax take, which is a smaller number.
hq*boolean—
item_id*integer (int32)—
launder_suspicion*number (float)—
profit*integer (int32)Post-tax gil: the estimated sale price net of the 5% marketboard cut, minus the buy price. Same math as the Flip Finder with its `include_tax` toggle in the default (on) position, so the home page's Top Opportunities card and the analyzer table agree on a given flip.
recent_price_high*integer (int32)—
recent_price_low*integer (int32)—
return_on_investment*number (float)`profit / buy_price * 100`, so it is post-tax too. Always finite: nonpositive-cost rows are dropped upstream and the value is clamped to ±100000 to match the frontend's display ceiling.
sample_size_30d*integer (int32)—
sold_within*string—
velocity_per_daynumber (float)?—
vwap_30d*integer (int32)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "buffer_sale_count": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "buy_price": {
      "description": "Gil paid — the cheapest listing in the region. Sent explicitly so\nclients don't have to back-solve it out of `profit / roi`, which the\nROI clamp makes wrong for very cheap buys.",
      "format": "int32",
      "type": "integer"
    },
    "confidence_band": {
      "$ref": "#/components/schemas/ConfidenceBand"
    },
    "est_sale_price": {
      "description": "Gil to *list* at, before the marketboard's cut. Note that\n`buy_price + profit` is the post-tax take, which is a smaller number.",
      "format": "int32",
      "type": "integer"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "launder_suspicion": {
      "format": "float",
      "type": "number"
    },
    "profit": {
      "description": "Post-tax gil: the estimated sale price net of the 5% marketboard cut,\nminus the buy price. Same math as the Flip Finder with its `include_tax`\ntoggle in the default (on) position, so the home page's Top\nOpportunities card and the analyzer table agree on a given flip.",
      "format": "int32",
      "type": "integer"
    },
    "recent_price_high": {
      "format": "int32",
      "type": "integer"
    },
    "recent_price_low": {
      "format": "int32",
      "type": "integer"
    },
    "return_on_investment": {
      "description": "`profit / buy_price * 100`, so it is post-tax too. Always finite:\nnonpositive-cost rows are dropped upstream and the value is clamped to\n±100000 to match the frontend's display ceiling.",
      "format": "float",
      "type": "number"
    },
    "sample_size_30d": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "sold_within": {
      "type": "string"
    },
    "velocity_per_day": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "vwap_30d": {
      "format": "int32",
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "profit",
    "item_id",
    "hq",
    "sold_within",
    "return_on_investment",
    "buy_price",
    "est_sale_price",
    "world_id",
    "confidence_band",
    "vwap_30d",
    "sample_size_30d",
    "launder_suspicion",
    "buffer_sale_count",
    "recent_price_low",
    "recent_price_high"
  ],
  "type": "object"
}
Retainerobject
object
欄位類型說明
id*integer (int32)—
name*string—
retainer_city_id*integer (int32)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "id": {
      "format": "int32",
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "retainer_city_id": {
      "format": "int32",
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "id",
    "world_id",
    "name",
    "retainer_city_id"
  ],
  "type": "object"
}
RetainerListingsobject
object
欄位類型說明
listings*ActiveListing[]—
retainer*Retainer—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "listings": {
      "items": {
        "$ref": "#/components/schemas/ActiveListing"
      },
      "type": "array"
    },
    "retainer": {
      "$ref": "#/components/schemas/Retainer"
    }
  },
  "required": [
    "retainer",
    "listings"
  ],
  "type": "object"
}
SaleDataobject
object
欄位類型說明
hq*boolean—
item_id*integer (int32)—
sales*Sales[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "sales": {
      "items": {
        "$ref": "#/components/schemas/Sales"
      },
      "type": "array"
    }
  },
  "required": [
    "item_id",
    "hq",
    "sales"
  ],
  "type": "object"
}
SaleHistoryobject
object

Relates to the sale history stored in ultros_db, but is a clean type

欄位類型說明
buyer_namestring?—
buying_character_id*integer (int32)—
hq*boolean—
id*integer (int32)—
price_per_item*integer (int32)—
quantity*integer (int32)—
sold_date*string (date-time)—
sold_item_id*integer (int32)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "Relates to the sale history stored in ultros_db, but is a clean type",
  "properties": {
    "buyer_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "buying_character_id": {
      "format": "int32",
      "type": "integer"
    },
    "hq": {
      "type": "boolean"
    },
    "id": {
      "format": "int32",
      "type": "integer"
    },
    "price_per_item": {
      "format": "int32",
      "type": "integer"
    },
    "quantity": {
      "format": "int32",
      "type": "integer"
    },
    "sold_date": {
      "format": "date-time",
      "type": "string"
    },
    "sold_item_id": {
      "format": "int32",
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "id",
    "quantity",
    "price_per_item",
    "buying_character_id",
    "hq",
    "sold_item_id",
    "sold_date",
    "world_id"
  ],
  "type": "object"
}
Salesobject
object
欄位類型說明
price_per_unit*integer (int32)—
sale_date*string (date-time)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "price_per_unit": {
      "format": "int32",
      "type": "integer"
    },
    "sale_date": {
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "price_per_unit",
    "sale_date"
  ],
  "type": "object"
}
SearchResultobject
object
欄位類型說明
categorystring?—
icon_idinteger (int32)?—
result_type*string—
score*number (float)—
title*string—
url*string—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "icon_id": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "result_type": {
      "type": "string"
    },
    "score": {
      "format": "float",
      "type": "number"
    },
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "score",
    "title",
    "result_type",
    "url"
  ],
  "type": "object"
}
SeriesGroupstring
string

Which level of the world hierarchy the server aggregated at.

可用值:regiondatacenterworld
原始 OpenAPI 結構描述 JSON
{
  "description": "Which level of the world hierarchy the server aggregated at.",
  "enum": [
    "region",
    "datacenter",
    "world"
  ],
  "type": "string"
}
SparklineSeriesobject
object

Bulk sparkline-only payload. Used by surfaces that already have item IDs and just want a trace per row.

欄位類型說明
first_price*integer (int32)—
hq*boolean—
item_id*integer (int32)—
last_price*integer (int32)—
points*integer (int32)[]—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "Bulk sparkline-only payload. Used by surfaces that already have item\nIDs and just want a trace per row.",
  "properties": {
    "first_price": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "last_price": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "points": {
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "item_id",
    "hq",
    "world_id",
    "points",
    "first_price",
    "last_price"
  ],
  "type": "object"
}
SparklinesRequestobject
object

POST body for /api/v1/sparklines/{world}.

欄位類型說明
hoursinteger (int32)?Window length in hours; clamped to [6, 168] server-side. Default 24 if omitted.
items*(integer (int32), boolean)[]Each tuple = (item_id, hq). World comes from the URL.
原始 OpenAPI 結構描述 JSON
{
  "description": "POST body for /api/v1/sparklines/{world}.",
  "properties": {
    "hours": {
      "description": "Window length in hours; clamped to [6, 168] server-side.\nDefault 24 if omitted.",
      "format": "int32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "items": {
      "description": "Each tuple = (item_id, hq). World comes from the URL.",
      "items": {
        "items": false,
        "prefixItems": [
          {
            "format": "int32",
            "type": "integer"
          },
          {
            "type": "boolean"
          }
        ],
        "type": "array"
      },
      "type": "array"
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
SparklinesResponseobject
object
欄位類型說明
series*SparklineSeries[]—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "series": {
      "items": {
        "$ref": "#/components/schemas/SparklineSeries"
      },
      "type": "array"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "world_id",
    "series"
  ],
  "type": "object"
}
StockStatusstring
string
可用值:unavailableno_salesestimated
原始 OpenAPI 結構描述 JSON
{
  "enum": [
    "unavailable",
    "no_sales",
    "estimated"
  ],
  "type": "string"
}
TrendItemobject
object
欄位類型說明
average_sale_price*number (float)—
confidence_bandConfidenceBandConfidence band for this row's data. Pass-1 results carry `Unknown` until the deep-scan refines them.
gil_volume_windowinteger (int64)Gil traded in the selected window.
hq*boolean—
item_id*integer (int32)—
launder_suspicionnumber (float)Fraction of the 30-day sample flagged as noise by the filter (0.0-1.0). High values are the strongest single signal that the item is being used for currency-transfer launder.
pct_change_windownumber (float)`(price - vwap_window) / vwap_window * 100` — current price vs window VWAP, as a percent. Sortable proxy for "how stretched is the cheapest listing right now."
price*integer (int32)—
price_percentile_30dinteger (int32)Where the current `price` falls in the 30-day price distribution (0-100). Useful sanity check: "currently at the 12th percentile of 30-day price" tells you a lot in one number.
sales_in_windowinteger (int32)Cleaned sample size for the selected window — drives sales/day.
sales_per_daynumber (float)`sales_in_window / window_days`. Pre-computed server-side so the FE can sort/filter without having to know the window length math.
sales_per_week*number (float)—
sample_size_30dinteger (int32)Number of sales in the 30-day window (pre-filter) — drives the confidence band, exposed so the UI can show "based on N sales".
sparkline_24hinteger (int32)[]Trailing-24h hourly VWAP series, zero-filled. Length always 24.
unit_volume_windowinteger (int64)Units traded in the selected window.
vwap_30dinteger (int32)Volume-weighted average price over the last 30 days, on the cleaned (noise-filtered) sample. More honest than `average_sale_price` for stack-traded items because it weights by quantity.
vwap_windowinteger (int32)VWAP for the selected window.
window_daysinteger (int32)Echo of the queried window (7, 30, or 90). The UI uses this when formatting labels like "Sales / 30d".
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "average_sale_price": {
      "format": "float",
      "type": "number"
    },
    "confidence_band": {
      "$ref": "#/components/schemas/ConfidenceBand",
      "description": "Confidence band for this row's data. Pass-1 results carry `Unknown`\nuntil the deep-scan refines them."
    },
    "gil_volume_window": {
      "description": "Gil traded in the selected window.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "hq": {
      "type": "boolean"
    },
    "item_id": {
      "format": "int32",
      "type": "integer"
    },
    "launder_suspicion": {
      "description": "Fraction of the 30-day sample flagged as noise by the filter\n(0.0-1.0). High values are the strongest single signal that the\nitem is being used for currency-transfer launder.",
      "format": "float",
      "type": "number"
    },
    "pct_change_window": {
      "description": "`(price - vwap_window) / vwap_window * 100` — current price vs\nwindow VWAP, as a percent. Sortable proxy for \"how stretched is\nthe cheapest listing right now.\"",
      "format": "float",
      "type": "number"
    },
    "price": {
      "format": "int32",
      "type": "integer"
    },
    "price_percentile_30d": {
      "description": "Where the current `price` falls in the 30-day price distribution\n(0-100). Useful sanity check: \"currently at the 12th percentile of\n30-day price\" tells you a lot in one number.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "sales_in_window": {
      "description": "Cleaned sample size for the selected window — drives sales/day.",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "sales_per_day": {
      "description": "`sales_in_window / window_days`. Pre-computed server-side so the\nFE can sort/filter without having to know the window length math.",
      "format": "float",
      "type": "number"
    },
    "sales_per_week": {
      "format": "float",
      "type": "number"
    },
    "sample_size_30d": {
      "description": "Number of sales in the 30-day window (pre-filter) — drives the\nconfidence band, exposed so the UI can show \"based on N sales\".",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "sparkline_24h": {
      "description": "Trailing-24h hourly VWAP series, zero-filled. Length always 24.",
      "items": {
        "format": "int32",
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "unit_volume_window": {
      "description": "Units traded in the selected window.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "vwap_30d": {
      "description": "Volume-weighted average price over the last 30 days, on the cleaned\n(noise-filtered) sample. More honest than `average_sale_price` for\nstack-traded items because it weights by quantity.",
      "format": "int32",
      "type": "integer"
    },
    "vwap_window": {
      "description": "VWAP for the selected window.",
      "format": "int32",
      "type": "integer"
    },
    "window_days": {
      "description": "Echo of the queried window (7, 30, or 90). The UI uses this when\nformatting labels like \"Sales / 30d\".",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "item_id",
    "hq",
    "price",
    "world_id",
    "average_sale_price",
    "sales_per_week"
  ],
  "type": "object"
}
TrendsDataobject
object
欄位類型說明
falling_priceTrendItem[]—
high_velocityTrendItem[]Legacy pre-bucketed lists. Still populated by the v1 server path so older clients keep working; the v2 page reads from `items`.
itemsTrendItem[]Trends v2: single flat list, sorted server-side, FE applies further sort/filter/pagination locally. Empty when the legacy pre-bucketed response is in use.
rising_priceTrendItem[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "falling_price": {
      "items": {
        "$ref": "#/components/schemas/TrendItem"
      },
      "type": "array"
    },
    "high_velocity": {
      "description": "Legacy pre-bucketed lists. Still populated by the v1 server path\nso older clients keep working; the v2 page reads from `items`.",
      "items": {
        "$ref": "#/components/schemas/TrendItem"
      },
      "type": "array"
    },
    "items": {
      "description": "Trends v2: single flat list, sorted server-side, FE applies\nfurther sort/filter/pagination locally. Empty when the legacy\npre-bucketed response is in use.",
      "items": {
        "$ref": "#/components/schemas/TrendItem"
      },
      "type": "array"
    },
    "rising_price": {
      "items": {
        "$ref": "#/components/schemas/TrendItem"
      },
      "type": "array"
    }
  },
  "type": "object"
}
UndercutPressureobject
object
欄位類型說明
baselinenumber (double)?Median undercuts per known bucket in the window.
bucket_seconds*integer (int64)—
buckets*PressureBucket[]—
coverage_frominteger (int64)?The world's floor anchor; buckets before it are `Unknown`.
from*integer (int64)—
summaryPressureSummary—
to*integer (int64)—
warsWarSpan[]—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "baseline": {
      "description": "Median undercuts per known bucket in the window.",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "bucket_seconds": {
      "format": "int64",
      "type": "integer"
    },
    "buckets": {
      "items": {
        "$ref": "#/components/schemas/PressureBucket"
      },
      "type": "array"
    },
    "coverage_from": {
      "description": "The world's floor anchor; buckets before it are `Unknown`.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "from": {
      "format": "int64",
      "type": "integer"
    },
    "summary": {
      "$ref": "#/components/schemas/PressureSummary"
    },
    "to": {
      "format": "int64",
      "type": "integer"
    },
    "wars": {
      "items": {
        "$ref": "#/components/schemas/WarSpan"
      },
      "type": "array"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "world_id",
    "from",
    "to",
    "bucket_seconds",
    "buckets"
  ],
  "type": "object"
}
VapidPublicKeyobject
object

Response shape for `GET /api/v1/push/vapid-public-key`. Single field so the frontend doesn't have to special-case a bare string.

欄位類型說明
key*string—
原始 OpenAPI 結構描述 JSON
{
  "description": "Response shape for `GET /api/v1/push/vapid-public-key`. Single field so the\nfrontend doesn't have to special-case a bare string.",
  "properties": {
    "key": {
      "type": "string"
    }
  },
  "required": [
    "key"
  ],
  "type": "object"
}
WarSpanobject
object
欄位類型說明
end*integer (int64)Exclusive end (last war bucket's start + bucket width).
floor_changenumber (double)?Floor change over the span as a fraction (−0.18 = fell 18%).
sellers*integer (int32)—
start*integer (int64)—
undercuts*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "end": {
      "description": "Exclusive end (last war bucket's start + bucket width).",
      "format": "int64",
      "type": "integer"
    },
    "floor_change": {
      "description": "Floor change over the span as a fraction (−0.18 = fell 18%).",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "sellers": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    },
    "start": {
      "format": "int64",
      "type": "integer"
    },
    "undercuts": {
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "start",
    "end",
    "undercuts",
    "sellers"
  ],
  "type": "object"
}
WarStatusobject | object | object
object | object | object
變體
object
欄位類型說明
kind*string—
object
欄位類型說明
kind*string—
object
欄位類型說明
at*integer (int64)—
kind*string—
原始 OpenAPI 結構描述 JSON
{
  "oneOf": [
    {
      "properties": {
        "kind": {
          "enum": [
            "none"
          ],
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    {
      "properties": {
        "kind": {
          "enum": [
            "active"
          ],
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    },
    {
      "properties": {
        "at": {
          "format": "int64",
          "type": "integer"
        },
        "kind": {
          "enum": [
            "ended"
          ],
          "type": "string"
        }
      },
      "required": [
        "at",
        "kind"
      ],
      "type": "object"
    }
  ]
}
Worldobject
object
欄位類型說明
datacenter_id*integer (int32)—
id*integer (int32)—
name*string—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "datacenter_id": {
      "format": "int32",
      "type": "integer"
    },
    "id": {
      "format": "int32",
      "type": "integer"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "datacenter_id"
  ],
  "type": "object"
}
WorldDataobject
object
欄位類型說明
regions*Region[]—
原始 OpenAPI 結構描述 JSON
{
  "properties": {
    "regions": {
      "items": {
        "$ref": "#/components/schemas/Region"
      },
      "type": "array"
    }
  },
  "required": [
    "regions"
  ],
  "type": "object"
}
WorldItemLastUpdatedobject
object

When Ultros last ingested market-board data for an item on a specific world. This is the real ingest time (the `listing_last_updated` marker written when listings/sales for the item are stored), *not* Universalis' `last_review_time` which [`ActiveListing::timestamp`] carries (when the seller last touched the listing in-game).

欄位類型說明
updated_at*string (date-time)—
world_id*integer (int32)—
原始 OpenAPI 結構描述 JSON
{
  "description": "When Ultros last ingested market-board data for an item on a specific world.\n\nThis is the real ingest time (the `listing_last_updated` marker written when\nlistings/sales for the item are stored), *not* Universalis' `last_review_time`\nwhich [`ActiveListing::timestamp`] carries (when the seller last touched the\nlisting in-game).",
  "properties": {
    "updated_at": {
      "format": "date-time",
      "type": "string"
    },
    "world_id": {
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "world_id",
    "updated_at"
  ],
  "type": "object"
}