Pakistan's Unified Courier API

RESTful API connecting 18+ Pakistani courier services. Single integration for PostEx, TCS, BlueEx, TRAX, and more. Finance Act 2025 compliant COD automation.

API Overview

Unified Integration

Single API endpoint to access 18+ Pakistani courier services. No need for multiple integrations.

  • ✓ PostEx, TCS, BlueEx, TRAX
  • ✓ Leopards, M&P, InstaWorld
  • ✓ 11+ additional couriers

Finance Act 2025 Ready

Built-in compliance for 2% withholding tax on COD orders. Automated FBR reporting.

  • ✓ Automatic tax calculation
  • ✓ FBR compliant reporting
  • ✓ Settlement reconciliation

RESTful & Reliable

Modern RESTful API with JSON responses. 99.9% uptime with comprehensive error handling.

  • ✓ JSON request/response
  • ✓ OAuth 2.0 authentication
  • ✓ Rate limiting & throttling

Quick Start

1. Get API Key

curl -X POST https://api.courierify.com/auth/token \
-H "Content-Type: application/json" \
-d '{"email": "your-email@example.com", "password": "your-password"}'

2. Create Shipment

curl -X POST https://api.courierify.com/v1/shipments \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"courier": "postex",
"service_type": "overnight",
"payment_method": "cod",
"consignee": {
"name": "Ahmed Khan",
"phone": "+92-300-1234567",
"address": "House 123, Block A, Gulberg, Lahore"
},
"cod_amount": 2500
}'

3. Track Shipment

curl -X GET https://api.courierify.com/v1/shipments/track/CR123456789 \
-H "Authorization: Bearer YOUR_API_TOKEN"

Core API Endpoints

Shipments

POST /v1/shipments POST

Create a new shipment with any supported courier service

GET /v1/shipments GET

List all shipments with filtering and pagination

GET /v1/shipments/track/{tracking_number} GET

Get real-time tracking information for any shipment

Couriers

GET /v1/couriers GET

List all available courier services and their capabilities

GET /v1/couriers/{courier}/rates GET

Get shipping rates for specific courier between cities

COD & Settlements

GET /v1/settlements GET

Finance Act 2025 compliant COD settlement reports

GET /v1/tax-reports GET

2% withholding tax reports for FBR compliance

SDKs & Libraries

PHP SDK

Laravel & CodeIgniter compatible

Download PHP SDK

Node.js SDK

Express & Next.js ready

Download Node.js SDK

Python SDK

Django & Flask compatible

Download Python SDK

React Library

Components & hooks included

Download React SDK

API Status & Performance

99.9%

Uptime

<150ms

Response Time

18+

Couriers

50K+

Monthly API Calls

Ready to Integrate?

Start integrating Pakistan's leading courier services today. Free plan includes 500 API calls per month.

Get API Key View Documentation

Need help? Contact our API support team at api@growzar.com