boscod OpenAPI
  1. Coverage Area
boscod OpenAPI
  • Introduction
  • Shipping label
  • Errors
  • Changelog
  • API
    • Coverage Area
      • Provinces
        GET
      • Cities
        GET
      • Districts
        GET
      • Search Area
        GET
    • Rates
      • List Courier
      • Shipping Fee
      • Shipping Fee (SSE)
    • Orders
      • Create Order
      • Cancel Order
      • Detail Order
      • Tracking
      • Estimation Rates
  • Webhook
  1. Coverage Area

Search Area

Developing
GET
/v1/address/search
Search for locations across provinces, cities, or districts.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
keyword
string 
required
Search provinces, cities, or districts
Example:
BANGUNTAPAN
start
integer 
optional
Starting index for pagination (default: 0)
Example:
0
limit
integer 
optional
Number of records per page (default: 10)
Example:
10

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.boscod.com:4004/v1/address/search?keyword=BANGUNTAPAN&start=0&limit=10'

Responses

🟢200Success
application/json
Body
items
array [object {7}] 
required
id
string 
optional
propinsi
string 
optional
kota
string 
optional
kecamatan
string 
optional
kode_kota
string 
optional
kodepos
string 
optional
lokasi
string 
optional
Example
{
    "total": 1,
    "items": [
        {
            "id": "15587",
            "propinsi": "DI YOGYAKARTA",
            "kota": "BANTUL",
            "kecamatan": "BANGUNTAPAN",
            "kode_kota": "BTL",
            "kodepos": "55198",
            "lokasi": "BANTUL / BANGUNTAPAN"
        }
    ]
}
Previous
Districts
Next
List Courier
Built with