商
Erafone API
3 endpointsCommerce & MarketplacesIDsocial:read2 real examples
Returns Erafone.com product details including price, stock, brand and images, and homepage promotional banners.
View as Markdown| GET | /erafone/product | One product of erafone.com: name, price, special price, stock, brand, images and description. |
| GET | /erafone/variants | The options of a configurable erafone.com product, such as its colours and capacities, from its product page. Empty for a product with one version. |
| GET | /erafone/banners | The promotional banners of the erafone.com homepage, desktop or mobile set. |
product
GET
/v1/erafone/productOne product of erafone.com: name, price, special price, stock, brand, images and description.
scope social:read1 unitcached 5 min
Parameters
urlstring required | Product page URL on erafone.com, such as https://erafone.com/produk/samsung-galaxy-z-fold7. e.g. https://erafone.com/produk/samsung-galaxy-z-fold7 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
25 fields
brand | string |
category | string |
description | string |
id | string |
images | Image[] |
height | any |
url | string |
width | any |
inStock | boolean |
price | Money |
amount | string |
currency | string |
quantity | integer (int64) |
rating | number (double) |
reviewCount | integer (int64) |
seller | string |
sku | string |
specialPrice | Money |
amount | string |
currency | string |
thumbnailUrl | string |
title | string |
type | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/erafone/product?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/erafone/product?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/erafone/product?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "brand": "Samsung", "category": "Smartphone", "description": "Dapatkan Harga Diskon Samsung Galaxy Z Fold 7 Blue 12/256GB Termurah di Erafone! ✅100% Original ✅Garansi Resmi ✅Bebas Ongkir", "id": "318951", "images": [ { "height": 0, "url": "https://cdnpro.eraspace.com/media/catalog/product/s/a/samsung_galaxy_z_fold7_blue_shadow_1_1.jpg", "width": 0 }, { "height": 0, "url": "https://cdnpro.eraspace.com/media/catalog/product/s/a/samsung_galaxy_z_fold7_blue_shadow_2_1_1_1.jpg", "width": 0 } ], "inStock": true, "price": { "amount": "28499000", "currency": "IDR" }, "quantity": 22, "rating": 5, "reviewCount": 7, "seller": "", "sku": "SAM-FO7-ER-CON", "specialPrice": { "amount": "22999000", "currency": "IDR" }, "thumbnailUrl": "https://cdnpro.eraspace.com/media/catalog/product/s/a/samsung_galaxy_z_fold7_blue_shadow_1_1.jpg", "title": "Samsung Galaxy Z Fold7", "type": "configurable", "updatedAt": "2026-11-06T02:46:35.117366Z", "url": "https://erafone.com/produk/samsung-galaxy-z-fold7" }, "meta": { "cached": false, "endpoint": "product", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "erafone", "requestId": "req_2Xb9kQ…", "units": 1 } }
variants
GET
/v1/erafone/variantsThe options of a configurable erafone.com product, such as its colours and capacities, from its product page. Empty for a product with one version.
scope social:read1 unitcached 5 minpaginated
Parameters
urlstring required | Product page URL on erafone.com, such as https://erafone.com/produk/samsung-galaxy-z-fold7. e.g. https://erafone.com/produk/samsung-galaxy-z-fold7 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
name | string |
options | VariantOption[] |
label | string |
value | string |
curl "https://api.hoshime.com/v1/erafone/variants?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/erafone/variants?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/erafone/variants?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "name": "…", "options": [ { "label": null, "value": null } ] } ], "meta": { "cached": false, "endpoint": "variants", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "erafone", "requestId": "req_2Xb9kQ…", "units": 1 } }
banners
GET
/v1/erafone/bannersThe promotional banners of the erafone.com homepage, desktop or mobile set.
scope social:read1 unitcached 10 minpaginated
Parameters
devicestring | Which banner set: desktop or mobile. Default desktop.desktopmobiledefault desktope.g. desktop |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
endsAt | string |
height | integer (int64) |
id | string |
imageUrl | string |
startsAt | string |
title | string |
url | string |
width | integer (int64) |
curl "https://api.hoshime.com/v1/erafone/banners?device=desktop" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/erafone/banners?device=desktop", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/erafone/banners?device=desktop", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "endsAt": "2027-11-30T00:00:00+07:00", "height": 1192, "id": "4854", "imageUrl": "https://storage.googleapis.com/eraspacelink/pmp/production/banners/images/OQvam2AsbTdV0k4xrqpZsfhiKakMJcwS7TVTqXcH.jpg", "startsAt": "2026-11-06T09:00:00+07:00", "title": "Erafone iPhone Duo 6 Nov - Desktop", "url": "https://erafone.com/produk/apple-iphone-duo?utm_source=web&utm_medium=slider_banner&utm_campaign=first_selling_iphone_duo_erafone", "width": 1296 }, { "endsAt": "2027-10-31T00:00:00+07:00", "height": 1192, "id": "4773", "imageUrl": "https://storage.googleapis.com/eraspacelink/pmp/production/banners/images/xypC67hx8t8k5Z4FdYVCd8QpNNB1tUQ2gsN0Mt9r.jpg", "startsAt": "2026-10-15T00:00:00+07:00", "title": "Erafone First Selling iPhone 18 Pro Series - Desktop", "url": "https://erafone.com/page/iphone-18-pro-release?utm_source=web&utm_medium=slider_banner&utm_campaign=first_selling_iphone_18_pro_series_erafo…", "width": 1296 } ], "meta": { "cached": false, "endpoint": "banners", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "erafone", "requestId": "req_2Xb9kQ…", "units": 1 } }