GEThttps://seller-api.playerauctions.com/api/v1/games/{id}/{type}/servers
Query servers for a specific game and product type.
i. Request Parameters
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | int | Yes | Game ID. |
| type | string | Yes | Product type: "currency", "items", "accounts", "powerleveling", or "topup". |
ii. Response Example
Success Response
{
"code": 10000,
"message": "Operation Successful.",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data": [
{
"id": 9550,
"productType": "Server",
"name": "lisajones",
"seoName": "lisajones",
"parentId": 3637,
"itemSuffix": "",
"sequence": 0,
"subCategorys": [
{
"id": 9560,
"productType": "Faction",
"name": "'angelabrown'",
"seoName": "'angelabrown'",
"parentId": 9550,
"itemSuffix": "",
"sequence": 0,
"subCategorys": []
}
]
}
]
}
Error Response
{
"code": 10002,
"message": "Invalid parameter.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}iii. 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 | array | List of servers for the specified game. |
| └─ id | int | Server Id |
| └─ productType | string | Product type of the specified server. |
| └─ name | string | Name of the specified server. |
| └─ seoName | string | SEO name of the specified server. |
| └─ parentId | int | ID of the parent category. |
| └─ itemSuffix | string | Item suffix of the specified server. |
| └─ sequence | int | Sequence of the specified server. |
| └─ subCategorys | array | List of sub-categories for the specified server. |
| └─ └─ id | int | Faction Id. |
| └─ └─ productType | string | Product type of the specified category. |
| └─ └─ name | string | Name of the specified category. |
| └─ └─ seoName | string | SEO name of the specified category. |
| └─ └─ parentId | int | ID of the parent category for the specified category. |
| └─ └─ itemSuffix | string | Item suffix of the specified category. |
| └─ └─ sequence | int | Sequence for the specified category. |