# Bulgarian Posts Tracking API & MCP

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

Query live **Bulgarian Posts** (`bulgarianposts`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `bulgarianposts` |
| **Brand aliases** | Bulgarian Posts, Bulgarian Post, Български пощи, bgpost.bg |
| **Category** | Bulgarian national post |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=RI342985370BG,RI342985370BG` |
| **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`)** | `/^PS[0-9A-Z]{11}$/ or UPU S10 ending BG` | S10 check digit on the `BG` form | `RI342985370BG, RI342985370BG` |
| **Pass 2 (`mayMatch`)** | none | none | none |

Domestic `PS…` numbers and `BG` S10 items with a valid check digit belong to Bulgarian Posts. A foreign S10 item that reaches Bulgaria (for example `…CA`) is tracked with `?carrier=bulgarianposts`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "bulgarianposts",
  "trackingNumber": "RI342985370BG",
  "status": "in_transit",
  "statusDescription": "Receive item at office of exchange (Otb)",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-02-12T23:00:00Z",
      "localTime": "2026-02-13T01:00:00",
      "status": "in_transit",
      "description": "Receive item at office of exchange (Otb)",
      "location": "BULGARIA, SOFIA LC/AO",
      "code": null
    },
    {
      "timestamp": "2026-02-12T11:04:00Z",
      "localTime": "2026-02-12T13:04:00",
      "status": "in_transit",
      "description": "Receive item from customer (Otb)",
      "location": "PS 1220",
      "code": null
    }
  ]
}
```

## Notes

- **Route**: the JSON that bgpost.bg's tracking page calls (`api/trace/parcel/{number}`). No account.
- **Time zone**: scan times carry no zone. For offices in Bulgaria they are Sofia time (`Europe/Sofia`); for foreign offices only `localTime` is set.
- **Wording**: international events are in English (UPU wording); domestic ones are in Bulgarian (`Доставена` delivered, `За получаване в ПС` waiting at the post office).

## Related Resources

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