Skip to main content

About RajaOngkir API

Overview

Welcome to the RajaOngkir API V2! This guide will walk you through the basics of getting started, including setup, authentication, and making your first API call. Whether you’re building a shipping calculator or any application that requires shipping data, this API has you covered.

Register for an APIKEY

  1. Go to the RajaOngkir website : https://collaborator.komerce.id
  2. and sign up for an account.
  3. After registering, log in to your dashboard.
  4. Navigate to Profile
  5. Choose Profile sub-menu
  6. Go to APIKEY menu bar and get your Shipping Cost APIKEY. This key will be used to authenticate all your API requests.

Understand API EndPoint

RajaOngkir API provides various endpoints to help you retrieve data. Here are the key ones:

  1. Search Domestics Destination Endpoint : Get a fetch data list of origin or destination domestics areas.
  2. Search International Destination Endpoint : Get a fetch data list of destination national areas.
  3. Cost Domestics Endpoint : Calculate shipping costs between two locations in Indonesia.
  4. Cost International Endpoint : Calculate shipping costs between Indonesia location and Wordwide.
  5. Waybills Endpoint : Get a realtime delivery process (Tracking Package Location). You can find the full list of endpoints and their details in the API Documentation.

Different RajaOngkir Account

For the type of package that can be used in checking postage at RajaOngkir, we provide 2 schemes, namely Starter which is the initial tier when successfully creating an account, and also we provide a Pro package with a monthly or annual subscription fee for enhanced services.

PackageChecking Shipping CostChecking AWBTotal API Hit/Day
Starter100 hit
Pro20.000 hit