FASTRAC-DOC-API V2 (B2B API STAGING)
  1. Region 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. Region API

City

GET
/region/city
This API displays information about cities based on the province ID. It is useful for identifying the cities served within a specific province.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/region/city?province_id=31' \
--header 'Authorization: Basic Og=='
Response Response Example
200 - 200 - Works fine.
{
    "success": true,
    "message": "",
    "data": [
        {
            "city_id": 3101,
            "name": "KEPULAUAN SERIBU",
            "province_id": 31
        },
        {
            "city_id": 3171,
            "name": "KOTA JAKARTA SELATAN",
            "province_id": 31
        },
        {
            "city_id": 3172,
            "name": "KOTA JAKARTA TIMUR",
            "province_id": 31
        },
        {
            "city_id": 3173,
            "name": "KOTA JAKARTA PUSAT",
            "province_id": 31
        },
        {
            "city_id": 3174,
            "name": "KOTA JAKARTA BARAT",
            "province_id": 31
        },
        {
            "city_id": 3175,
            "name": "KOTA JAKARTA UTARA",
            "province_id": 31
        }
    ]
}

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

Responses

🟢200200 - Works fine.
application/json
Body

🟠400400 - Bad request. Missing required parameters or parameters are not correct
🟠401401 - Request lacks authentication (Missing/Invalid Authentication Credentials)
🟠404404 - Not Found
🔴500500 - Internal Server Error
Modified at 2025-08-05 08:25:46
Previous
Province
Next
District
Built with