API Documentation & Integration
Getting Started
- 1 Register/Login: Create an account or log in at Shadow Database.
- 2 Get API Token: Find your lifetime API token below after logging in.
- 3 Free Coins: Join our Telegram bot at t.me/shadowsim_coin_bot to earn free coins.
- 4 Test the API: Use the form below to test with 10-digit mobile or 13-digit CNIC.
- 5 Integrate: Use the API endpoint with your token in your application.
Download Sample Code
Download sample integration code: Download Sample Code
API Documentation
Endpoint
GET https://shadowdatabase.site/api.php?token={your_api_token}&num={mobile_number_or_cnic}
Each lookup costs 5 coins.
Log in to get your lifetime API token.
Get free coins via our Telegram bot:
https://t.me/shadowsim_coin_botcURL
curl -X GET "https://shadowdatabase.site/api.php?token=your_api_token&num=3007509422"
PHP
<?php $token = "your_api_token"; $number = "3007509422"; $url = "https://shadowdatabase.site/api.php?token=" . urlencode($token) . "&num=" . urlencode($number); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Accept: application/json']); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); curl_close($ch); $data = json_decode($response, true); print_r($data); ?>
Python
import requests token = "your_api_token" number = "3007509422" url = "https://shadowdatabase.site/api.php?token=" + token + "&num=" + number response = requests.get(url, verify=False) data = response.json() print(data)
JavaScript (Fetch)
const token = "your_api_token";
const number = "3007509422";
const url = "https://shadowdatabase.site/api.php?token=" + encodeURIComponent(token) + "&num=" + encodeURIComponent(number);
fetch(url, {
method: 'GET',
headers: { 'Accept': 'application/json' }
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Example Response
{
"status": "success",
"message": "Data retrieved successfully",
"data": [
{
"Name": "MUHAMMAD ASHRAF KHAN",
"Mobile": "923007509422",
"Country": "Pakistan",
"CNIC": "3320213858791",
"Address": "C/O M.ARSHAD POLICE THANA TEHSIL CHOWK SHORKOT CITY DISTT JHANG Shahkot"
}
],
"developed_by": "Shadow Innovations",
"total_records": 1,
"query_type": "Mobile",
"query_value": "3007509422"
}
Step 1: Register/Login
Create an account or log in at Shadow Database to access your API token.
Step 2: Get Free Coins
Join our Telegram bot at https://t.me/shadowsim_coin_bot to earn free coins.
Step 3: Obtain API Token
Copy your lifetime API token from the section above. This token works across all devices.
Step 4: Test the API
Use the form above to test with a 10-digit mobile number or 13-digit CNIC.
Step 5: Integrate into Your Project
Use the provided code examples to integrate the API into your application.
Step 6: Check History
Your lookup history is saved on the History page.
Step 7: Earn More Coins
Refer friends via the Referrals page or use the Telegram bot.
Support
For help, join our WhatsApp Channel or Telegram bot.
Log in to access the API.