Skip to Content
FastracDocs
API reference

Search regions

GET
/b2b/region/find

Free-text search over Indonesian subdistricts (kelurahan/desa). Use the returned id as subdistrictId in a rate request. This is the fastest way to turn an address typed by a user into a region.

No authentication is required. Results are paginated: pass nextCursor back as cursor until it is null.

Query Parameters

keyword*string

Any mix of subdistrict, district, city or postal code.

limit?integer

Results per page. Values above 100 are capped at 100.

Range1 <= value <= 100
Default20
cursor?string

The nextCursor from the previous page. Takes precedence over offset.

offset?integer

Number of results to skip. Ignored when cursor is sent; prefer cursor.

Range0 <= value
Default0

Response Body

Matching subdistricts, best match first.

application/json
  1. response
statusCode*integer
message*string
data*
Example Request
curl -X GET 'https://sandbox-api.fastrac.example/b2b/region/find?keyword=string'
Example Response
{  "statusCode": 200,  "message": "Request successful.",  "data": {    "regions": [      {        "id": "3174091001",        "name": "Tebet Barat, Tebet, Kota Jakarta Selatan, DKI Jakarta",        "postCode": 12810      }    ],    "nextCursor": null  }}

Was this page helpful?