Indexes

YouPin total market cap (Enterprise)

Daily or hourly aggregate YouPin market cap — the sum of price × listing count across the YouPin898 catalogue, in CNY.

This is the same cleaned series shown on the public Market Index page:

  • unit price must be > 0 and < 1,000,000 RMB (drops joke listings)
  • at least 2 active listings (a single seller cannot move the index)
  • only skins that exist in the internal catalogue

Daily data is cached server-side for 6 hours. Hourly data is cached for 10 minutes and reads the pre-aggregated hourly table when available.

market_cap_rmb is a decimal string. cleaned is true when the outlier filters were applied; false means a fast fallback from the precomputed daily table was used.

get/v1/indexes/market-cap

Request

  • Base URL: https://api.cspriceapi.com
  • URL: https://api.cspriceapi.com/v1/indexes/market-cap
  • Auth: API key in header x-api-key

Query parameters

resolution'daily' | 'hourly'

Point density. Defaults to daily.

daysinteger

Lookback for resolution=daily (clamped to 7–365).

hoursinteger

Lookback for resolution=hourly (clamped to 12–168).

Response

Aggregate YouPin market-cap series.

currency'CNY' required
resolution'daily' | 'hourly' required
daysinteger

Present for resolution=daily.

hoursinteger

Present for resolution=hourly.

cleanedboolean required

true when outlier filters were applied. false when the precomputed market_cap_daily fallback was used.

formulastring
change_7dstring

Fixed-point decimal value serialized as a string (preserves precision across languages). Parse with an arbitrary-precision decimal library; do not parse as a native float.

change_rangestring

Fixed-point decimal value serialized as a string (preserves precision across languages). Parse with an arbitrary-precision decimal library; do not parse as a native float.

fromstring date nullable

First daily point (resolution=daily only).

tostring date nullable

Last daily point (resolution=daily only).

countinteger required
sourcestring required
requestorstring email
planstring
timestampstring date-time required

ISO-8601 UTC timestamp (millisecond precision).

Example response

{
  "formula": "sum(price * listing_count)",
  "filters": {
    "max_price_rmb": 1000000,
    "min_listings": 2
  },
  "current": {
    "day": "2026-09-05",
    "market_cap_rmb": "1234.5600",
    "listing_count": 412003
  },
  "change_7d": "1234.5600",
  "change_range": "1234.5600",
  "data": [
    {
      "day": "2026-09-05",
      "market_cap_rmb": "1234.5600",
      "listing_count": 412003
    }
  ],
  "source": "YouPin Market Cap",
  "timestamp": "2026-04-21T12:06:35.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.