BDApi4All brings geo data, prayer times, holidays, exchange rates, mobile operators, validators, Bengali utilities, and searchable Bangladesh knowledge into one consistent REST API.
No signup for public requests. REST responses in English and Bengali.
curl "https://bdapi4all.vercel.app/api/v1/divisions"// Click “Run live request” to fetch divisions.
// The JSON response will appear here.
// Public endpoint · English & Bengali data
// Copy the command, or explore more parameters below.Explore parameters and code samples Featured APIs
GET /api/v1/prayer-times?district_id=47Daily salah times from district IDs or coordinates, with Asia/Dhaka timezone handling built in.
GET /api/v1/holidays/nextShow the next national, public, or cultural holiday without maintaining a calendar yourself.
GET /api/v1/mobile/operator?number=017...Detect Bangladeshi operators and validate number prefixes for signup, CRM, and support flows.
GET /api/v1/exchange-ratesFetch BDT exchange-rate data for widgets, remittance tools, commerce, and finance dashboards.
GET /api/v1/bn/transliterate?text=bangladeshConvert digits and run basic transliteration for forms that need Bengali-friendly output.
GET /api/v1/geocode?district=DhakaResolve Bangladesh districts and upazilas into coordinates for maps, search, and location UX.
Developer workflow
Start with live requests, copy stable data IDs, import the OpenAPI spec, and keep response handling predictable across your app.
Run requests, inspect responses, and copy URLs.
Endpoint guides, parameters, samples, and recipes.
Find IDs for divisions, districts, upazilas, and unions.
Postman, Insomnia, and VS Code REST files.
Validators, operator lookup, geocode, and Bengali helpers.
Search people, books, places, rivers, foods, and more.
Every handled response includes success, version, timestamp, X-Request-ID header, and either data or a structured error.
Administrative geography, Bengali text helpers, national dates, people, books, foods, rivers, and local validation rules live together.
OpenAPI, Postman, Insomnia, and VS Code REST collections are ready when you want codegen or team sharing.