Endpoint: /api/check-games
Checking the validity & match of a user account based on the user ID or server ID (if required by the game server). The results obtained can be game users or others related to the details of the game. This API can be used for user validation in the use or top-up system apps or game service integration.
- Method : POST
- Endpoint : /api/check-games?type={game_type}
- No Required Api Key or Authorization.
Find a type of game here. List Games
Data ( JSON ) | Mobile Legends
Name | Type | Required ? | Description |
---|---|---|---|
userid | string | yes | Find your UserID in Profile Game. |
zoneid | string | yes | Zone / Region ID |
Data
json
{ "userId": "123456789", "zoneId": "0000" }
Example Fetch
Name | Type | Required ? | Description |
---|---|---|---|
type | string | yes | Type of games (ex: mobile-legends, free-fire) |
Request
javascript
fetch('https://nuv-games-api.vercel.app/api/check-games?type=mobile-legends', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ userId: '12345678', zoneId: '1234' }) }) .then(res => res.json()) .then(data => console.log(data)) .catch(err => console.error('Error checking user:', err))
Example Response
Response
javascript
{ "status": 200, "message": "200 - [MOBILE-LEGENDS] : Data successfully retrieved ", "data": { "username": "kangyann.", "country": "Indonesia" } }