itemStatsForIds Query
Description
Retrieves statistics for multiple items identified by their IDs, including audio preview count, listings count, and creation information.
query itemStatsForIds($ids: [Long!]!) {
itemStatsForIds(ids: $ids) {
entries {
id
audioPreviewsCount
listingsCount
createdAt
createdBy
}
}
}
Variables
{
"ids": [
8166170001226
]
}
Response
{
"itemStatsForIds": {
"entries": [
{
"id": 3591880728389,
"audioPreviewsCount": 42,
"listingsCount": 42,
"createdAt": 1755976958472,
"createdBy": "example"
}
]
}
}
Arguments
| Name | Type | Description |
|---|---|---|
ids | [Long!]! | List of numeric item IDs to get statistics for. |