Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Komerce Destinations API

Destination and administrative-region lookup

Komerce Destinations API is one of 7 APIs that Komerce publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Destinations. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, and pricing.

This API exposes 7 operations across 7 paths, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version v1.

Requests are made against 2 base URLs: https://api.collaborator.komerce.id/user, https://api-sandbox.collaborator.komerce.id/user.

7 operations 7 paths 6 schemas 7 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
v1
Base URL
https://rajaongkir.komerce.id/api/v1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Komerce Destinations API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Payment API key from the Collaborator dashboard — the same key used for Komerce Shipping (RajaOngkir). Sandbox keys use the sandbox prefix, production keys the…

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 7 GET. Each is listed below with its method, path, parameters, and response codes.

Destinations 7

Destination and administrative-region lookup

GET
/destination/domestic-destination
Search domestic destination
searchDomesticDestination 3 params → 200401
GET
/destination/international-destination
Search international destination
searchInternationalDestination 3 params → 200401
GET
/destination/province
List provinces
listProvinces → 200401
GET
/destination/city/{province_id}
List cities in a province
listCities 1 param → 200401
GET
/destination/district/{city_id}
List districts in a city
listDistricts 1 param → 200401
GET
/destination/sub-district/{district_id}
List subdistricts in a district
listSubdistricts 1 param → 200401
GET
/tariff/api/v1/destination/search
Search destination
searchDeliveryDestination 1 param → 200401

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are DomesticDestination (7 properties), Destination (6 properties), Meta (3 properties), DestinationList (2 properties). Each schema is shown below with its type and property counts.

InternationalDestinationList
object
2 properties
Destination
object
6 properties
DomesticDestinationList
object
2 properties
Meta
object
3 properties
DestinationList
object
2 properties
DomesticDestination
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

komerce-destinations-api-openapi.yml Raw ↑

Other APIs Komerce publishes across the network.

Komerce Cost API
Komerce Orders API
Komerce Payments API
Komerce Pickup API
Komerce QRIS API
Komerce Tracking API