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

District

GET
/region/district
This API displays information about sub-districts based on the city ID. It is useful for identifying the sub-districts served within a specific city.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/region/district?city_id=3101' \
--header 'Authorization: Basic Og=='
Response Response Example
200 - 200 - Works fine.
{
    "success": true,
    "message": "",
    "data": [
        {
            "district_id": 3101010,
            "name": "KEPULAUAN SERIBU SELATAN",
            "city_id": 3101
        },
        {
            "district_id": 3101020,
            "name": "KEPULAUAN SERIBU UTARA",
            "city_id": 3101
        }
    ]
}

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 07:41:30
Previous
City
Next
Sub-District
Built with