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.
{
"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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | product_idstring | titlestring | brandstring | priceinteger | original_priceinteger | discount_percentinteger | currencystring | sellerstring | is_officialboolean | category_idstring | imageurl | urlurl |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | DYAJKE-A900FVZ88 | 【福利品】 iPhone 12 128G 6.1吋 全機9成新 台灣公司貨 | Apple | 10580 | 10580 | 0 | TWD | PChome 24h | true | DYAJKE | https://d.ecimg.tw/items/DYAJKEA900FVZ88/000001_1734420200.jpg | https://24h.pchome.com.tw/prod/DYAJKE-A900FVZ88 |
| 2 | DYAJ2X-1900J84C5 | iPhone 17 (256G) | Apple | 32900 | 32900 | 0 | TWD | PChome 24h | true | DYAJ2X | https://d.ecimg.tw/items/DYAJ2X1900J84C5/000001_1761212935.jpg | https://24h.pchome.com.tw/prod/DYAJ2X-1900J84C5 |
| 3 | DYAJ2S-A900GTR0K | 【福利品】 iPhone 14PRO 256G 6.1吋 台灣公司貨 | Apple | 26990 | 26990 | 0 | TWD | PChome 24h | true | DYAJ2S | https://d.ecimg.tw/items/DYAJ2SA900GTR0K/000001_1734416924.png | https://24h.pchome.com.tw/prod/DYAJ2S-A900GTR0K |
[
{
"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"
}
]product_id,title,brand,price,original_price,discount_percent,currency,seller,is_official,category_id,image,url DYAJKE-A900FVZ88,【福利品】 iPhone 12 128G 6.1吋 全機9成新 台灣公司貨,Apple,10580,10580,0,TWD,PChome 24h,true,DYAJKE,https://d.ecimg.tw/items/DYAJKEA900FVZ88/000001_1734420200.jpg,https://24h.pchome.com.tw/prod/DYAJKE-A900FVZ88 DYAJ2X-1900J84C5,iPhone 17 (256G),Apple,32900,32900,0,TWD,PChome 24h,true,DYAJ2X,https://d.ecimg.tw/items/DYAJ2X1900J84C5/000001_1761212935.jpg,https://24h.pchome.com.tw/prod/DYAJ2X-1900J84C5 DYAJ2S-A900GTR0K,【福利品】 iPhone 14PRO 256G 6.1吋 台灣公司貨,Apple,26990,26990,0,TWD,PChome 24h,true,DYAJ2S,https://d.ecimg.tw/items/DYAJ2SA900GTR0K/000001_1734416924.png,https://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
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.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
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:
searchtakes aquery, withpage,shop(all, 24h, 24b, vdr or tour),sort(sale/dc, rnk/dc, prc/dc, prc/ac or new/dc),min_price,max_priceandbrand. - Products:
producttakes anid(such asDYAJKE-A900FVZ88).variantstakes anidand returns each variant's stock.offerstakes anidand returns its price, original price and lowest price. - Reviews:
reviewstakes anidand 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.
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 TaiwanCheck stock for each colour or size variant
Use the PChome 24h API to check stock for each colour or size variantCompare 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 searchFAQ
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.