Follow Us :
24/7 Support
Company

Get to know Erge Asia โ€” your international logistics partner.

About Erge Asia
Services & Features

Complete international shipping services for personal and business needs.

All the tools you need in one integrated ecosystem.

REST API integration for real-time tracking and automatic label creation.

All services Explore all features Start Integration
Information

Guides, articles, and resources for international shipping.

View all articles
ERGE ASIA
Log InSign Up Free
Home
Language

Erge Asia ยท Developer API

Shipping API Documentation

Integrate international shipping from Indonesia to 30+ countries directly into your app. Create shipments, calculate rates, and track parcels in real time.

Base URLhttps://system.ergeasia.com/api/external/v1
30+ Countries Real-Time Tracking API Key Auth Wallet Payment
Get Started

5 Steps to Integrate the API

Follow these steps to connect your system with the ERGE ASIA Shipping API.

1
Get an API Key

Contact our team for API credentials.

2
Countries & Couriers

GET /countries and /couriers.

3
Calculate Rates

POST /rates/calculate for an estimate.

4
Create a Shipment

POST /shipments to send a parcel.

5
Track the Parcel

GET /tracking/{awb} in real time.

Authentication

All requests (except Tracking) require an API Key as a Bearer Token in the header.

Contact api-support@ergeasia.com or WhatsApp for an API Key.
HTTP Headers
Authorization: Bearer YOUR_API_KEYX-EA-Client-ID:YOUR_CLIENT_IDContent-Type: application/json
Endpoints

API Endpoints

Click an endpoint to view its parameters, request, and response details.

Returns the list of all destination countries supported by ERGE ASIA.

Response
JSON โ€” 200 OK
{ "success": true, "data": [ { "code": "TW", "name": "Taiwan" }, { "code": "SG", "name": "Singapore" }, { "code": "JP", "name": "Japan" }, { "code": "MY", "name": "Malaysia" } ], "count": 30
}

Returns the couriers available for a given destination country.

Parameters
FieldTypeRequiredDescription
country_codestringOptional2-letter ISO country code (e.g. "TW")
Response
JSON โ€” 200 OK
{ "success": true, "data": [ { "code": "ERGE", "name": "ERGE ASIA", "description": "International Express" } ], "count": 1
}

Calculate an estimated shipping cost. Tier membership discounts are applied automatically.

Parameters
FieldTypeRequiredDescription
country_codestringRequiredDestination ISO country code (e.g. "TW")
courier_codestringRequiredCourier code (from /v1/couriers)
weightnumberRequiredTotal weight in kg (max 100)
itemsarrayRequiredList of items (determines pricing category)
delivery_typestringOptional"home" (default) or "store"
Request Body
JSON
{ "country_code": "TW", "courier_code": "ERGE", "weight": 2, "items": [ { "name": "Indomie Goreng", "quantity": 10, "category": "general_cargo" } ]
}
Response
JSON โ€” 200 OK
{ "success": true, "data": { "country": "Taiwan", "courier": { "code": "ERGE", "name": "ERGE ASIA" }, "weight": { "actual": 2, "charged": 2 }, "category": "Barang Umum", "pricing": { "shipping_cost": 140700, "store_fee": 0, "total_cost": 140700, "formatted": "Rp 140.700" }, "tier": { "name": "Bronze", "discount_percent": 3 }, "wallet": { "sufficient": true, "balance": 5000000 } }
}

Create a new shipment. The cost is automatically deducted from your wallet balance and an AWB number is generated.

Important: This endpoint deducts your wallet balance immediately. Always call /v1/rates/calculate first.
Parameters
FieldTypeRequiredDescription
sender_namestringRequiredSender name
sender_phonestringRequiredSender phone
sender_locationstringRequiredSender city / region
receiver_countrystringRequiredDestination country (name or ISO code)
receiver_namestringRequiredReceiver name
receiver_phonestringRequiredReceiver phone (with country code)
receiver_postalstringRequiredReceiver postal code
receiver_addressstringRequiredFull receiver address
receiver_idstringOptionalRequired for Taiwan (ARC/Passport)
package_weightnumberRequiredTotal weight in kg
courier_servicestringRequiredCourier code
itemsarrayRequiredAt least 1 item in the package
colliesarrayOptionalMulti-parcel (weight + items per parcel)
voucher_codestringOptionalDiscount voucher code
Request Body
JSON
{ "sender_name": "Budi Santoso", "sender_phone": "081234567890", "sender_location": "DKI Jakarta", "receiver_country": "TW", "receiver_name": "Wang Wei", "receiver_phone": "+886912345678", "receiver_postal": "10617", "receiver_address": "No. 1, Section 4, Roosevelt Road", "package_weight": 3, "courier_service": "ERGE", "items": [ { "name": "Indomie Goreng", "quantity": 20, "unit": "pcs", "price": 3500, "category": "general_cargo" } ]
}
Response
JSON โ€” 200 OK
{ "success": true, "message": "Kiriman berhasil dibuat! Resi: 88826028HXDYD", "data": { "shipment_id": 12345, "awb_number": "88826028HXDYD", "status": "submitted", "courier": "ERGE ASIA", "colly_awbs": ["88826028HXDYD"], "pricing": { "shipping_cost": 211000, "discount": 0, "total_cost": 211000, "total_formatted": "Rp 211.000" }, "wallet_balance": 4789000 }
}

List all shipments on your account with pagination and filters.

Parameters
FieldTypeRequiredDescription
pageintegerOptionalPage (default: 1)
per_pageintegerOptionalItems per page (max 100)
statusstringOptionalFilter: submitted, in_process, completed
country_codestringOptionalFilter by destination country
from_datestringOptionalFrom date (YYYY-MM-DD)
to_datestringOptionalTo date (YYYY-MM-DD)
Response
JSON โ€” 200 OK
{ "success": true, "data": [ ... ], "pagination": { "current_page": 1, "per_page": 20, "total_items": 48, "total_pages": 3 }
}

Full details of a shipment by ID or AWB number, including item data and tracking.

Real-time tracking history. Public endpoint โ€” no API Key required.

Public Endpoint โ€” No API Key required.
Response
JSON โ€” 200 OK
{ "success": true, "data": { "awb_number": "88826028HXDYD", "destination": "Taiwan", "current_status": "IN_TRANSIT", "current_status_name": "Dalam Perjalanan", "history": [ { "status_code": "IN_TRANSIT", "status_name": "Dalam Perjalanan ke Negara Tujuan", "location": "Jakarta", "timestamp": "2026-02-26T08:00:00+07:00" }, { "status_code": "PROCESSING", "status_name": "Sedang Diproses di Gudang", "location": "Gudang Jakarta", "timestamp": "2026-02-25T14:30:00+07:00" } ] }
}

Check your wallet balance to ensure sufficient funds before creating a shipment.

Response
JSON โ€” 200 OK
{ "success": true, "data": { "balance": 5000000, "formatted": "Rp 5.000.000" }
}
Reference

Item Categories

Every item must have a category that determines the shipping rate.

general_cargo
General Cargo

Food, clothing, books, souvenirs, supplements, skincare, cosmetics

sensitif_items
Sensitive Items

Medicine, chicken-intestine chips, chicken-skin chips, beef crackers, boci, salted fish

electronic
Electronics

Phones, laptops, chargers, power banks

Priority: If categories are mixed in one parcel, the highest applies: electronic > sensitif_items > general_cargo.
Tracking

Tracking Status List

Statuses a shipment may pass through, from AWB creation to delivery.

Status CodeBahasa IndonesiaEnglish
AWB_CREATEDAirwaybill Berhasil DibuatAWB Created
PAYMENT_COMPLETEDPembayaran BerhasilPayment Confirmed
PICKED_UPKiriman Telah DijemputPicked Up
WAREHOUSE_RECEIVEDDiterima di Gudang JakartaReceived at Warehouse
PROCESSINGSedang Diproses di GudangProcessing
DEPARTED_ORIGINBerangkat dari IndonesiaDeparted from Indonesia
IN_TRANSITDalam Perjalanan ke Negara TujuanIn Transit
ARRIVED_DESTINATIONTelah Sampai di Negara TujuanArrived at Destination
CUSTOMS_CLEARANCEProses Bea CukaiCustoms Clearance
OUT_FOR_DELIVERYSedang Dikirim ke PenerimaOut for Delivery
DELIVEREDKiriman Telah DiterimaDelivered
RETURNEDKiriman DikembalikanReturned
CANCELLEDKiriman DibatalkanCancelled
Errors

HTTP Status Codes

The standard error response format returned by the API.

200OKRequest succeeded
201CreatedResource created successfully
400Bad RequestInvalid request
401UnauthorizedAPI Key missing/invalid
404Not FoundResource not found
422UnprocessableValidation failed
429Rate LimitedToo many requests
500Server ErrorInternal error
Error Response Format
{ "success": false, "error": { "code": "INSUFFICIENT_BALANCE", "message": "Saldo wallet tidak cukup." }
}

Ready to Integrate?

Contact our team to get an API Key and start shipping parcels from your app.

HomeRates
ChatAccount
ERGE ASIA
AI CS AssistantOnline 24/7

Loading chat...

AI Powered © Erge Digital (ErDig)