Erajaya phone and gadget retailer — product detail from the official erafone.com store.
productnot measuredsearchnot measuredcategoriesnot measuredcategorynot measuredcategory-productsnot measuredfiltersnot measuredrelatednot measuredbannersnot measured/v1/marketplace:erafone/product5m cache1 paramchecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("marketplace:erafone", "product", {
"url": "https://erafone.com/produk/samsung-galaxy-z-fold7"
});
console.log(data);curl -X GET "https://api.zpi.web.id/v1/marketplace:erafone/product?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/marketplace:erafone/productFull product detail from erafone.com: price, stock, variants, specs, images and description.urlstringrequiredcurl -X GET "https://api.zpi.web.id/v1/marketplace:erafone/product?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"sku": "SAM-FO7-ER-CON",
"url": "https://erafone.com/produk/samsung-galaxy-z-fold7",
"name": "Samsung Galaxy Z Fold7",
"brand": "Samsung",
"price": 24499000,
"specs": [
{
"label": "Categori Capi",
"value": "DEVICE"
},
{
"label": "SKU Samsung",
"value": "SM-F966BDBDXID"
}
],
"stock": 22,
"store": {
"host": "erafone.com",
"name": "erafone"
},
"images": [
"https://cdnpro.eraspace.com/media/catalog/product/s/a/samsung_galaxy_z_fold7_blue_shadow_1_1.jpg",
"https://cdnpro.eraspace.com/media/catalog/product/s/a/samsung_galaxy_z_fold7_blue_shadow_2_1_1_1.jpg",
"https://cdnpro.eraspace.com/media/catalog/product/s/a/samsung_galaxy_z_fold7_blue_shadow_4_1_1_1.jpg"
],
"rating": 5,
"inStock": true,
"category": "Smartphone & Tablet/Smartphones",
"currency": "IDR",
"platform": "next",
"variants": [
{
"sku": "8100034539",
"name": "12/256 GB,Blue Shadow",
"stock": 4,
"options": {
"Warna": "Blue Shadow",
"Kapasitas": "12/256 GB"
},
"available": true
},
{
"sku": "8100034540",
"name": "12/256 GB,Jetblack",
"stock": 3,
"options": {
"Warna": "Jetblack",
"Kapasitas": "12/256 GB"
},
"available": true
},
{
"sku": "8100034546",
"name": "12/512 GB,Silver Shadow ",
"stock": 3,
"options": {
"Warna": "Silver Shadow ",
"Kapasitas": "12/512 GB"
},
"available": true
}
],
"listPrice": 28499000,
"productId": "318951",
"isPreorder": false,
"description": "Dapatkan Harga Diskon Samsung Galaxy Z Fold 7 Blue 12/256GB Termurah di Erafone! ✅100% Original ✅Garansi Resmi ✅Bebas Ongkir",
"reviewCount": 6,
"defaultImage": "https://cdnpro.eraspace.com/media/catalog/product/s/a/samsung_galaxy_z_fold7_blue_shadow_1_1.jpg"
}/v1/marketplace:erafone/searchkeyword product search, paged and sortablequerystringrequiredpagenumberoptionallimitnumberoptionalsortenumoptionalcurl -X GET "https://api.zpi.web.id/v1/marketplace:erafone/search?query=iphone&page=1&limit=20&sort=price_asc" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"page": 1,
"count": 20,
"items": [
{
"sku": "SAM-GS26U-ER-CON",
"url": "https://erafone.com/produk/samsung-galaxy-s26-ultra",
"name": "Samsung Galaxy S26 Ultra",
"badge": "+ Diskon Pembelian bundling s.d. 3,25 Juta",
"price": 22249000,
"stock": 42,
"colors": [
"Cobalt Violet",
"Black"
],
"images": [
"https://cdnpro.eraspace.com/media/catalog/product/g/a/galaxy_s26_ultra_cobalt_violet_1_2.webp",
"https://cdnpro.eraspace.com/media/catalog/product/g/a/galaxy_s26_ultra_cobalt_violet_2_2.webp"
],
"rating": 5,
"urlKey": "samsung-galaxy-s26-ultra",
"inStock": true,
"category": "Smartphone & Tablet/Smartphones",
"priceMax": 24499000,
"priceMin": 24499000,
"isLimited": false,
"listPrice": 24499000,
"productId": "345972",
"thumbnail": "https://cdnpro.eraspace.com/media/catalog/product/g/a/galaxy_s26_ultra_cobalt_violet_1_2.webp",
"isPreorder": false,
"reviewCount": 21
},
{
"sku": "SAM-GS26P-ER-CON",
"url": "https://erafone.com/produk/samsung-galaxy-s26-plus",
"name": "Samsung Galaxy S26+",
"badge": "+ Diskon Pembelian bundling s.d. 2,4 Juta",
"price": 17499000,
"stock": 23,
"colors": [
"Black",
"Sky Blue"
],
"images": [
"https://cdnpro.eraspace.com/media/catalog/product/g/a/galaxy_s26_plus_black_1_1.webp",
"https://cdnpro.eraspace.com/media/catalog/product/g/a/galaxy_s26_plus_black_2_1.webp"
],
"urlKey": "samsung-galaxy-s26-plus",
"inStock": true,
"category": "Smartphone & Tablet/Smartphones",
"priceMax": 19499000,
"priceMin": 19499000,
"isLimited": false,
"listPrice": 19499000,
"productId": "346100",
"thumbnail": "https://cdnpro.eraspace.com/media/catalog/product/g/a/galaxy_s26_plus_black_1_1.webp",
"isPreorder": false,
"reviewCount": 0
}
],
"query": "samsung",
"hasMore": true,
"nextPage": 2,
"totalData": 486,
"totalDataText": null
}/v1/marketplace:erafone/categoriesfull category treexstringoptionalcurl -X GET "https://api.zpi.web.id/v1/marketplace:erafone/categories?x=" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"count": 10,
"items": [
{
"url": "https://erafone.com/catalog/gadget-&-devices-7413",
"icon": "https://storage.googleapis.com/productions-ccm-catalogservice/assets/",
"name": "Gadget & Devices",
"slug": "gadget-&-devices",
"children": [
{
"url": "https://erafone.com/catalog/smartphone-7422",
"icon": "https://storage.googleapis.com/productions-ccm-catalogservice/assets/ic-dskt-ct-104202340012221222211024113.png",
"name": "Smartphone",
"slug": "gadget-&-devices-smartphone",
"parentId": "7413",
"categoryId": "7422",
"showInMenu": true,
"description": "Smartphone"
},
{
"url": "https://erafone.com/catalog/ai-phone-7423",
"icon": "https://storage.googleapis.com/productions-ccm-catalogservice/assets/ic-dskt-ct-104202340013143310431240104.png",
"name": "AI Phone",
"slug": "gadget-&-devices-ai-phone",
"parentId": "7413",
"categoryId": "7423",
"showInMenu": true,
"description": "AI Phone"
}
],
"categoryId": "7413",
"showInMenu": true,
"description": "Gadget & Devices"
},
{
"url": "https://erafone.com/catalog/mobile-accessories-7414",
"icon": "https://storage.googleapis.com/productions-ccm-catalogservice/assets/",
"name": "Mobile Accessories",
"slug": "/mobile-accessories-7414",
"children": [
{
"url": "https://erafone.com/catalog/case-cover-mobile-acc-7428",
"icon": "https://storage.googleapis.com/productions-ccm-catalogservice/assets/ic-dskt-ct-104202340031032200322330241.png",
"name": "Case & Cover",
"slug": "/case-cover-mobile-acc-7428",
"parentId": "7414",
"categoryId": "7428",
"showInMenu": true,
"description": "Case & Cover"
},
{
"url": "https://erafone.com/catalog/protective-skin-mobile-acc-7429",
"icon": "https://storage.googleapis.com/productions-ccm-catalogservice/assets/ic-dskt-ct-104202340031442403224110144.png",
"name": "Protective Skin",
"slug": "/protective-skin-mobile-acc-7429",
"parentId": "7414",
"categoryId": "7429",
"showInMenu": true,
"description": "Protective Skin"
}
],
"categoryId": "7414",
"showInMenu": true,
"description": "Mobile Accessories"
}
]
}/v1/marketplace:erafone/categoryone category's detailcategoryIdstringrequiredcategoryId of a categories response, or the number at the end of a /catalog/<slug>-<id> URL)curl -X GET "https://api.zpi.web.id/v1/marketplace:erafone/category?categoryId=759" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"url": "https://erafone.com/catalog/smartphone-7422",
"icon": "https://storage.googleapis.com/productions-ccm-catalogservice/assets/ic-dskt-ct-104202340012221222211024113.png",
"name": "Smartphone",
"slug": "gadget-&-devices-smartphone",
"parentId": "7413",
"categoryId": "7422",
"parentName": "Gadget & Devices",
"showInMenu": true,
"description": "Smartphone"
}/v1/marketplace:erafone/category-productsproducts in one category, paged and sortablecategoryIdstringrequiredpagenumberoptionallimitnumberoptionalsortenumoptionalcurl -X GET "https://api.zpi.web.id/v1/marketplace:erafone/category-products?categoryId=759&page=1&limit=20&sort=price_asc" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"page": 1,
"count": 20,
"items": [
{
"sku": "8100273417",
"url": "https://erafone.com/produk/iqoo-z11-5g-8-256gb-black",
"name": "iQOO Z11 5G 8/256GB - Black",
"brand": "iQOO",
"price": 6899000,
"stock": 2,
"images": [
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11_5g_black_01_1.webp",
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11_5g_black_02_1.webp",
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11_5g_black_03_1.webp"
],
"urlKey": "iqoo-z11-5g-8-256gb-black",
"inStock": true,
"category": "Smartphone & Tablet/Smartphones",
"priceMax": 6899000,
"priceMin": 6899000,
"isLimited": false,
"productId": "350427",
"thumbnail": "https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11_5g_black_01_1.webp",
"isPreorder": false,
"reviewCount": 0
},
{
"sku": "8100273418",
"url": "https://erafone.com/produk/iqoo-z11x-5g-8-256gb-silver",
"name": "iQOO Z11x 5G 8/256GB - Silver",
"brand": "iQOO",
"price": 5699000,
"stock": 5,
"images": [
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11x_5g_silver_01_1.webp",
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11x_5g_silver_02_1.webp",
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11x_5g_silver_03_1.webp"
],
"urlKey": "iqoo-z11x-5g-8-256gb-silver",
"inStock": true,
"category": "Smartphone & Tablet/Smartphones",
"priceMax": 5699000,
"priceMin": 5699000,
"isLimited": false,
"productId": "350420",
"thumbnail": "https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11x_5g_silver_01_1.webp",
"isPreorder": false,
"reviewCount": 0
},
{
"sku": "8100273419",
"url": "https://erafone.com/produk/iqoo-z11x-5g-8-256gb-black",
"name": "iQOO Z11x 5G 8/256GB - Black",
"brand": "iQOO",
"price": 5699000,
"stock": 3,
"images": [
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11x_5g_black_01_1.webp",
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11x_5g_black_02_1.webp",
"https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11x_5g_black_03_1.webp"
],
"urlKey": "iqoo-z11x-5g-8-256gb-black",
"inStock": true,
"category": "Smartphone & Tablet/Smartphones",
"priceMax": 5699000,
"priceMin": 5699000,
"isLimited": false,
"productId": "350428",
"thumbnail": "https://cdnpro.eraspace.com/media/catalog/product/i/q/iqoo_z11x_5g_black_01_1.webp",
"isPreorder": false,
"reviewCount": 0
}
],
"hasMore": true,
"category": null,
"nextPage": 2,
"totalData": 400,
"categoryId": "7422",
"totalDataText": null
}/v1/marketplace:erafone/filtersfilter facets and sort options for a category or a searchcategoryIdstringoptionalquerystringoptionalcurl -X GET "https://api.zpi.web.id/v1/marketplace:erafone/filters?categoryId=759&query=iphone" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"count": 10,
"sorts": [
{
"label": "Paling Sesuai",
"value": "relevance"
},
{
"label": "Ulasan Terbaik",
"value": "top_rated"
},
{
"label": "Terbaru",
"value": "newest"
}
],
"facets": [
{
"type": "checkbox",
"label": "BRAND",
"options": [
{
"count": 122,
"label": "OPPO",
"value": "OPPO"
},
{
"count": 51,
"label": "Samsung",
"value": "Samsung"
},
{
"count": 38,
"label": "vivo",
"value": "vivo"
}
],
"parameter": "Brand"
},
{
"type": "checkbox",
"label": "KAMERA BELAKANG",
"options": [
{
"count": 360,
"label": "> 30 MP",
"value": "> 30 MP"
},
{
"count": 21,
"label": "< 10 MP",
"value": "< 10 MP"
},
{
"count": 19,
"label": "10 - 15 MP",
"value": "10 - 15 MP"
}
],
"parameter": "Kamera Belakang"
},
{
"type": "checkbox",
"label": "KAMERA DEPAN",
"options": [
{
"count": 167,
"label": "> 20 MP",
"value": "> 20 MP"
},
{
"count": 140,
"label": "5 - 10 MP",
"value": "5 - 10 MP"
},
{
"count": 62,
"label": "11 - 15 MP",
"value": "11 - 15 MP"
}
],
"parameter": "Kamera Depan"
}
],
"categoryId": "7422"
}