BRM API Docs
Console
API Directory
API Services Pricing Matrix
Auto-Debit On Success Only

ప్రతి API కాల్ విజయవంతం (Success Response) అయినప్పుడు మాత్రమే వాలెట్ నుండి క్రింది ధరలు మినహాయించబడతాయి:

Service Name Method Cost Per Hit Charge Condition
🗳️ Instant Voter Mobile Link API GET ₹15.00 / Hit Request Submitted (200) మాత్రమే
🚗 Vehicle e-Challan API GET ₹15.00 / Hit Challan Details Fetched (200) మాత్రమే
🍚 UP Ration to Aadhaar (UID) API GET ₹25.00 / Hit Family Records Found (200) మాత్రమే
📱 Mobile to PAN Number API GET ₹15.00 / Hit PAN Found (200) మాత్రమే
🌾 Agristack Farmer PDF API GET ₹8.00 / Hit Farmer PDF Verified (200) మాత్రమే
PAN Details Verification API GET ₹7.00 / Hit PAN Found (200) మాత్రమే
Aadhaar to PAN Find API GET ₹10.00 / Hit PAN Linked (200) మాత్రమే
Vehicle RC Print PDF API GET ₹10.00 / Hit RC Verified & PDF (200) మాత్రమే
Driving Licence (DL) Print PDF API GET ₹10.00 / Hit DL Verified & PDF (200) మాత్రమే
PVC Card Print Layout API POST ₹5.00 / Hit PDF Generated
Aadhaar Print Format API POST ₹5.00 / Hit Layout Rendered
Wallet Balance Check API POST FREE (₹0.00) Unlimited

BRM Digital Developer Documentation

All requests must be executed using HTTP GET/POST with valid API token parameters. Responses are returned as standardized JSON objects.

Base URL: https://api.brmapi.in/api/
Authentication

Every API request requires a valid api_key / user_token parameter passed via query or body.

api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"
GET
🚗 Vehicle Challan API
Rate: ₹15.00 / Success Hit

Check e-Challan details of any vehicle using Vehicle Registration Number.

Endpoint URL:
https://api.brmapi.in/api/vehicle_challan.php
Parameters:
ParameterTypeRequiredDescription
api_keyStringYesYour API Key from dashboard.
vehicle_numberStringYesVehicle Registration Number (e.g. HR03AM4335).
PHP Integration Example:
<?php $api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"; $vehicle_number = "HR03AM4335"; $url = "https://api.brmapi.in/api/vehicle_challan.php?api_key=" . urlencode($api_key) . "&vehicle_number=" . urlencode($vehicle_number); $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); curl_close($curl); $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == '200') { echo "Total Challans: " . $data['challan_count'] . "\n"; foreach ($data['challans'] as $c) { echo "Challan No: " . $c['challan_no'] . " | Amount: ₹" . $c['challan_amount'] . " | Status: " . $c['challan_status'] . "\n"; } } else { echo "Error: " . $data['message']; } ?>
Sample Response (Challan Found - ₹15 Charged):
{ "status": "200", "message": "Success", "vehicle_number": "HR03AM4335", "challan_count": 1, "challans": [ { "state": "Bihar", "challan_no": "BR449326084075", "owner_name": "MOHAN SINGH", "department": "Traffic", "office_name": "Patna", "challan_status": "Paid", "challan_amount": 1000, "payment_source": "ONLINE", "payment_date": "2025-10-26", "challan_place": "AIIMS_GOLUMBER_ANPR", "vehicle_class": "M-Cycle/Scooter(2WN)" } ], "application_no": "VCHALLAN_3DDE206E46E4AEBF" }
GET
🍚 UP Ration to Aadhaar API
Rate: ₹25.00 / Success Hit

Get all Aadhaar linked family members from Uttar Pradesh Ration Card Number.

Endpoint URL:
https://api.brmapi.in/api/upration2uid.php
Parameters:
ParameterTypeRequiredDescription
api_keyStringYesYour API Key from dashboard.
ration_noStringYes12-digit UP Ration Card Number (e.g. 215740456718).
PHP Integration Example:
<?php $api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"; $ration_no = "215740456718"; $url = "https://api.brmapi.in/api/upration2uid.php?api_key=" . urlencode($api_key) . "&ration_no=" . urlencode($ration_no); $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); curl_close($curl); $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == '200') { foreach ($data['family'] as $member) { echo "Name: " . $member['name'] . " | Aadhaar: " . $member['uid'] . "\n"; } } else { echo "Error: " . $data['message']; } ?>
GET
📱 Mobile to PAN No API
Rate: ₹15.00 / Success Hit

Get PAN Number using Customer Name and 10-digit Mobile Number.

Endpoint URL:
https://api.brmapi.in/api/mobile_to_pan.php
PHP Integration Example:
<?php $api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"; $name = "Mohan"; $mobile = "8000000066"; $url = "https://api.brmapi.in/api/mobile_to_pan.php?api_key=" . urlencode($api_key) . "&Name=" . urlencode($name) . "&MobileNo=" . urlencode($mobile); $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); curl_close($curl); $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == '200') { echo "PAN Number: " . $data['pan_number']; } else { echo "Error: " . $data['message']; } ?>
GET
🌾 Agristack Farmer PDF API
Rate: ₹8.00 / Success Hit

Verify Farmer details using Aadhaar number and download Farmer PDF in Base64 format.

Endpoint URL:
https://api.brmapi.in/api/farmer.php
PHP Integration Example:
<?php $api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"; $aadhaar = "335400206902"; $state = "BR"; $url = "https://api.brmapi.in/api/farmer.php?api_key=" . urlencode($api_key) . "&aadhaar=" . urlencode($aadhaar) . "&state=" . urlencode($state); $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); curl_close($curl); $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == '200') { echo "Farmer Name: " . $data['name']; } else { echo "Error: " . $data['message']; } ?>
GET
PAN Details API
Rate: ₹7.00 / Success Hit

Fetch full PAN card details — name, DOB, gender — by 10-digit PAN number.

Endpoint URL:
https://api.brmapi.in/api/pan_details.php
PHP Integration Example:
<?php $api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"; $panno = "CFAPR3702R"; $url = "https://api.brmapi.in/api/pan_details.php?api_key=" . urlencode($api_key) . "&panno=" . urlencode($panno); $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); curl_close($curl); $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == '200') { echo "Name: " . $data['name'] . " | DOB: " . $data['dob']; } else { echo "Error: " . $data['message']; } ?>
GET
Aadhaar to PAN API
Rate: ₹10.00 / Success Hit

Find the linked PAN number for a given 12-digit Aadhaar number.

Endpoint URL:
https://api.brmapi.in/api/aadhaar_to_pan.php
PHP Integration Example:
<?php $api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"; $aadhaar_no = "335400206902"; $url = "https://api.brmapi.in/api/aadhaar_to_pan.php?api_key=" . urlencode($api_key) . "&aadhaar_no=" . urlencode($aadhaar_no); $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); curl_close($curl); $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == '200') { echo "Linked PAN: " . $data['pan_no']; } else { echo "Error: " . $data['message']; } ?>
GET
Vehicle RC Print API
Rate: ₹10.00 / Success Hit

Generate a PDF of the vehicle Registration Certificate (RC) by vehicle number. Returns a base64-encoded PDF.

Endpoint URL:
https://api.brmapi.in/api/rc.php
PHP Integration Example:
<?php $api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"; $rcno = "BR03L8594"; $url = "https://api.brmapi.in/api/rc.php?api_key=" . urlencode($api_key) . "&rcno=" . urlencode($rcno) . "&cardtype=2&chiptype=1"; $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); curl_close($curl); $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == '200') { echo "RC Owner: " . $data['name']; } else { echo "Error: " . $data['message']; } ?>
GET
Driving Licence (DL) Print API
Rate: ₹10.00 / Success Hit

Generate a PDF of a Driving Licence by DL number and date of birth. Returns a base64-encoded PDF.

Endpoint URL:
https://api.brmapi.in/api/dl.php
PHP Integration Example:
<?php $api_key = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc"; $dlno = "DL0420110123456"; $dob = "15-08-1990"; $url = "https://api.brmapi.in/api/dl.php?api_key=" . urlencode($api_key) . "&dlno=" . urlencode($dlno) . "&dob=" . urlencode($dob) . "&cardtype=1"; $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CUSTOMREQUEST => "GET", ]); $response = curl_exec($curl); curl_close($curl); $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == '200') { echo "DL Status: " . $data['message']; } else { echo "Error: " . $data['message']; } ?>
POST
PVC Card Print API
Rate: ₹5.00 / Print

Generates high-resolution CR80 (85.60 mm × 53.98 mm) PDF print layouts.

Endpoint URL:
https://api.brmapi.in/api/v1/print_service.php
PHP Integration Example:
<?php $postData = [ 'user_token' => "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc", 'service_type' => 'PVC_CARD_PRINT', 'card_data' => 'DOC_NUMBER_OR_JSON' ]; $ch = curl_init('https://api.brmapi.in/api/v1/print_service.php'); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => http_build_query($postData), CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'] ]); $res = curl_exec($ch); curl_close($ch); $data = json_decode($res, true); if (!empty($data['status'])) { echo "Download PDF: " . $data['result']['download_url']; } ?>
POST
Aadhaar Card Print API
Rate: ₹5.00 / Print

Formats and prepares Aadhaar card dimensions for standard thermal/PVC printers.

Endpoint URL:
https://api.brmapi.in/api/v1/aadhaar_print.php
Payload:
user_token = "98633084f7c62fc07b148c4195b71e0f6e392fb94b8cd13bb120fea99dbc" service_type = "AADHAAR_PRINT" aadhaar_number = "[Aadhaar Number]"
POST
Wallet Balance Check API
Rate: FREE

Real-time lookup for remaining balance and account status.

Endpoint URL:
https://api.brmapi.in/api/v1/check_balance.php
Sample Output:
{ "status": true, "wallet_balance": 150.00, "account_status": "active" }
Status & Error Responses
CodeReasonResolution
401Invalid API TokenCheck api_key in client console
402Insufficient balanceTop up wallet via client console
400Invalid Parameter formatEnsure parameters match specifications
404No Records FoundVerify input query data
500Internal Server ErrorRetry request after a few seconds