# Bangladesh Post Tracking API & MCP

URL: https://docs.lastscanned.com/carriers/bangladeshpost

Query live **Bangladesh Post** (`bangladeshpost`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `bangladeshpost` |
| **Brand aliases** | Bangladesh Post, Bangladesh Post Office, BD Post, bdpost.gov.bd |
| **Category** | Bangladesh national post (domestic mail) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=DL636643547BD,DL636643547BD` |
| **MCP server (`https://mcp.lastscanned.com`)** | `track_package`, `track_packages`, `list_carriers` |
| **Authentication & pricing** | `Authorization: Bearer lsk_live_...` · 1 free keyless lookup/day per IP |

## Tracking Number Formats & Auto-Detection

| Pass | Rule / Regex | Check Digit | Examples |
|---|---|---|---|
| **Pass 1 (`matches`)** | none | none | none |
| **Pass 2 (`mayMatch`)** | `S10 ending BD` | none | `DL636643547BD` |

UPU S10 numbers ending `BD` with a valid check digit are only a loose fallback (they can also be international items this domestic tracker does not hold): pass `?carrier=bangladeshpost`.

## Synchronous `GET` Request & Normalized JSON Response

```bash
curl -s "https://api.lastscanned.com/v1/track/DL636643547BD?carrier=bangladeshpost" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

```json
{
  "carrier": "bangladeshpost",
  "trackingNumber": "DL636643547BD",
  "status": "delivered",
  "statusDescription": "Final Posting Delivered to Receipient",
  "service": "Letter Registry",
  "deliveredAt": "2026-02-11T09:56:55Z",
  "deliveredAtLocal": "2026-02-11T15:56:55",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-02-11T09:56:55Z",
      "localTime": "2026-02-11T15:56:55",
      "status": "delivered",
      "description": "Final Posting Delivered to Receipient",
      "location": "Dhaka Sadar",
      "code": "Delivered_To_Receipent"
    },
    {
      "timestamp": "2026-02-10T11:08:55Z",
      "localTime": "2026-02-10T17:08:55",
      "status": "in_transit",
      "description": "Receive item",
      "location": "Dhaka Sadar",
      "code": "Receive_Item"
    },
    {
      "timestamp": "2026-02-07T15:22:37Z",
      "localTime": "2026-02-07T21:22:37",
      "status": "in_transit",
      "description": "Item Booked",
      "location": "Tejgaon",
      "code": "Item_Booked"
    }
  ]
}
```

## Notes

- **Route**: the "DMS Item Tracking" page's own JSON (`mail_tracking_new/get_data.php`), called with the CSRF token that the page carries. No account.
- **Time zone**: Dhaka time (`Asia/Dhaka`, UTC+6).
- **Scope**: domestic items. The international tracker (`ipsbd.bdpost.gov.bd`) was not seen returning scans and is not used.

## Related Resources

- **Regex & check digits**: [Tracking number formats & auto-detection](/formats)