Skip to content

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/productOne product of erafone.com: name, price, special price, stock, brand, images and description.
GET/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.
GET/erafone/bannersThe promotional banners of the erafone.com homepage, desktop or mobile set.

product

GET/v1/erafone/product

One product of erafone.com: name, price, special price, stock, brand, images and description.

scope social:read1 unitcached 5 min

Parameters

url
string
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
tunnel
string
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.
proxy
string
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.
profileId
string
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
brandstring
categorystring
descriptionstring
idstring
imagesImage[]
heightany
urlstring
widthany
inStockboolean
priceMoney
amountstring
currencystring
quantityinteger (int64)
ratingnumber (double)
reviewCountinteger (int64)
sellerstring
skustring
specialPriceMoney
amountstring
currencystring
thumbnailUrlstring
titlestring
typestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/erafone/product?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/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.

scope social:read1 unitcached 5 minpaginated

Parameters

url
string
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
tunnel
string
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.
proxy
string
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.
profileId
string
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
namestring
optionsVariantOption[]
labelstring
valuestring
curl "https://api.hoshime.com/v1/erafone/variants?url=https%3A%2F%2Ferafone.com%2Fproduk%2Fsamsung-galaxy-z-fold7" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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/banners

The promotional banners of the erafone.com homepage, desktop or mobile set.

scope social:read1 unitcached 10 minpaginated

Parameters

device
string
Which banner set: desktop or mobile. Default desktop.
desktopmobile
default desktope.g. desktop
tunnel
string
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.
proxy
string
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.
profileId
string
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
endsAtstring
heightinteger (int64)
idstring
imageUrlstring
startsAtstring
titlestring
urlstring
widthinteger (int64)
curl "https://api.hoshime.com/v1/erafone/banners?device=desktop" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open