| Service Name | Endpoint | Method | Description |
|---|---|---|---|
| NID Server Copy API | https://api.eitsheba.online/api/v1/server-copy |
GET/POST | Fetches full Bangladesh NID Server Copy data in JSON or print-ready HTML format via nidw.store SERVERCOPY-S2. |
Welcome to the ApiPanel Developer Documentation. All API requests are served over JSON and authenticated using your unique API Key.
http://localhost/apipannel.com/api/v1
X-API-KEY: ap_live_xxxxxxAuthorization: Bearer ap_live_xxxxxx?api_key=ap_live_xxxxxxAll keys are hashed in our database using SHA-256 and strictly enforce daily request limits, rate limits, endpoint permissions, and expiry dates.
{
"headers": {
"X-API-KEY": "ap_live_your_key_here",
"Accept": "application\/json"
}
}
{
"status": true,
"code": 200,
"key_status": "active",
"daily_limit": 500,
"daily_used": 12,
"expires_at": "2027-02-28 23:59:59"
}
{
"status": false,
"code": 401,
"error_code": "INVALID_OR_EXPIRED_KEY",
"message": "API Key is invalid, suspended, or expired."
}
curl -X GET "http://localhost/apipannel.com/api/v1/server-copy?nid=19901234567890123&dob=1990-01-15" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Accept: application/json"
<?php
$apiKey = "YOUR_API_KEY";
$url = "http://localhost/apipannel.com/api/v1/server-copy";
$ch = curl_init($url . "?" . http_build_query([
"nid" => "19901234567890123",
"dob" => "1990-01-15"
]));
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-API-KEY: " . $apiKey,
"Accept: application/json"
],
CURLOPT_TIMEOUT => 45
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);
const response = await fetch("http://localhost/apipannel.com/api/v1/server-copy?nid=19901234567890123&dob=1990-01-15", {
method: "GET",
headers: {
"X-API-KEY": "YOUR_API_KEY",
"Accept": "application/json"
}
});
const result = await response.json();
console.log(result);
Retrieve verified NID Server Copy citizen details in structured JSON format with automatic upstream failover (svapi.icu & nidw.store).
Endpoint: GET / POST http://localhost/apipannel.com/api/v1/server-copy
| Parameter | Type | Required | Description |
|---|---|---|---|
nid | string | Required | 10, 13, or 17 digit NID number (Bengali or English digits supported). |
dob | string | Required | Date of birth in YYYY-MM-DD or DD-MM-YYYY format. |
api_key | string | Optional | Alternative to X-API-KEY header. |
{
"nid": "19901234567890123",
"dob": "1990-01-15"
}
{
"status": true,
"code": 200,
"message": "Server copy data fetched successfully",
"request_id": "req_8f92a1c4d5e6",
"quota": {
"daily_used": 12,
"daily_limit": 500,
"remaining": 488
},
"pdf_download_url": "http:\/\/localhost\/apipannel.com\/user\/server-copy-pdf.php?request_id=req_8f92a1c4d5e6",
"data": {
"nationalId": "5512345678",
"pin": "19901234567890123",
"oldNid": "1234567890123",
"nameBangla": "মোঃ করিম উদ্দিন",
"nameEnglish": "MD KARIM UDDIN",
"dateOfBirth": "1990-01-15",
"fatherName": "মোঃ রহিম উদ্দিন",
"motherName": "মোছাঃ আমেনা বেগম",
"gender": "male",
"religion": "ইসলাম",
"occupation": "ব্যবসায়ী",
"voterArea": "মিরপুর-১০ (261145)",
"presentAddress": "বাসা\/হোল্ডিং: ১২, মিরপুর-১০, ঢাকা",
"permanentAddress": "বাসা\/হোল্ডিং: ১২, মিরপুর-১০, ঢাকা",
"photo": "data:image\/jpeg;base64,..."
}
}
{
"status": false,
"code": 401,
"error_code": "INVALID_OR_EXPIRED_KEY",
"message": "API Key is invalid, suspended, or expired."
}
curl -X GET "http://localhost/apipannel.com/api/v1/server-copy?nid=19901234567890123&dob=1990-01-15" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Accept: application/json"
<?php
$apiKey = "YOUR_API_KEY";
$url = "http://localhost/apipannel.com/api/v1/server-copy";
$ch = curl_init($url . "?" . http_build_query([
"nid" => "19901234567890123",
"dob" => "1990-01-15"
]));
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-API-KEY: " . $apiKey,
"Accept: application/json"
],
CURLOPT_TIMEOUT => 45
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);
const response = await fetch("http://localhost/apipannel.com/api/v1/server-copy?nid=19901234567890123&dob=1990-01-15", {
method: "GET",
headers: {
"X-API-KEY": "YOUR_API_KEY",
"Accept": "application/json"
}
});
const result = await response.json();
console.log(result);
Every API response returns an HTTP status code and a JSON body with status (boolean) and code.
200 OK — Request succeeded and data is returned.400 Bad Request — Missing or invalid nid / dob format.401 Unauthorized — Missing or invalid API Key.403 Forbidden — API Key is inactive, suspended, expired, or lacks permission for this endpoint.429 Too Many Requests — Daily request limit or per-minute rate limit exceeded.502 Bad Gateway — Upstream provider unreachable or returned no record.{
"nid": "123",
"dob": "invalid"
}
{
"status": true,
"code": 200,
"message": "Success"
}
{
"status": false,
"code": 429,
"error_code": "DAILY_LIMIT_EXCEEDED",
"message": "Daily request quota exhausted."
}
curl -X GET "http://localhost/apipannel.com/api/v1/server-copy?nid=19901234567890123&dob=1990-01-15" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Accept: application/json"
<?php
$apiKey = "YOUR_API_KEY";
$url = "http://localhost/apipannel.com/api/v1/server-copy";
$ch = curl_init($url . "?" . http_build_query([
"nid" => "19901234567890123",
"dob" => "1990-01-15"
]));
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-API-KEY: " . $apiKey,
"Accept: application/json"
],
CURLOPT_TIMEOUT => 45
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);
const response = await fetch("http://localhost/apipannel.com/api/v1/server-copy?nid=19901234567890123&dob=1990-01-15", {
method: "GET",
headers: {
"X-API-KEY": "YOUR_API_KEY",
"Accept": "application/json"
}
});
const result = await response.json();
console.log(result);