APIs / Marketplaces / PChome 24h

1 credit per call5 endpoints12 datapointsChecked working 6 Dec 2026

PChome 24h API

PChome 24h API for Taiwan product search, TWD prices, offers with lowest price, variant stock and rating summaries as JSON. 1 credit per successful call.

PChome 24h
GET/v1/pchome/search?query=iphone
{
  "success": true,
  "data": {
    "query": "iphone",
    "currency": "TWD",
    "results": [
      {
        "product_id": "DYAJKE-A900FVZ88",
        "title": "【福利品】 iPhone 12 128G 6.1吋 全機9成新 台灣公司貨",
        "brand": "Apple",
        "price": 10580,
        "original_price": 10580,
        "discount_percent": 0,
        "currency": "TWD",
        "seller": "PChome 24h",
        "is_official": true,
        "category_id": "DYAJKE",
        "image": "https://d.ecimg.tw/items/DYAJKEA900FVZ88/000001_1734420200.jpg",
        "url": "https://24h.pchome.com.tw/prod/DYAJKE-A900FVZ88"
      },
      {
        "product_id": "DYAJ2X-1900J84C5",
        "title": "iPhone 17 (256G)",
        "brand": "Apple",
        "price": 32900,
        "original_price": 32900,
        "discount_percent": 0,
        "currency": "TWD",
        "seller": "PChome 24h",
        "is_official": true,
        "category_id": "DYAJ2X",
        "image": "https://d.ecimg.tw/items/DYAJ2X1900J84C5/000001_1761212935.jpg",
        "url": "https://24h.pchome.com.tw/prod/DYAJ2X-1900J84C5"
      },
      {
        "product_id": "DYAJ2S-A900GTR0K",
        "title": "【福利品】 iPhone 14PRO 256G 6.1吋 台灣公司貨",
        "brand": "Apple",
        "price": 26990,
        "original_price": 26990,
        "discount_percent": 0,
        "currency": "TWD",
        "seller": "PChome 24h",
        "is_official": true,
        "category_id": "DYAJ2S",
        "image": "https://d.ecimg.tw/items/DYAJ2SA900GTR0K/000001_1734416924.png",
        "url": "https://24h.pchome.com.tw/prod/DYAJ2S-A900GTR0K"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 20,
      "has_next": true,
      "total_results": 48870,
      "filtered_out": 0
    },
    "category": {}
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_42f0c389d0b8416d80bc9c9d8f388c41",
    "credits_charged": 1,
    "credits_remaining": 4874
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#product_idstringtitlestringbrandstringpriceintegeroriginal_priceintegerdiscount_percentintegercurrencystringsellerstringis_officialbooleancategory_idstringimageurlurlurl
1DYAJKE-A900FVZ88【福利品】 iPhone 12 128G 6.1吋 全機9成新 台灣公司貨Apple10580105800TWDPChome 24htrueDYAJKEhttps://d.ecimg.tw/items/DYAJKEA900FVZ88/000001_1734420200.jpghttps://24h.pchome.com.tw/prod/DYAJKE-A900FVZ88
2DYAJ2X-1900J84C5iPhone 17 (256G)Apple32900329000TWDPChome 24htrueDYAJ2Xhttps://d.ecimg.tw/items/DYAJ2X1900J84C5/000001_1761212935.jpghttps://24h.pchome.com.tw/prod/DYAJ2X-1900J84C5
3DYAJ2S-A900GTR0K【福利品】 iPhone 14PRO 256G 6.1吋 台灣公司貨Apple26990269900TWDPChome 24htrueDYAJ2Shttps://d.ecimg.tw/items/DYAJ2SA900GTR0K/000001_1734416924.pnghttps://24h.pchome.com.tw/prod/DYAJ2S-A900GTR0K

Recorded from our API · 3 items shown · 12 datapoints per itemGET /v1/pchome/search?query=iphone

12 datapoints

Identity

  • product_idstring
  • titlestring
  • brandstring
  • category_idstring

Contact

  • sellerstring
  • urlurl

Reputation

  • imageurl

Price

  • priceinteger
  • original_priceinteger
  • discount_percentinteger
  • currencystring

Other

  • is_officialboolean

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/pchome/search?query=iphone" \
  -H "X-API-Key: $API_KEY"

PChome 24h · 5 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/pchome/offers
id
product_idcurrencyoffers
1 credit
GET/v1/pchome/product
id
product_idvariant_idstitlepricecurrencyimage+1 more
1 credit
GET/v1/pchome/reviews
id
product_idsummary
1 credit
GET/v1/pchome/search
query+6 optional
currencyresultspaginationcategory
1 credit
GET/v1/pchome/variants
id
variant_idnamespecgroupsequencestock+2 more
1 credit

Overview

About the PChome 24h API

What you can get

The PChome 24h API returns PChome 24h product data for Taiwan as JSON through 5 endpoints. Prices are in TWD.

  • Search: search takes a query, with page, shop (all, 24h, 24b, vdr or tour), sort (sale/dc, rnk/dc, prc/dc, prc/ac or new/dc), min_price, max_price and brand.
  • Products: product takes an id (such as DYAJKE-A900FVZ88). variants takes an id and returns each variant's stock. offers takes an id and returns its price, original price and lowest price.
  • Reviews: reviews takes an id and returns the rating and review count.

The recorded search for "iphone" returns results, each with product_id, title, brand, price, original_price, discount_percent, currency, seller, is_official, category_id, image and url, 20 to a page, plus pagination with total_results (48,870) and has_next. The first result, a refurbished Apple iPhone 12 128G, was 10,580 TWD.

How a call works

Search, then look up: GET /v1/pchome/search?query=iphone with your key in the X-API-Key header returns each product's product_id; pass it to product, variants, offers or reviews as id. Ask for the next page with page while has_next is true. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track PChome 24h prices and discounts for a product list in Taiwan

Use the PChome 24h API to track PChome 24h prices and discounts for a product list in Taiwan

Check stock for each colour or size variant

Use the PChome 24h API to check stock for each colour or size variant

Compare a product's current price with its lowest recorded price from `offers`

Use the PChome 24h API to compare a product's current price with its lowest recorded price from `offers`

Watch official-store listings against third-party sellers in search

Use the PChome 24h API to watch official-store listings against third-party sellers in search

FAQ

Questions

How much does the PChome 24h API cost?

Each successful call costs 1 credit, on every endpoint, and each search page is one call. Failed calls cost nothing.

What do variants and offers return?

`variants` lists each `variant_id` with its `spec` (such as a colour), `stock`, `availability` and `is_preorder`; the recorded iPhone had 3 white, 4 black and 2 green in stock. `offers` returns `price`, `original_price`, `lowest_price`, `stock` and `availability`; one recorded product was 32,900 TWD with a lowest price of 31,400 and out of stock.

Does reviews return review texts?

No. `reviews` returns a summary with the `rating` and `review_count` (4.4 from 8 in the recording), not review text.

Do I need a PChome account?

No. You call this PChome 24h API with your Perceptlayer key in the `X-API-Key` header, with no PChome login.

Is this the official PChome 24h API?

No. Perceptlayer is an independent service and is not affiliated with PChome 24h. It returns PChome 24h data as JSON with a Perceptlayer key, so there is no PChome 24h developer account, app review or partner approval to get first. It only reads data: if PChome 24h has an official API and you need to act on your own PChome 24h account, such as posting, managing orders or reading private data, use that one.

Should I build a PChome 24h scraper instead?

You can, but a PChome 24h scraper is code you maintain: page changes break it, requests get blocked, and PChome 24h's terms govern how you collect data. The PChome 24h API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the PChome 24h API with 100 free credits

No credit card. Failed calls are never billed.