ApiPanel — Enterprise Server Copy API Platform — Official API Documentation

Base URL: https://api.eitsheba.online/api/v1  |  Format: JSON & PDF  |  Generated: 2026-12-02 13:34 (Asia/Dhaka)

Available API Services

Service NameEndpointMethodDescription
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.

Introduction & Authentication

Welcome to the ApiPanel Developer Documentation. All API requests are served over JSON and authenticated using your unique API Key.

Base URL
http://localhost/apipannel.com/api/v1
Authentication Methods

All keys are hashed in our database using SHA-256 and strictly enforce daily request limits, rate limits, endpoint permissions, and expiry dates.

Sample Request
{
    "headers": {
        "X-API-KEY": "ap_live_your_key_here",
        "Accept": "application\/json"
    }
}
Success Response (JSON)
{
    "status": true,
    "code": 200,
    "key_status": "active",
    "daily_limit": 500,
    "daily_used": 12,
    "expires_at": "2027-02-28 23:59:59"
}
Error Response (JSON)
{
    "status": false,
    "code": 401,
    "error_code": "INVALID_OR_EXPIRED_KEY",
    "message": "API Key is invalid, suspended, or expired."
}
cURL Example
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 Integration Example
<?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);
JavaScript (Fetch) Example
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);

Fetch NID Server Copy (JSON & PDF)

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

Parameters
ParameterTypeRequiredDescription
nidstringRequired10, 13, or 17 digit NID number (Bengali or English digits supported).
dobstringRequiredDate of birth in YYYY-MM-DD or DD-MM-YYYY format.
api_keystringOptionalAlternative to X-API-KEY header.
Sample Request
{
    "nid": "19901234567890123",
    "dob": "1990-01-15"
}
Success Response (JSON)
{
    "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,..."
    }
}
Error Response (JSON)
{
    "status": false,
    "code": 401,
    "error_code": "INVALID_OR_EXPIRED_KEY",
    "message": "API Key is invalid, suspended, or expired."
}
cURL Example
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 Integration Example
<?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);
JavaScript (Fetch) Example
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);

Error Codes & Rate Limiting

Every API response returns an HTTP status code and a JSON body with status (boolean) and code.

Sample Request
{
    "nid": "123",
    "dob": "invalid"
}
Success Response (JSON)
{
    "status": true,
    "code": 200,
    "message": "Success"
}
Error Response (JSON)
{
    "status": false,
    "code": 429,
    "error_code": "DAILY_LIMIT_EXCEEDED",
    "message": "Daily request quota exhausted."
}
cURL Example
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 Integration Example
<?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);
JavaScript (Fetch) Example
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);