The Midasbuy API
for PUBG Mobile top-ups
Redeem UC codes onto any player, look up players, and check code status โ over a simple, fast REST API. One X-Api-Key header and you're live.
Everything you need to automate Midasbuy
Four endpoints cover the full redeem workflow. All JSON, all authenticated with your API key.
Activate a code
POST /api/v1/pubg/activate
Redeem a single UC code onto a player ID and get back the activation details.
Bulk activate
POST /api/v1/pubg/bulkActivate
Redeem up to 5 codes onto the same player in one request, with a per-code result list.
Look up a player
POST /api/v1/pubg/getPlayer
Resolve a player by ID and get their in-game name โ validate before you redeem.
Check a code
POST /api/v1/pubg/checkCode
See whether a code is still valid, already used, or expired โ plus its UC amount.
Start in one request
Authenticate with the X-Api-Key header and POST JSON. That's it.
# Redeem a UC code onto a player curl -X POST https://midasbuy-api.com/api/v1/pubg/activate \ -H "X-Api-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"player_id": 555555555, "uc_code": "rX7rASS72a25qdVcg0"}'
Get access
API keys are issued through our Telegram manager. Subscriptions are managed there too.
Message the manager
Open the Telegram bot and request access to the API.
Get your API key
You'll receive a personal X-Api-Key tied to your account.
Start integrating
Follow the documentation and make your first request.