Gethttps://seller-api.playerauctions.com/api/v1/olp/topup
Query the paged list of published top-up offers for a game. Offers are returned in descending order of offer ID (newest first).
i. Request Example
https://seller-api.playerauctions.com/api/v1/olp/topup?gameId=9479&pageIndex=1&pageSize=20&categoryId=&serverId=ii. Request Parameters
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| gameId | int | Yes | Game ID. |
| pageIndex | int | No | Page number. Default: 1. Values less than 1 are treated as 1. |
| pageSize | int | No | Number of items per page. Default: 20. Maximum: 100. |
| categoryId | int | No | Top-up category ID to filter by. |
| serverId | int | No | Server ID to filter by. You can get the server's tree-structured data from the api/v1/games/{id}/{type}/servers endpoint. Offers without a category are always included. |
iii. Response Example
Success Response
{
"code": 10000,
"message": "",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"count": 24,
"items": [
{
"offerId": 71394136,
"offerTitle": "500 Gems Top Up - Instant",
"sellerName": "BestSeller05",
"sellerLevel": 5,
"sellerRating": 4.95,
"price": 9.99,
"deliveryTime": "In 20 Minutes",
"categoryServer": "Asia",
"categoryFaction": "",
"categoryName": "Gems"
}
]
}
}Error Response
{
"code": 10002,
"message": "Invalid parameter.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}iv. Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | Response code. 10000 indicates success; other values indicate an error. |
| message | string | Response message. Contains error details on failure. |
| requestId | string | Unique identifier for the request, used for tracking. |
| data | object | Response payload. Returned only when the request succeeds. |
| data.count | int | Total number of offers that match the filters. |
| data.items | array | Offer list of the current page. |
| data.items[].offerId | int | Offer ID. |
| data.items[].offerTitle | string | Offer title. |
| data.items[].sellerName | string | Seller name. |
| data.items[].sellerLevel | int | Seller level. |
| data.items[].sellerRating | decimal | Weighted feedback rating of the seller. |
| data.items[].price | decimal | Offer price in USD. |
| data.items[].deliveryTime | string | Committed delivery time of the offer, for example In 20 Minutes. |
| data.items[].categoryServer | string | Server name of the offer. Null when the offer has no server. |
| data.items[].categoryFaction | string | Faction name of the offer. Null when the offer has no faction. |
| data.items[].categoryName | string | Top-up category name. Null when the offer has no category. |