Ad Timo
api/v1 · live

Build with RexBD.

Free Bangladesh-ready utilities for any website, and a link API to shorten links and read click stats from your own apps. Plain JSON over HTTPS, no SDK needed.

REST · JSON11 free endpoints8 link endpointsCORS enabled
Base URLhttps://rexbd.net/api/v1
terminal
$ curl "https://rexbd.net/api/v1/tools/amount-in-words?amount=125050.75"
{
  "ok": true,
  "words": "One Lakh Twenty-Five Thousand Fifty Taka and Seventy-Five Poisha Only",
  "words_bangla": "এক লক্ষ পঁচিশ হাজার পঞ্চাশ টাকা পঁচাত্তর পয়সা মাত্র",
  "formatted": "৳1,25,050.75"
}
Two APIs, one base URL

Pick the one you need

🧰
Free tools APINo key · CORS open · 60 requests/minute per IP

Call it from your server or straight from browser JavaScript on any website. Perfect for forms, invoices and Bangla content.

See all 11 endpoints
Ideas

What you can build in an afternoon

🧾Invoices & cheques

Print the total in words, in English or Bangla, with the Taka in words endpoint.

📅Bangla dates

Show today's Bangla calendar date on a news site or school notice board.

🧮Checkout VAT

Add or remove VAT on a shop cart without writing the maths yourself.

📣Campaign links

Create tracked short links for every SMS or Facebook post and read clicks back.

🔐Sign-up forms

Suggest strong passwords and create UUIDs for new records.

📏Unit widgets

Convert land, gold, length or weight units right inside your property or jewellery site.

Quick start

  1. Free tools need nothing: call them straight away, even from browser JavaScript on your own website.
  2. Link endpoints need an API key: sign in and open Dashboard → Developer API, then click Create API key.
  3. Every response is JSON with "ok": true on success, or "ok": false and an "error" message.
Try one now: https://rexbd.net/api/v1/tools/amount-in-words?amount=125050.75 Open ↗

Authentication

Send your key in the Authorization header (recommended), or as ?key= for quick tests.

Authorization: Bearer bd_your_api_key_here
🔒 Keep your key secret: it works like a password for your links. Use link endpoints from your server, never from public JavaScript. Creating a new key in the dashboard stops the old one immediately.

Errors & limits

StatusMeaning
200 / 201Success (201 = something was created)
401Missing or wrong API key
404That link is not in your account
422Invalid input: the error message says what to fix
429Too many requests: wait a minute

Rate limits: link API 60 requests/minute per key · bulk shortening 10/minute · free tools 60/minute per IP. Every response includes X-RateLimit-Remaining.

Link API

Needs your API key.

GET /api/v1/me API key

Your account

Check your key works and see your username, link count and total clicks.

curl "https://rexbd.net/api/v1/me" \
  -H "Authorization: Bearer YOUR_API_KEY"
const res = await fetch("https://rexbd.net/api/v1/me", {
  method: "GET",
  headers: { Authorization: "Bearer YOUR_API_KEY" }
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/me");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"],
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "user": { "username": "rahim", "name": "Rahim", "links": 42, "total_clicks": 1830, "member_since": "2026-01-05T10:00:00+00:00" } }
POST /api/v1/shorten API key

Shorten a link

Create one short link. Returns 201 with the new short URL.

ParameterDescription
urlrequiredThe long web address
aliasoptionalCustom name, 3–64 letters, numbers, - or _
titleoptionalA label for your dashboard
curl -X POST "https://rexbd.net/api/v1/shorten" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "url=https://example.com/a/very/long/page" \
  --data-urlencode "alias=eid-sale"
const res = await fetch("https://rexbd.net/api/v1/shorten", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_API_KEY" },
  body: new URLSearchParams("url=https://example.com/a/very/long/page&alias=eid-sale")
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/shorten");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"],
  CURLOPT_POSTFIELDS => "url=https://example.com/a/very/long/page&alias=eid-sale",
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "short_url": "https://rexbd.net/eid-sale", "slug": "eid-sale", "url": "https://example.com/a/very/long/page" }
POST /api/v1/shorten/bulk API key

Shorten many links

Up to 50 links in one request. Each line gets its own result, so one bad URL does not stop the rest.

ParameterDescription
urls[]requiredArray of URLs, or urls as text, one per line
curl -X POST "https://rexbd.net/api/v1/shorten/bulk" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "urls[]=https://example.com/a" \
  --data-urlencode "urls[]=https://example.com/b"
const res = await fetch("https://rexbd.net/api/v1/shorten/bulk", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_API_KEY" },
  body: new URLSearchParams("urls[]=https://example.com/a&urls[]=https://example.com/b")
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/shorten/bulk");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"],
  CURLOPT_POSTFIELDS => "urls[]=https://example.com/a&urls[]=https://example.com/b",
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "created": 2, "results": [ { "ok": true, "url": "https://example.com/a", "short_url": "https://rexbd.net/Xk3pQa", "slug": "Xk3pQa" }, … ] }

Free tools API

No key needed. CORS is open, so you can call these from browser JavaScript on any website.

GET /api/v1/tools/amount-in-words Free · no key

Amount in words (Taka)

Any amount in English (lakh / crore and international) and Bangla, ready for cheques, invoices and receipts.

ParameterDescription
amountrequirede.g. 125050.75 (commas, ৳ and Bangla digits are fine)
curl "https://rexbd.net/api/v1/tools/amount-in-words?amount=125050.75"
const res = await fetch("https://rexbd.net/api/v1/tools/amount-in-words?amount=125050.75", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/amount-in-words?amount=125050.75");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "words": "One Lakh Twenty-Five Thousand Fifty Taka and Seventy-Five Poisha Only", "words_bangla": "এক লক্ষ পঁচিশ হাজার পঞ্চাশ টাকা পঁচাত্তর পয়সা মাত্র", "formatted": "৳1,25,050.75", … }
GET /api/v1/tools/bangla-date Free · no key

Bangla calendar date

Gregorian → Bangla (Bongabdo) date using the revised Bangladesh calendar, with season and weekday.

ParameterDescription
dateoptionalYYYY-MM-DD (default: today in Bangladesh)
curl "https://rexbd.net/api/v1/tools/bangla-date?date=2026-04-14"
const res = await fetch("https://rexbd.net/api/v1/tools/bangla-date?date=2026-04-14", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/bangla-date?date=2026-04-14");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "bangla": { "day": 1, "month_name": "Boishakh", "year": 1433, "text_bn": "১ বৈশাখ ১৪৩৩", "season_bn": "গ্রীষ্ম", … } }
GET /api/v1/tools/bangla-number Free · no key

Bangla ↔ English digits

Turn 0–9 into ০–৯ or back. Direction is detected automatically.

ParameterDescription
numberrequiredText with digits (up to 200 characters)
tooptionalbn or en
curl "https://rexbd.net/api/v1/tools/bangla-number?number=2026-11-19"
const res = await fetch("https://rexbd.net/api/v1/tools/bangla-number?number=2026-11-19", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/bangla-number?number=2026-11-19");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "to": "bn", "result": "২০২৬-১১-১৯" }
GET /api/v1/tools/convert Free · no key

Unit converter

Gold (bhori, ana, rati, gram…), Bangladesh land (decimal, katha, bigha, acre…), length and weight (maund, seer…). Leave out "to" to get every unit.

ParameterDescription
valuerequiredNumber to convert
fromrequirede.g. bhori, katha, foot, maund
tooptionalTarget unit in the same group
katha_sqftoptionalKatha size in sq ft (default 720)
curl "https://rexbd.net/api/v1/tools/convert?value=1&from=bhori&to=gram"
const res = await fetch("https://rexbd.net/api/v1/tools/convert?value=1&from=bhori&to=gram", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/convert?value=1&from=bhori&to=gram");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "value": 1, "from": "bhori", "to": "gram", "result": 11.664 }
GET /api/v1/tools/vat Free · no key

VAT calculator

Add VAT to a price or remove it from a VAT-inclusive price.

ParameterDescription
amountrequiredPrice
rateoptionalPercent (default 15)
modeoptionaladd (default) or remove
curl "https://rexbd.net/api/v1/tools/vat?amount=1000&rate=15"
const res = await fetch("https://rexbd.net/api/v1/tools/vat?amount=1000&rate=15", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/vat?amount=1000&rate=15");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "mode": "add", "rate": 15, "net": 1000, "vat": 150, "gross": 1150 }
GET /api/v1/tools/slug Free · no key

Slug generator

Make a clean, URL-friendly slug from any title.

ParameterDescription
textrequiredUp to 1000 characters
separatoroptional- (default), _ or .
curl "https://rexbd.net/api/v1/tools/slug?text=Eid%20Sale%202026%3A%2050%25%20OFF!"
const res = await fetch("https://rexbd.net/api/v1/tools/slug?text=Eid%20Sale%202026%3A%2050%25%20OFF!", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/slug?text=Eid%20Sale%202026%3A%2050%25%20OFF!");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "slug": "eid-sale-2026-50-off" }
GET /api/v1/tools/password Free · no key

Password generator

Strong random passwords from a cryptographically secure generator.

ParameterDescription
lengthoptional4–128 (default 16)
countoptional1–20 (default 1)
upper / lower / numbers / symbolsoptional1 or 0 (all on by default)
curl "https://rexbd.net/api/v1/tools/password?length=20&symbols=1"
const res = await fetch("https://rexbd.net/api/v1/tools/password?length=20&symbols=1", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/password?length=20&symbols=1");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "length": 20, "entropy_bits": 123, "password": "q7#Lm…", "passwords": [ … ] }
GET /api/v1/tools/uuid Free · no key

UUID generator

Random version-4 UUIDs, or time-ordered version-7 UUIDs for database keys.

ParameterDescription
countoptional1–50 (default 1)
versionoptional4 (default) or 7
curl "https://rexbd.net/api/v1/tools/uuid?count=3&version=7"
const res = await fetch("https://rexbd.net/api/v1/tools/uuid?count=3&version=7", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/uuid?count=3&version=7");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "version": 7, "uuid": "01a1f437-…", "uuids": [ … ] }
GET /api/v1/tools/hash Free · no key

Hash generator

MD5, SHA-1, SHA-256, SHA-384, SHA-512 or CRC32 of any text. Use POST for long text.

ParameterDescription
textrequiredUp to 1 MB
algooptionalLeave out to get all of them
curl "https://rexbd.net/api/v1/tools/hash?text=hello&algo=sha256"
const res = await fetch("https://rexbd.net/api/v1/tools/hash?text=hello&algo=sha256", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/hash?text=hello&algo=sha256");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "algo": "sha256", "hash": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824" }
GET /api/v1/tools/user-agent Free · no key

User-agent parser

Device, browser, OS and bot detection from a user-agent string (defaults to the caller's own).

ParameterDescription
uaoptionalUser-agent string
curl "https://rexbd.net/api/v1/tools/user-agent"
const res = await fetch("https://rexbd.net/api/v1/tools/user-agent", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/user-agent");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "device": "Mobile", "browser": "Chrome", "os": "Android", "is_bot": false, … }
GET /api/v1/tools/ip Free · no key

What is my IP

The caller's IP address and version (and country when available).

curl "https://rexbd.net/api/v1/tools/ip"
const res = await fetch("https://rexbd.net/api/v1/tools/ip", {
  method: "GET"
});
const data = await res.json();
$ch = curl_init("https://rexbd.net/api/v1/tools/ip");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
{ "ok": true, "ip": "103.4.145.2", "version": 4, "country": "BD" }
Ad Kothay