API Documentation

Explore the API endpoints and their usage.

POST Mobile Legends: Bang Bang
https://api.turuaja.com/v1/mlbb/getinfo

API untuk check username game MLBB

{
    "id": "82323481",
    "server": "2159"
}
const axios = require('axios');
let data = JSON.stringify({
  "id": 82323481,
  "server": 2159
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api.turuaja.com/v1/mlbb/getinfo',
  headers: { 
    'Content-Type': 'application/json'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});
curl --location 'https://api.turuaja.com/v1/mlbb/getinfo' \
--header 'Content-Type: application/json' \
--data '{
    "id":82323481,
    "server":2159
}'
import requests
import json

url = "https://api.turuaja.com/v1/mlbb/getinfo"
payload = json.dumps({
  "id": 82323481,
  "server": 2159
})
headers = {
  'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.turuaja.com/v1/mlbb/getinfo',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
    "id":82323481,
    "server":2159
}',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
POST Free Fire
https://api.turuaja.com/v1/ff/getinfo

API untuk check username game Free Fire

{
    "id": "1730156752"
}
const axios = require('axios');
let data = JSON.stringify({
  "id": 1730156752
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api.turuaja.com/v1/ff/getinfo',
  headers: { 
    'Content-Type': 'application/json'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});
curl --location 'https://api.turuaja.com/v1/ff/getinfo' \
--header 'Content-Type: application/json' \
--data '{
    "id":1730156752
}
import requests
import json

url = "https://api.turuaja.com/v1/ff/getinfo"
payload = json.dumps({
  "id": 1730156752
})
headers = {
  'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.turuaja.com/v1/ff/getinfo',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
    "id":1730156752
}',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;