API Reference / Pricing
Get the latest pricing for items across sources
Returns the most recent price, bid, listing count, volume, and liquidity figures for one or more items, optionally narrowed to specific market sources. Every monetary value is reported in US cents, and each figure carries its own observation time. A source that has been switched off is left out, and a source whose listing price is older than its stale-after window is flagged stale. The response's truncated flag is set when more matching rows exist than the deterministic row cap this endpoint returns, signalling that the entries are an incomplete prefix rather than the full match.
/ analytics. v1. Analytics/ GetPricingRequest body
application/jsonRequired
Request for the latest market figures of a set of items, a set of sources, or both. At least one of the two lists must be non-empty.
expectedCompletedFeedGeneration?stringExpected lowercase SHA256 completed-feed fingerprint from an earlier bounded batch. A mismatch before or during the read returns Aborted, including for empty results. This is a generation fence, not pagination.
marketHashNames?array<string>Exact market hash names to return figures for. Empty returns every item at the requested sources.
sources?array<string>Market sources to return figures from, such as "c5game" or "buff163". Empty returns every source for the requested items.
Response body
application/json
Success
completedFeedGeneration?stringCompleted-feed fingerprint checked before and after this bounded read, returned even with no entries or no completed feeds. Empty on old readers means unknown. Independent catalog, primitive, sale and exchange-rate updates are not fenced. Callers calculating a full result must reject truncated responses and use this fence across batches.
entries?array<PricingEntry>The latest figures for every matching item and source pair, up to the endpoint's row cap.
Show attributes
average30dObservedAt?stringWhen avg_30d_cents was observed. Absent when avg_30d_cents is absent.
Format"date-time"
average7dObservedAt?stringWhen avg_7d_cents was observed. Absent when avg_7d_cents is absent.
Format"date-time"
average90dObservedAt?stringWhen avg_90d_cents was observed. Absent when avg_90d_cents is absent.
Format"date-time"
avg30dCents?stringAverage sale price over the last 30 days at the source, in US cents. Absent when the source does not report it.
Format"int64"
avg7dCents?stringAverage sale price over the last 7 days at the source, in US cents. Absent when the source does not report it.
Format"int64"
avg90dCents?stringAverage sale price over the last 90 days at the source, in US cents. Absent when the source does not report it.
Format"int64"
bidCents?stringHighest current buy order price at the source, in US cents. Absent when the source reports no bid.
Format"int64"
bidObservedAt?stringWhen bid_cents was observed. Absent when bid_cents is absent.
Format"date-time"
estimatedSaleDuration?stringThe source's estimate of how long a listing takes to sell, in hours. Absent when the source does not report it.
estimatedSaleDurationObservedAt?stringWhen estimated_sale_duration was observed. Absent when estimated_sale_duration is absent.
Format"date-time"
liquidity?numberThe source's liquidity score for the item, as reported by the source. Higher means easier to sell. Absent when the source does not report it.
Format"double"
liquidityObservedAt?stringWhen liquidity was observed. Absent when liquidity is absent.
Format"date-time"
listingsCount?integerNumber of active listings for the item at the source. Absent when the source does not report it. Zero means no active listings.
Format"int32"
listingsObservedAt?stringWhen listings_count was observed. Absent when listings_count is absent.
Format"date-time"
marketCapCents?stringTotal market value of the item's supply at the source, in US cents. Absent when the source does not report it.
Format"int64"
marketCapObservedAt?stringWhen market_cap_cents was observed. Absent when market_cap_cents is absent.
Format"date-time"
marketHashName?stringSteam market hash name of the item these figures are for.
observedAt?stringWhen the listing price was observed, as an RFC 3339 UTC timestamp with second precision, such as "2026-10-05T12:00:00Z". Falls back to the item's latest observation at the source when there is no listing price.
Format"date-time"
priceCents?stringLowest current listing price at the source, in US cents. Absent when the source reports no listing price.
Format"int64"
referenceAverage14dLag14dCents?numberReference average sale price over the 14 days before the most recent 14 days, in US cents with a fractional part. Absent when no reference response exists or the response did not include this value.
Format"double"
referenceAverage3dCents?numberReference average sale price over the last 3 days, in US cents with a fractional part. Absent when no reference response exists or the response did not include this value.
Format"double"
referenceAverage7dCents?numberReference average sale price over the last 7 days, in US cents with a fractional part. Absent when no reference response exists or the response did not include this value.
Format"double"
referenceAverage7dLag7dCents?numberReference average sale price over the 7 days before the most recent 7 days, in US cents with a fractional part. Absent when no reference response exists or the response did not include this value.
Format"double"
referenceComplete?booleanReference response completeness. Explicit false is an incomplete observed response. Absence means no response marker. Raw reference values require a complete same-clock cohort.
referenceCompletedCycleId?stringCompleted feed publication selecting this reference response, never a staging successor. A base-only publication may inherit an older reference clock. Absent without a completed publication or reference marker.
referenceObservedAt?stringUTC reference-response timestamp with subsecond precision, independent of listing observed_at. Absent when no reference response exists.
Format"date-time"
referenceP80Last10Cents?number80th percentile of the reference's last 10 sale prices, in US cents with a fractional part. Absent when no reference response exists or the response did not include this value.
Format"double"
referenceP90Last20Cents?number90th percentile of the reference's last 20 sale prices, in US cents with a fractional part. Absent when no reference response exists or the response did not include this value.
Format"double"
sales7d?stringNumber of sales the reference recorded over the last 7 days. Zero is a real observation of no sales. Absent when no reference response reported it.
Format"int64"
source?stringMarket source the figures come from, such as "c5game", "market-csgo" or "buff163".
stale?booleanTrue when observed_at is older than the source's stale-after window for its listing price, so the figures are no longer current. A source that has been switched off is not returned at all.
supply?numberNumber of units of the item available at the source. Absent when the source does not report it.
Format"double"
supplyObservedAt?stringWhen supply was observed. Absent when supply is absent.
Format"date-time"
volume?integerNumber of units the source reports as traded in its volume window. Absent when the source does not report it.
Format"int32"
volumeObservedAt?stringWhen volume was observed. Absent when volume is absent.
Format"date-time"
licensedSourcesWithheld?LicensedSourcesWithheldNo longer set: price reads carry no limits, so no licensed price source's figures are left out. Kept so existing clients still decode the response.
Show attributes
limit?stringThe rule that left them out.
Value in"LICENSED_"LICENSED_"LICENSED_"LICENSED_"LICENSED_
resetsAt?stringWhen the limit next admits the read, for the per-minute and per-day limits. Absent for a rule the caller fixes by changing the read.
Format"date-time"
sourceFamily?stringThe licensed provider whose figures were left out.
truncated?booleanTrue when the request matched more rows than the endpoint's fixed row cap, so entries holds only part of the result. Narrow the request and retry. A truncated result must not be treated as complete.
application/json
The request was malformed, such as a missing required field or an unparseable cursor.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The request lacks a valid API key in the Authorization header.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The API key is not allowed to perform this action on this workspace.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The request was rate limited. Slow down and retry later.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
An internal server error occurred.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
curl -X POST "https://api.goldmine.to/analytics.v1.Analytics/GetPricing" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"marketHashNames": [
"AK-47 | Redline (Field-Tested)",
"AWP | Asiimov (Field-Tested)"
],
"sources": [
"market-csgo",
"buff163"
]
}'const res = await fetch("https://api.goldmine.to/analytics.v1.Analytics/GetPricing", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"marketHashNames": [
"AK-47 | Redline (Field-Tested)",
"AWP | Asiimov (Field-Tested)"
],
"sources": [
"market-csgo",
"buff163"
]
}),
});
const data = await res.json();body := strings.NewReader(`{
"marketHashNames": [
"AK-47 | Redline (Field-Tested)",
"AWP | Asiimov (Field-Tested)"
],
"sources": [
"market-csgo",
"buff163"
]
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/analytics.v1.Analytics/GetPricing", body)
if err != nil {
return err
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("CSTRADER_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)import os, requests
res = requests.post(
"https://api.goldmine.to/analytics.v1.Analytics/GetPricing",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"marketHashNames": [
"AK-47 | Redline (Field-Tested)",
"AWP | Asiimov (Field-Tested)"
],
"sources": [
"market-csgo",
"buff163"
]
},
)
data = res.json(){
"entries": [
{
"marketHashName": "AK-47 | Redline (Field-Tested)",
"source": "market-csgo",
"priceCents": "150000",
"bidCents": "148000",
"listingsCount": 342,
"volume": 128,
"avg7dCents": "151200",
"avg30dCents": "149800",
"liquidity": 0.82,
"observedAt": "2026-06-29T11:30:00Z",
"supply": 342
}
]
}{
"code": "invalid_argument",
"message": "The request was malformed, such as a missing required field or an unparseable cursor."
}{
"code": "unauthenticated",
"message": "The request lacks a valid API key in the Authorization header."
}{
"code": "permission_denied",
"message": "The API key is not allowed to perform this action on this workspace."
}{
"code": "resource_exhausted",
"message": "The request was rate limited. Slow down and retry later."
}{
"code": "internal",
"message": "An internal server error occurred."
}