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": [
903759252220
]
}
Response
{
"itemStatsForIds": {
"entries": [
{
"id": 2766808062418,
"audioPreviewsCount": 42,
"listingsCount": 42,
"createdAt": 1749209478669,
"createdBy": "example"
}
]
}
}
Arguments
| Name | Type | Description |
|---|---|---|
ids | [Long!]! | List of numeric item IDs to get statistics for. |