API requests
Accepts GET requests. The client parameter is required. Responses are provided in json format. All numeric data is returned as numbers, add the numeric_string=true parameter to respond as strings.
The request limit per second is 5. The request limit within 5 minutes is 150. The record fetch limit is 1000.Server
URL
https://api.wargm.com/v1/server/
Request authorization client=>{SHOP_ID}:{SHOP_API_KEY}
client=SERVER_ID:SERVER_API_KEY
Filters
&type=shop&cy=bonus
Request example
https://api.wargm.com/v1/server/vote?client=1234:XXXXXXXXXXXXXXXXXX&vote_id=123
API Methods
info
Displays an array with basic information about the server.
https://api.wargm.com/v1/server/info
votes
Displays an array with votes for the server. By default, votes for the last 24 hours are taken.
https://api.wargm.com/v1/server/votes
Filters
Filter by date. Additional parameter date. Format 2026-07-29.
date=2026-07-29
Filter by period. Additional parameters date_start and date_end. Format 2026-07-29.
date_start=2026-07-29&date_end=2026-07-29
Processed filter. Additional parameter claimed. Options 1 or 0.
claimed=0
Filter by user. Additional parameter user_id.
user_id=XXXXXX
Filter by user. Additional. parameter steam_id.
steam_id=765611980425XXXXX
Filter by user. Additional parameter vk_id.
vk_id=XXXXXXXXX
voters
Displays an array with those who voted for the server. By default, votes for the last 24 hours are taken.
https://api.wargm.com/v1/server/voters
Filters
Filter by date. Additional parameter date. Format 2026-07-29.
date=2026-07-29
Filter by period. Additional parameters date_start and date_end. Format 2026-07-29.
date_start=2026-07-29&date_end=2026-07-29
Filter by user. Additional parameter user_id.
user_id=XXXXXX
Filter by user. Additional. parameter steam_id.
steam_id=765611980425XXXXX
Filter by user. Additional parameter vk_id.
vk_id=XXXXXXXXX
vote
Displays detailed data about the vote and the voter. Required parameter vote_id
https://api.wargm.com/v1/server/vote
Parameters
Additional parameter vote_id. ID of the vote on the server. Required.
vote_id=123
vote_claim
Marks the vote as processed. Required parameter vote_id
https://api.wargm.com/v1/server/vote_claim
Parameters
Additional parameter vote_id. ID of the vote on the server. Required.
vote_id=123
Shop
URL
https://api.wargm.com/v1/shop/
Request authorization client=>{SHOP_ID}:{SHOP_API_KEY}
client=SHOP_ID:SHOP_API_KEY
Filters
&type=shop&cy=bonus
Request example
https://api.wargm.com/v1/shop/operations?client=1234:XXXXXXXXXXXXXXXXXX&status=pending
API Methods
info
Displays an array with basic information about the store.
https://api.wargm.com/v1/shop/info
balance
Displays an array with information about the store balance.
https://api.wargm.com/v1/shop/balance
balance_bonus
Displays the bonus balance depending on filters. For example: store, server, user on the server, user in the store, etc.
https://api.wargm.com/v1/shop/balance_bonus
Filters
Additional parameter user_id. User ID on the website or SteamID. Required.
user_id=11111
Additional parameter server_id. Server ID for the operation. Required.
server_id=22222
add_bonus
Adds bonuses to the specified user's account. In response, returns the user's new bonus balance on the server.
https://api.wargm.com/v1/shop/add_bonus
Parameters
Additional parameter user_id. User ID on the website or SteamID. Required.
user_id=11111
Additional parameter server_id. Server ID for the operation. Required.
server_id=22222
Additional parameter amount. Quantity in 1.0 format. Required.
amount=2.5
Additional parameter expire. Expiration date. No more than 365 days. Required.
expire=2026-07-29
operations
Displays an array of user operations. By default, operations for the last 24 hours are taken.
https://api.wargm.com/v1/shop/operations
Filters
Filter by status. Additional parameter status. Options - success, pending, delivery, canceled, error.
status=pending
Filter by currency. Additional parameter cy. Options - credit, bonus.
cy=bonus
Filter by delivery type. Additional parameter delivery. Options - api, admin, online.
delivery=online
Filter by type. Additional parameter type. Options - shop, donate.
type=shop
Filter by date. Additional parameter date. Format 2026-07-29.
date=2026-07-29
Processed filter. Additional parameter claimed. Options 1 or 0.
claimed=0
Filter by user. Additional parameter user_id.
user_id=XXXXX
Filter by user. Additional. parameter steam_id.
steam_id=765611980425XXXXX
Filter by user. Additional parameter vk_id.
vk_id=XXXXXXXXX
operation_success
Changes the status of a pending operation to success. operation_id is required. Marked as processed.
https://api.wargm.com/v1/shop/operation_success
Parameters
Additional parameter operation_id. ID of the operation in the store. Required.
operation_id=123
operation_cancel
Changes the status of a pending operation to canceled. operation_id is required. Marked as processed, funds returned to the user.
https://api.wargm.com/v1/shop/operation_cancel
Parameters
Additional parameter operation_id. ID of the operation in the store. Required.
operation_id=123
operation_claim
Marks the operation as processed. Required parameter operation_id.
https://api.wargm.com/v1/shop/operation_claim
Parameters
Additional parameter operation_id. ID of the operation in the store. Required.
operation_id=123
offer
Displays an array with information about the store's offer.
https://api.wargm.com/v1/shop/offer
Parameters
Additional parameter offer_id. ID of the offer in the store. Required.
offer_id=123
offer_on
Enables the specified store's offer.
https://api.wargm.com/v1/shop/offer_on
Parameters
Additional parameter offer_id. ID of the offer in the store. Required.
offer_id=123
offer_off
Disables the specified store's offer.
https://api.wargm.com/v1/shop/offer_off
Parameters
Additional parameter offer_id. ID of the offer in the store. Required.
offer_id=123
offer_count
Assigns the quantity of the offer in the store.
https://api.wargm.com/v1/shop/offer_count
Parameters
Additional parameter offer_id. ID of the offer in the store. Required.
offer_id=123
Additional parameter amount. Quantity in 1.0 format. Required.
amount=10
blacklist_add
Adds a user to the blacklist. Required parameter user_id, server_id.
https://api.wargm.com/v1/shop/blacklist_add
Parameters
Additional parameter user_id. User ID on the website or SteamID. Required.
user_id=123
Additional parameter server_id. Server ID for the operation. Required.
server_id=123
whitelist_add
Adds a user to the whitelist. Required user_id, server_id.
https://api.wargm.com/v1/shop/whitelist_add
Parameters
Additional parameter user_id. User ID on the website or SteamID. Required.
user_id=123
Additional parameter server_id. Server ID for the operation. Required.
server_id=123
discount_add
Adds a discount to the user. Required user_id, server_id, amount.
https://api.wargm.com/v1/shop/discount_add
Parameters
Additional parameter user_id. User ID on the website or SteamID. Required.
user_id=123
Additional parameter server_id. Server ID for the operation. Required.
server_id=123
Additional parameter amount. Quantity in 1.0 format. Required.
amount=10
Additional parameter date. Expiration date. If not specified - 1 day.
date=2026-07-29