ShopzyLogistics

resi.api.cutiezy.id Live API v1
Spesifikasi Endpoint REST API

Dokumentasi API Shopzy

Akses scraping Cek Resi dan Ongkir multi-ekspedisi dengan format JSON standar. Dapatkan API Key dengan berlangganan paket murah.

GET /cek-resi/{kurir}/{resi}

Melacak status pengiriman via URL param (GET). Mendukung 13+ kurir.

curl -X GET "https://resi.api.cutiezy.id/cek-resi/spx/SPXID067153803948" \
  -H "Authorization: Bearer YOUR_API_KEY"
POST /cek-resi

Melacak resi via JSON body payload (POST). Support kurir, resi, phone.

curl -X POST "https://resi.api.cutiezy.id/cek-resi" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"courier":"jne","resi":"TG7001099929"}'
POST /cek-ongkir

Menghitung ongkos kirim dari kota/kecamatan asal ke tujuan.

curl -X POST "https://resi.api.cutiezy.id/cek-ongkir" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"from":"bandung","to":"surabaya","weight":1}'
GET /lokasi?q={keyword}

Mencari kecamatan, kota/kabupaten, provinsi, dan ID lokasi se-Indonesia.

curl -X GET "https://resi.api.cutiezy.id/lokasi?q=gempol"
Real-time Browser Testing

Interactive Live Tester

Uji coba pemanggilan API langsung dari browser Anda tanpa aplikasi luar.

API Key: shopzy_35e...8ea417
Endpoint: GET /cek-resi/spx/SPXID067153803948
Response Status: -
// Klik 'Kirim' untuk melihat respon API...
Pemasangan Mudah & Cepat

Platform Integration Guide

Panduan Integrasi untuk Penyewa API (WordPress & Google Sheets)
Bagi Anda yang menyewa / berlangganan API ini, Anda dapat memasang fitur Cek Resi & Cek Ongkir langsung ke website WordPress toko online Anda (bisa gunakan plugin siap pakai atau buat plugin sendiri), serta spreadsheet Google Sheets via Google Apps Script.

WP

WordPress & WooCommerce

Plugin Siap Pakai atau Buat Plugin Sendiri

Plugin & Shortcode Ready

Plugin Resmi Shopzy (.zip)
Tinggal upload ke WP Admin > Plugins > Add New

⬇ Download Plugin (.zip)
Shortcode Siap Pakai di Halaman / Elementor:
[shopzy_cek_resi] Widget cek resi 20+ ekspedisi
[shopzy_cek_ongkir] Widget hitung tarif ongkir

Atau ingin buat plugin sendiri / via functions.php? Sangat bisa! Panggil API dari backend PHP WordPress via wp_remote_get:

// Contoh integrasi di plugin sendiri / functions.php:
$url = "https://resi.api.cutiezy.id/cek-resi/spx/SPXID069278572949";
$res = wp_remote_get($url, [
    'headers' => [
        'X-API-Key' => 'YOUR_API_KEY',
        'Accept'    => 'application/json'
    ],
    'timeout' => 15
]);

if (!is_wp_error($res)) {
    $data = json_decode(wp_remote_retrieve_body($res), true)['data'];
    // $data['status'], $data['manifest'], dll.
}
💡
Rekomendasi Paket: Hosting WordPress ber-IP statis dapat menggunakan Paket Starter 7K maupun Paket Pro 20K (Dedicated 1-IP).
GAS

Google Apps Script (Google Sheets)

Otomasi rumus spreadsheet via UrlFetchApp

Google Sheets Formula

Di Google Sheets, klik menu Extensions > Apps Script, lalu tempel kode rumus kustom =CEK_RESI("spx", A2) ini untuk melacak orderan otomatis:

/**
 * Rumus Formula Google Sheets:
 * Contoh: =CEK_RESI("spx", "SPXID069278572949")
 */
function CEK_RESI(kurir, noResi) {
  if (!noResi) return "";
  var apiKey = "YOUR_API_KEY"; // Dapatkan di resi.api.cutiezy.id
  var url = "https://resi.api.cutiezy.id/cek-resi/" + encodeURIComponent(kurir) + "/" + encodeURIComponent(noResi);
  var options = {
    "method": "get",
    "headers": {
      "X-API-Key": apiKey
    },
    "muteHttpExceptions": true
  };
  var res = UrlFetchApp.fetch(url, options);
  var json = JSON.parse(res.getContentText());
  return (json.data && json.data.status) ? json.data.status : (json.data ? json.data.message : "Error");
}
⚠️
Rekomendasi Paket 7K (Bebas IP) untuk Google Apps Script:
Server Google Sheets menggunakan pool IP Cloud Google yang selalu berubah secara dinamis. Gunakan Paket Starter 7K (Bebas IP) agar panggilan API lancar tanpa terhalang kunci 1-IP.