User ID Validation

GET /namcheck/api.php?uid={value}&key=YOUR_API_KEY

Production Endpoint

Base URL: https://nanobd.shop/namcheck/api.php โ€” GET method only.

Content-Type: application/json | CORS: โœ… Enabled

ParameterTypeRequiredDescription
uidstringYesUID to check (e.g., 7968142963)
keystringYesValid API_KEY
Example: https://nanobd.shop/namcheck/api.php?uid=7968142963&key=YOUR_API_KEY
API Key required โ€” every request must include a valid key.

Success

{
  "status": "success",
  "data": {
    "username": "TeamNano"
  }
}

Missing Parameter

{
  "status": "error",
  "message": "UID is required"
}

Connection Fail

{
  "status": "error",
  "message": "Failed to fetch data"
}

Code Examples

JS Fetch

fetch('https://nanobd.shop/namcheck/api.php?uid=7968142963&key=YOUR_KEY')
  .then(res => res.json())
  .then(data => console.log(data.data?.username));

Python

import requests
r = requests.get('https://nanobd.shop/namcheck/api.php', 
    params={'uid':'7968142963','key':'YOUR_KEY'})
print(r.json().get('data',{}).get('username'))

PHP

$json = file_get_contents('https://nanobd.shop/namcheck/api.php?uid=7968142963&key=YOUR_KEY');
$data = json_decode($json, true);
echo $data['data']['username'] ?? 'not found';

cURL

curl -X GET "https://nanobd.shop/namcheck/api.php?uid=7968142963&key=YOUR_KEY"

Response Structure

Success returns status: "success" with data.username. Error returns status "error" + message.

{
  "status": "success",
  "data": { "username": "TeamNano" }
}
Security: Never expose API_KEY on client-side, use backend proxy.

Demo Preview

// Response preview