API Documentation for Sim Data

Base URL: https://api.simdata.store/

Overview

This API allows users to track SIM card and CNIC information in Pakistan. You can retrieve details such as mobile numbers, names, CNICs, addresses, and operators associated with a given mobile number or CNIC.

Request Method

Example Request

GET https://api.simdata.store/?track=03311223344&api_key=38150350847

Response Format

The response will be in JSON format. Below is an example response:

Success Response

{
    "status": "success",
    "results": [
        {
            "Mobile": "3061143710",
            "Name": "AHMED ALI",
            "CNIC": "3710123456789",
            "Address": "MODEL TOWN, LAHORE",
            "Operator": "Jazz"
        },
        {
            "Mobile": "3065903333",
            "Name": "SARA KHAN",
            "CNIC": "3710123456789",
            "Address": "GULSHAN, KARACHI",
            "Operator": "Telenor"
        }
        // ... more results
    ]
}

Error Response

If there are no results or if the tracking limit is exceeded, the response will look like this:

{
    "status": "error",
    "message": "Limit exceeded. Please contact [email protected] for assistance."
}

Example of No Results

{
    "status": "error",
    "message": "No results found for the Number OR CNIC: 1234567890"
}

Missing or Invalid API Key

{
    "status": "error",
    "message": "Invalid or missing API key."
}

Parameters Explained

Parameter Type Description
track string The mobile number or CNIC to track.
api_key string Your unique API key for authentication.

Response Structure

Key Type Description
status string Indicates the success or failure of the request.
message string Contains error messages or status messages.
results array An array of result objects if the request is successful.

Result Object Structure

Key Type Description
Mobile string The mobile number associated.
Name string The name associated with the number.
CNIC string The CNIC associated.
Address string The address associated.
Operator string The mobile network operator.

Integration Example

Here is an example of how to integrate this API using PHP:

<?php
$track = "03311223344"; // Mobile number or CNIC
$api_key = "38150350847";
$url = "https://api.simdata.store/?track=" . urlencode($track) . "&api_key=" . $api_key;

// Initialize cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

// Decode the response
$data = json_decode($response, true);

// Process the data
if ($data['status'] == 'success') {
    foreach ($data['results'] as $result) {
        echo "Mobile: " . $result['Mobile'] . "\n";
        echo "Name: " . $result['Name'] . "\n";
        echo "CNIC: " . $result['CNIC'] . "\n";
        echo "Address: " . $result['Address'] . "\n";
        echo "Operator: " . $result['Operator'] . "\n\n";
    }
} else {
    echo $data['message'];
}
?>

Notes