---
title: "PChome 24h API: Variants | Perceptlayer"
description: "Variants from PChome 24h as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/pchome/variants
---

[APIs](https://perceptlayer.com/apis) / [PChome 24h](https://perceptlayer.com/apis/pchome) / Variants

# PChome 24h: Variants

Variants from PChome 24h as JSON. 1 credit per successful call.

GET `/v1/pchome/variants`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | string | Required | Up to 120 characters |

## Example request

PChome 24h

GET /v1/pchome/variants?id=DYAJKE-A900FVZ88 

```
{
  "success": true,
  "data": {
    "product_id": "DYAJKE-A900FVZ88",
    "variants": [
      {
        "variant_id": "DYAJKE-A900FVZ88-002",
        "name": "【福利品】Apple iPhone 12 128G 全機9成新 6.1吋 台灣公司貨",
        "spec": "白色",
        "group": "DYAJKE-A900FVZ88",
        "sequence": 34863808,
        "stock": 3,
        "availability": "in_stock",
        "is_preorder": false
      },
      {
        "variant_id": "DYAJKE-A900FVZ88-003",
        "name": "【福利品】Apple iPhone 12 128G 全機9成新 6.1吋 台灣公司貨",
        "spec": "黑色",
        "group": "DYAJKE-A900FVZ88",
        "sequence": 34863809,
        "stock": 4,
        "availability": "in_stock",
        "is_preorder": false
      },
      {
        "variant_id": "DYAJKE-A900FVZ88-005",
        "name": "【福利品】Apple iPhone 12 128G 全機9成新 6.1吋 台灣公司貨",
        "spec": "綠色",
        "group": "DYAJKE-A900FVZ88",
        "sequence": 34863811,
        "stock": 2,
        "availability": "in_stock",
        "is_preorder": false
      }
    ]
  },
  "meta": {
    "endpoint_family": "variants"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/pchome?try=variants#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.variants` has these 8 fields, read from a recorded call that returned 3 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `variant_id` | string |
| `name` | string |
| `spec` | string |
| `group` | string |
| `sequence` | integer |
| `stock` | integer |
| `availability` | string |
| `is_preorder` | boolean |
