# หมวดหมู่พร้อมข้อมูลตลาด

**API:** Data API

**Endpoint:** `GET /v1/beta/coingecko/coins/categories`

**Tags:** CoinGecko

หมวดหมู่คริปโตประมาณ 749 หมวดหมู่พร้อมข้อมูลตลาด: `id`, `name`, `market_cap`, `market_cap_change_24h`, `volume_24h`, `top_3_coins_id`, `top_3_coins`, `content` และ `updated_at` เรียงด้วย `order` ตามมูลค่าตลาด ชื่อ หรือการเปลี่ยนแปลงมูลค่าตลาด 24 ชั่วโมง ใช้เพื่อดูว่าภาคส่วนใดกำลังเคลื่อนไหว สำหรับรายการตัวระบุล้วนที่ตัวกรอง `category` ต้องการ `get_coingecko_coins_categories_list` มีขนาดเล็กกว่าและเร็วกว่า

### ข้อมูลอ้างอิงราคา

- การวัดปริมาณการใช้งาน: หน่วยทรัพยากรตามแพ็กเกจ
- ค่าประมาณคำขออ้างอิง: USD 0.008
- ต้นทุนต่อหน่วยพื้นฐาน: USD 0.0
- หน่วยทรัพยากร: `provider_credit`
- ต้นทุนพื้นฐานไม่ได้กำหนดราคาสุดท้ายของลูกค้า รวมถึงกรณีที่เป็นศูนย์

เป็นข้อมูลเมตาอ้างอิงเท่านั้น ไม่ใช่ใบเสนอราคาสำหรับบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตของทรัพยากรไม่ใช่เครดิต Felo ยอดเรียกเก็บขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `order` | query | no | string, enum: "market_cap_desc", "market_cap_asc", "name_desc", "name_asc", "market_cap_change_24h_desc", "market_cap_change_24h_asc" | เรียงผลลัพธ์ตามฟิลด์ ค่าเริ่มต้น: `market_cap_desc` |

## Responses

### 200 — รายการหมวดหมู่เหรียญพร้อมข้อมูลตลาด

Headers:
- `X-Request-Id` (string) — ตัวระบุคำขอที่ต้องระบุเมื่อติดต่อฝ่ายสนับสนุนของ Felo

**application/json**

Schema: `Response860C3Ae68Ea5_Categories` (`#/components/schemas/Response860C3Ae68Ea5_Categories`)

Example:

```json
[
  {
    "id": "smart-contract-platform",
    "name": "Smart Contract Platform",
    "market_cap": 2176528015490.1301,
    "market_cap_change_24h": -0.4907335508040635,
    "content": "Smart contract platforms are usually blockchains that host smart contracts or decentralized applications.",
    "top_3_coins_id": [
      "bitcoin",
      "ethereum",
      "binancecoin"
    ],
    "top_3_coins": [
      "https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png",
      "https://coin-images.coingecko.com/coins/images/279/small/ethereum.png",
      "https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png"
    ],
    "volume_24h": 45616943988.58024,
    "updated_at": "2026-05-26T10:02:24.777Z"
  },
  {
    "id": "layer-1",
    "name": "Layer 1 (L1)",
    "market_cap": 2152576804747.1516,
    "market_cap_change_24h": -0.538526079299288,
    "content": "Layer 1 serves as the primary and autonomous chain on which transactions are directly executed and confirmed.",
    "top_3_coins_id": [
      "bitcoin",
      "ethereum",
      "binancecoin"
    ],
    "top_3_coins": [
      "https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png",
      "https://coin-images.coingecko.com/coins/images/279/small/ethereum.png",
      "https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png"
    ],
    "volume_24h": 44289945362.19749,
    "updated_at": "2026-05-26T10:01:55.213Z"
  }
]
```

### 400 — ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ

### 401 — จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง

### 402 — ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน

### 403 — บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้

### 429 — ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว

### 502 — บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้

### 503 — API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว

### 504 — บริการหมดเวลาระหว่างประมวลผลคำขอ

### default — การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response860C3Ae68Ea5_Categories

`#/components/schemas/Response860C3Ae68Ea5_Categories`

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "id",
      "name",
      "market_cap",
      "market_cap_change_24h",
      "content",
      "top_3_coins_id",
      "top_3_coins",
      "volume_24h",
      "updated_at"
    ],
    "properties": {
      "id": {
        "type": "string",
        "description": "ID หมวดหมู่"
      },
      "name": {
        "type": "string",
        "description": "ชื่อหมวดหมู่"
      },
      "market_cap": {
        "type": "number",
        "description": "มูลค่าตลาดของหมวดหมู่"
      },
      "market_cap_change_24h": {
        "type": "number",
        "description": "การเปลี่ยนแปลงมูลค่าตลาดของหมวดหมู่ใน 24 ชั่วโมง"
      },
      "content": {
        "type": "string",
        "description": "คำอธิบายหมวดหมู่"
      },
      "top_3_coins_id": {
        "type": "array",
        "description": "ID ของเหรียญ 3 อันดับแรกในหมวดหมู่",
        "items": {
          "type": "string"
        }
      },
      "top_3_coins": {
        "type": "array",
        "description": "URL ภาพของเหรียญ 3 อันดับแรกในหมวดหมู่",
        "items": {
          "type": "string"
        }
      },
      "volume_24h": {
        "type": "number",
        "description": "ปริมาณการซื้อขายของหมวดหมู่ใน 24 ชั่วโมง"
      },
      "updated_at": {
        "type": "string",
        "description": "เวลาที่อัปเดตหมวดหมู่ล่าสุด"
      }
    }
  }
}
```
