FASTRAC-DOC-API V2 (B2B API STAGING)
  1. Courier API
FASTRAC-DOC-API V2 (B2B API STAGING)
  • Overview
  • Changelog V2
  • Region API
    • Province
      GET
    • City
      GET
    • District
      GET
    • Sub-District
      GET
    • Post Code
      GET
    • Search Region
      POST
  • Courier API
    • All Courier
      GET
    • Courier Service
      GET
  • Check Tariff API
    • Check Tariff (Express Delivery)
      POST
    • Check Tariff (Instant Delivery)
      POST
    • Calculate Multi Items
      POST
  • Order API
    • Order Express
      POST
    • Order Instant
      POST
    • Cancel Order
      POST
    • Tracking Order
      GET
    • Item Categories
      GET
  • Webhook API
    • Example Webhook payload
    • Set Webhook
      POST
    • Get Webhook
      GET
  • User API
    • Balance History
      POST
  • API-Tariff
  • API-Order
  1. Courier API

Courier Service

GET
/courier/service
This API response provides valuable information about the available courier services, including both instant and express delivery options. Each service includes details such as the service name, unique code, and estimated delivery timeframes to help users choose the most suitable service for needs.
{
    "instant_delivery": [
        {
            "nama_service": "PAXEL: INSTANT BIKE",
            "code_service": "paxel_instant_bike",
            "etd_start": 1,
            "etd_end": 2,
            "etd_unit": "hours"
        }
    ],
    "express_delivery": [
        {
            "nama_service": "Sameday",
            "code_service": "sameday",
            "etd_start": 0,
            "etd_end": 1,
            "etd_unit": "days"
        },
        {
            "nama_service": "Cargo",
            "code_service": "cargo",
            "etd_start": 3,
            "etd_end": 5,
            "etd_unit": "days"
        }
    ]
}

Description#

instant_delivery
Type: Array
Description: A list of available instant delivery services. Each service in the array contains details about that particular service.
instant_delivery.nama_service:
Type: String
Description: The name of the instant delivery service. For example, PAXEL: INSTANT BIKE.
instant_delivery.code_service:
Type: String
Description: A unique code for the service. In this example, it could be something like paxel_instant_bike.
instant_delivery.etd_start:
Type: Integer
Description: The start estimate for the estimated delivery time (ETD) in the specified unit. Here, the starting estimate is 1 hour.
instant_delivery.etd_end:
Type: Integer
Description: The end estimate for the ETD in the specified unit. In this case, the estimate can go up to 2 hours.
instant_delivery.etd_unit:
Type: String
Description: The unit of the estimated delivery time. Here, the unit is hours.
express_delivery
Type: Array
Description: A list of available express delivery services, each providing details about the service.
express_delivery.nama_service:
Type: String
Description: The name of the express delivery service. In this example, the services are Sameday and Cargo.
express_delivery.code_service:
Type: String
Description: A unique code for the service. For Sameday, the code is sameday, and for Cargo, the code is cargo.
express_delivery.etd_start:
Type: Integer
Description: The start estimate for the ETD in the specified unit.
For Sameday, it is 0 days (same-day delivery).
For Cargo, it starts at 3 days.
express_delivery.etd_end:
Type: Integer
Description: The end estimate for the ETD in the specified unit.
For Sameday, it can take up to 1 day.
For Cargo, it can take up to 5 days.
express_delivery.etd_unit:
Type: String
Description: The unit of the estimated delivery time. Here, the unit is days.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/courier/service?courier_code=paxel' \
--header 'Authorization: Basic Og=='
Response Response Example
200 - 200 - Works fine.
{
    "success": true,
    "message": "",
    "data": {
        "instant_delivery": [
            {
                "nama_service": "PAXEL: INSTANT BIKE",
                "code_service": null,
                "etd_start": 1,
                "etd_end": 2,
                "etd_unit": "hours"
            }
        ],
        "express_delivery": [
            {
                "nama_service": "Sameday",
                "code_service": "sameday",
                "etd_start": 0,
                "etd_end": 1,
                "etd_unit": "days"
            },
            {
                "nama_service": "Cargo",
                "code_service": "cargo",
                "etd_start": 3,
                "etd_end": 5,
                "etd_unit": "days"
            }
        ]
    }
}

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Query Params

Body Params application/x-www-form-urlencoded

Responses

🟢200200 - Works fine.
application/json
Body

🟠400400 - Bad request. Missing required parameters or parameters are not correct
🟠404404 - Not Found
Modified at 2025-08-05 08:58:01
Previous
All Courier
Next
Check Tariff API
Built with