Documentation

Get Pricing Express

Get a list of available shipping costs and services along with the fees for each service that you can integrate into your system

POST
Disclaimer: There are separate APIs for Pos Indonesia, RPX, and Paxel services. Please contact our technical team for more information.

Volumetric

Shipment CategoryFormula
Regular (Including Next Day, Same Day)width × length × height ÷ 6
Truckingwidth × length × height ÷ 4

The result of the above calculation is in grams. If the dimensional weight is greater than the actual weight, the dimensional weight is used when calling this endpoint.

Request

ParamDataTypeNullableDescription
originintfalseID of the sender's district
subdistrict_origininttrueID of the sender's village, used for RPX, POS, and Paxel
destinationintfalseID of the customer's district
subdistrict_destinationinttrueID of the recipient's village, used for RPX, POS, and Paxel
weightintfalseTotal weight of the package in grams (actual weight of the package). If the dimensional weight is greater than the actual weight, the dimensional weight is used
insuranceinttrueFilled if the package requires insurance (1 true, 0 false)
item_valueinttrueMust be filled if insurance is filled. Or filled to calculate the COD cost of the package (if COD)
courierarraytrueCourier code(s) to filter pricing for. Contact us for the full list of available codes

The origin and destination data within the KiriminAja area do not guarantee the availability of rates for all courier services. Service availability follows the areas provided by the couriers to our system.

{
  "origin": 5783,
  "subdistrict_origin": 31532,
  "destination": 5507,
  "subdistrict_destination": 65005,
  "weight": 322,
  "length": 1,
  "width": 1,
  "height": 1,
  "item_value": "149990",
  "insurance": 1,
  "courier": ["jne"]
}

Response

{
  "status": true,
  "method": "shipping_price",
  "text": "Success",
  "details": {
    "origin_district_id": 5783,
    "origin_subdistrict_id": 31532,
    "destination_district_id": 5507,
    "destination_subdistrict_id": 65005,
    "origin_latitude": 0,
    "origin_longitude": 0,
    "weight": 322,
    "item_value": "149990",
    "width": 1,
    "length": 1,
    "insurance": 1,
    "height": 1,
    "expeditions": ["jne"],
    "cod": 0,
    "origin": 5783,
    "destination": 5507,
    "origin_kelurahan": 31532,
    "destination_kelurahan": 65005,
    "courier": ["jne"]
  },
  "results": [
    {
      "service": "jne",
      "service_name": "JNE Express Reguler",
      "service_type": "REG23",
      "cost": "12000",
      "etd": "2-3",
      "cod": true,
      "group": "regular",
      "drop": true,
      "cut_off_time": null,
      "force_insurance": false,
      "use_geolocation": false,
      "discount_campaign": {
        "discount": 0,
        "discount_percentage": 0,
        "discount_campaign_id": 0,
        "discount_type": ""
      },
      "discount_amount": 360,
      "discount_percentage": 0.03,
      "discount_type": "drop_only",
      "setting": {
        "cod_fee": "0.03",
        "minimum_cod_fee": "2500",
        "insurance_fee": "0.002",
        "insurance_add_cost": 0,
        "cod_fee_amount": 5466
      },
      "insurance": 2500
    },
    {
      "service": "jne",
      "service_name": "JNE Express Flat",
      "service_type": "FLREG23",
      "cost": "10500",
      "etd": "2-3",
      "cod": true,
      "group": "regular",
      "drop": false,
      "cut_off_time": null,
      "force_insurance": false,
      "use_geolocation": false,
      "discount_campaign": {
        "discount": 0,
        "discount_percentage": 0,
        "discount_campaign_id": 0,
        "discount_type": ""
      },
      "discount_amount": 0,
      "discount_percentage": 0,
      "discount_type": null,
      "setting": {
        "cod_fee": "0.03",
        "minimum_cod_fee": "2500",
        "insurance_fee": "0.002",
        "insurance_add_cost": 0,
        "cod_fee_amount": 5428
      },
      "insurance": 2500
    }
  ]
}
FieldDescription
serviceService code from the courier registered in the KiriminAja system
service_nameService name from the courier registered in the KiriminAja system
service_typeService type code from the courier registered in the KiriminAja system
costShipping cost
codCOD support for this service
groupService grouping for simplicity needs in the app
dropDropoff support for this service
settingsConfiguration and calculation of COD fee and Insurance fee. The values for cod_fee and insurance_fee are already divided by 100
cod_fee_amountResult COD Fee from calculating Item Price, Shipping Cost and Insurance
insuranceResult insurance Fee from percentage insurance fee 3PL

Important: Save the selected service data to your system. You must use the cost value as the shipping_cost parameter when creating an order.