API Documentation

API HUB — REST API সার্ভিস। নিচে প্রতিটি API-র আলাদা documentation, request example এবং response format দেখানো হয়েছে।

সব API এক নজরে

 Successful result হলেই charge কাটা হয়। Result না পেলে কোনো charge নেই।

Authentication

সব API request-এ একটি valid API key লাগবে। Key পেতে Register করুন।

Option 1 — Header (Recommended)
HTTP Header
X-API-Key: vbn_your_api_key_here
Option 2 — Query Param
URL
?api_key=vbn_your_api_key_here
Base URL
Endpoint Prefix
https://my-api.top/api/v1

Land Tax Dakhila Finder

GET https://my-api.top/api/v1/find_dakhila

Find Land Tax Dakhila PDFs from a portal URL. Returns PDF download links when dakhila records are found.

৳150.00/call
Parameters
Name Type Required Description
input string ✓ Required The portal URL to search for dakhila
api_key string ✓ Yes* Your API key (*or pass via X-API-Key header)
Request Examples
cURL / Shell
curl --location 'https://my-api.top/api/v1/find_dakhila?input=YOUR_VALUE' \
--header 'X-API-Key: vbn_your_api_key_here'
HTTP Raw
GET /api/v1/find_dakhila?input=YOUR_VALUE HTTP/1.1
Host: my-api.top
X-API-Key: vbn_your_api_key_here
Python (requests)
import requests

response = requests.get(
    'https://my-api.top/api/v1/find_dakhila',
    headers={'X-API-Key': 'vbn_your_api_key_here'},
    params={
    "input": "YOUR_VALUE"
}
)
data = response.json()
print(data)
JavaScript (fetch)
const response = await fetch(
  'https://my-api.top/api/v1/find_dakhila?input=YOUR_VALUE',
  { headers: { 'X-API-Key': 'vbn_your_api_key_here' } }
);
const data = await response.json();
console.log(data);
Response Examples
Success — charged ৳150.00
200 OK
{
    "success": true,
    "pdf_urls": ["https://example.com/file1.pdf","https://example.com/file2.pdf"],
    "charged": 150,
    "remaining_balance": 850.00
}
No Result — ৳0 charge
200 OK
{
    "success": false,
    "charged": 0,
    "remaining_balance": 1000.00,
    "message": "Record not found"
}

Birth Certificate Verification

POST https://my-api.top/api/v1/birth

জন্ম নিবন্ধন সনদ যাচাই। UBRN এবং জন্ম তারিখ দিয়ে সম্পূর্ণ তথ্য পান। / Verify Bangladesh Birth Registration Certificate using UBRN and date of birth.

৳2.00/call
Parameters
Name Type Required Description Location
ubrn string ✓ Required Birth Registration Number (জন্ম নিবন্ধন নম্বর) — 17 digits JSON Body
dob string ✓ Required Date of Birth in YYYY-MM-DD format (e.g. 2004-04-04) JSON Body
api_key string ✓ Yes* Your API key (*or pass via X-API-Key header) Header / Query
Request Examples
cURL / Shell
curl --location 'https://my-api.top/api/v1/birth' \
--header 'X-API-Key: vbn_your_api_key_here' \
--header 'Content-Type: application/json' \
--data '{
    "ubrn": "YOUR_VALUE",
    "dob": "YOUR_VALUE"
}'
HTTP Raw
POST /api/v1/birth HTTP/1.1
Host: my-api.top
X-API-Key: vbn_your_api_key_here
Content-Type: application/json

{
    "ubrn": "YOUR_VALUE",
    "dob": "YOUR_VALUE"
}
Python (requests)
import requests

response = requests.post(
    'https://my-api.top/api/v1/birth',
    headers={'X-API-Key': 'vbn_your_api_key_here'},
    json={
    "ubrn": 'YOUR_VALUE',
    "dob": 'YOUR_VALUE'
}
)
data = response.json()
print(data)
JavaScript (fetch)
const response = await fetch(
  'https://my-api.top/api/v1/birth',
  {
    method: 'POST',
    headers: {
      'X-API-Key': 'vbn_your_api_key_here',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({"ubrn":"YOUR_VALUE","dob":"YOUR_VALUE"})
  }
);
const data = await response.json();
console.log(data);
Response Examples
Success — charged ৳2.00
200 OK
{
    "success": true,
    "data": {
        "field1": "value",
        "field2": "value",
        "...": "..."
    },
    "charged": 2,
    "remaining_balance": 850.00
}
No Result — ৳0 charge
200 OK
{
    "success": false,
    "charged": 0,
    "remaining_balance": 1000.00,
    "message": "Record not found"
}

Land Password Reset

GET https://my-api.top/api/v1/land-password-reset

ভূমি সেবা পোর্টালে মোবাইল এবং নতুন পাসওয়ার্ড দিয়ে পাসওয়ার্ড রিসেট করুন। / Reset land portal password using mobile number and new password.

৳200.00/call
Parameters
Name Type Required Description
mobile string ✓ Required Mobile Number (e.g. 1724825564)
password string Optional New Password (Optional, auto-generated if empty)
api_key string ✓ Yes* Your API key (*or pass via X-API-Key header)
Request Examples
cURL / Shell
curl --location 'https://my-api.top/api/v1/land-password-reset?mobile=YOUR_VALUE&password=YOUR_VALUE' \
--header 'X-API-Key: vbn_your_api_key_here'
HTTP Raw
GET /api/v1/land-password-reset?mobile=YOUR_VALUE&password=YOUR_VALUE HTTP/1.1
Host: my-api.top
X-API-Key: vbn_your_api_key_here
Python (requests)
import requests

response = requests.get(
    'https://my-api.top/api/v1/land-password-reset',
    headers={'X-API-Key': 'vbn_your_api_key_here'},
    params={
    "mobile": "YOUR_VALUE",
    "password": "YOUR_VALUE"
}
)
data = response.json()
print(data)
JavaScript (fetch)
const response = await fetch(
  'https://my-api.top/api/v1/land-password-reset?mobile=YOUR_VALUE&password=YOUR_VALUE',
  { headers: { 'X-API-Key': 'vbn_your_api_key_here' } }
);
const data = await response.json();
console.log(data);
Response Examples
Success — charged ৳200.00
200 OK
{
    "success": true,
    "status": ["...results..."],
    "charged": 200,
    "remaining_balance": 850.00
}
No Result — ৳0 charge
200 OK
{
    "success": false,
    "charged": 0,
    "remaining_balance": 1000.00,
    "message": "Record not found"
}

Balance Check

GET https://my-api.top/api/v1/balance

আপনার current balance, API key stats, এবং প্রতিটি API-র rate দেখুন।

Free
Request
cURL
curl --location 'https://my-api.top/api/v1/balance' \
--header 'X-API-Key: vbn_your_api_key_here'
Response
200 OK
{
    "balance": 500.00,
    "total_requests": 150,
    "successful_requests": 120,
    "key_active": true,
    "api_rates": [
        {"api": "Land Tax Dakhila Finder", "slug": "find_dakhila", "rate": 150},
        {"api": "Land Tax Payment Link", "slug": "payment_link_gen", "rate": 150},
        {"api": "BDRIS Search", "slug": "bdris_search", "rate": 120},
        {"api": "Birth Certificate Verification", "slug": "birth", "rate": 2},
        {"api": "Land Password Reset", "slug": "land-password-reset", "rate": 200}
    ]
}

Error Codes

HTTP CodeMeaningDescription
400Bad RequestRequired parameter missing
401UnauthorizedAPI key missing or invalid
402Payment RequiredBalance insufficient — recharge করুন
403ForbiddenAPI key বা account disabled
404Not FoundAPI endpoint পাওয়া যায়নি
502Bad GatewayUpstream service error — পরে আবার try করুন
Error Response Format
Error
{
    "error": "Insufficient balance.",
    "balance": 50.00,
    "cost_per_call": 150.00,
    "recharge_url": "https://my-api.top/recharge"
}