# שווקי מטבעות

**API:** Data API

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

**Tags:** CoinGecko

טבלת שוק מדורגת המכסה מטבעות רבים בקריאה אחת: שורה לכל מטבע עם `current_price`, `market_cap`, `market_cap_rank`, `total_volume`, `high_24h`, `low_24h`, `price_change_percentage_24h`, `circulating_supply`, `total_supply`, `max_supply`, `ath` ו-`atl` עם תאריכיהם, ו-`image`. עברו בין דפים עם `per_page` ו-`page`, מיינו עם `order` (שווי שוק, נפח או מזהה, עולה או יורד), וצמצמו עם `ids` או `category`. העברת `price_change_percentage` מוסיפה שדה תואם `price_change_percentage_24h_in_currency`. השתמשו בו ללוחות דירוג וסריקות סקטורים. למחיר של כמה מטבעות ידועים `get_coingecko_simple_price` קל בהרבה; למטבע אחד במלואו השתמשו ב-`get_coingecko_coins_id`.

### מראה תמחור

- מדידה: יחידות משאב של התוכנית.
- אומדן בקשה לעיון: 0.008 דולר ארה״ב.
- בסיס עלות יחידה: 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 |
| --- | --- | --- | --- | --- |
| `category` | query | no | string | סינון לפי הקטגוריה של המטבעות. *מפנה אל [`/coins/categories/list`](/reference/coins-categories-list) |
| `ids` | query | no | string, default: "bitcoin" | מזהי המטבעות, מופרדים בפסיקים אם שולפים יותר ממטבע אחד. *מפנה אל [`/coins/list`](/reference/coins-list) |
| `include_rehypothecated` | query | no | boolean | כלילת טוקנים ממוחזרים (rehypothecated) בתוצאות. כשהערך true, מוחזר השדה `market_cap_rank_with_rehypothecated`. ברירת מחדל: false |
| `include_tokens` | query | no | string, enum: "top", "all" | לחיפושי `symbols`, ציינו `all` כדי לכלול את כל הטוקנים המתאימים. ברירת המחדל `top` מחזירה את הטוקנים המדורגים ביותר לפי שווי שוק או נפח. |
| `locale` | query | no | string, enum: "ar", "bg", "cs", "da", "de", "el", … | רקע השפה. ברירת מחדל: en |
| `names` | query | no | string, default: "Bitcoin" | שמות המטבעות, מופרדים בפסיקים אם שולפים יותר ממטבע אחד. |
| `order` | query | no | string, enum: "market_cap_asc", "market_cap_desc", "volume_asc", "volume_desc", "id_asc", "id_desc" | מיון התוצאות לפי שדה. ברירת מחדל: market_cap_desc |
| `page` | query | no | integer | מעבר בין עמודי תוצאות. ברירת מחדל: 1 |
| `per_page` | query | no | integer | סך התוצאות בכל עמוד. ברירת מחדל: 100 ערכים תקפים: 1...250 |
| `precision` | query | no | string, enum: "full", "0", "1", "2", "3", "4", … | מספר הספרות העשרוניות של ערך מחיר המטבע |
| `price_change_percentage` | query | no | string | כלילת אחוז שינוי המחיר לפי טווח זמן, מופרד בפסיקים אם שולפים יותר מטווח אחד. ערכים תקפים: `1h`, `24h`, `7d`, `14d`, `30d`, `200d`, `1y` |
| `sparkline` | query | no | boolean | כלילת נתוני sparkline של 7 ימים. ברירת מחדל: false |
| `symbols` | query | no | string, default: "btc" | הסמלים של המטבעות, מופרדים בפסיקים אם שולפים יותר ממטבע אחד. |
| `vs_currency` | query | yes | string, default: "usd" | מטבע היעד של נתוני המטבעות והשוק. *מפנה אל [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies) |

## Responses

### 200 — רשימת מטבעות עם נתוני שוק

Headers:
- `X-Request-Id` (string) — מזהה בקשה לכלול בעת פנייה לתמיכת Felo.

**application/json**

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

Example:

```json
[
  {
    "id": "bitcoin",
    "symbol": "btc",
    "name": "Bitcoin",
    "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400",
    "current_price": 77671,
    "market_cap": 1555886872303,
    "market_cap_rank": 1,
    "fully_diluted_valuation": 1555914058873,
    "total_volume": 33235034316,
    "high_24h": 78419,
    "low_24h": 76696,
    "price_change_24h": -747.3360347281705,
    "price_change_percentage_24h": -0.95302,
    "market_cap_change_24h": -15184401491.513184,
    "market_cap_change_percentage_24h": -0.9665,
    "circulating_supply": 20030493,
    "total_supply": 20030843,
    "max_supply": 21000000,
    "ath": 126080,
    "ath_change_percentage": -38.39571,
    "ath_date": "2025-10-06T18:57:42.558Z",
    "atl": 67.81,
    "atl_change_percentage": 114443.23093,
    "atl_date": "2013-07-06T00:00:00.000Z",
    "roi": null,
    "last_updated": "2026-05-18T12:49:21.599Z",
    "market_cap_rank_with_rehypothecated": 1,
    "sparkline_in_7d": {
      "price": [
        81045.84776489827,
        81001.73089268175,
        80898.20817826076
      ]
    },
    "price_change_percentage_1h_in_currency": 0.5823392426906319,
    "price_change_percentage_24h_in_currency": -0.9530164743774191,
    "price_change_percentage_7d_in_currency": -4.042267423689584,
    "price_change_percentage_14d_in_currency": -1.5720857443461431,
    "price_change_percentage_30d_in_currency": 1.9453890367549207,
    "price_change_percentage_200d_in_currency": -29.452371850925864,
    "price_change_percentage_1y_in_currency": -25.214612207475373
  }
]
```

### 400 — לא ניתן היה לעבד את הבקשה. בדקו את פרמטרי הבקשה.

### 401 — נדרש מפתח API תקף של Felo.

### 402 — לא ניתן להמשיך את הבקשה משום שדרישת חיוב אינה מתקיימת.

### 403 — החשבון אינו מורשה לבצע את הפעולה הזו.

### 429 — הגעתם למגבלת בקשות או לתקרת הוצאה.

### 502 — השירות לא הצליח להשלים את הבקשה.

### 503 — שירות ה-API או החיוב אינו זמין באופן זמני.

### 504 — השירות פג בזמן הטיפול בבקשה.

### default — תגובת שגיאה; תגובות מעבר מהמעלה הזרם עשויות להשתמש בפורמטים של הספק

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response860C3Ae68Ea5_CoinsMarkets

`#/components/schemas/Response860C3Ae68Ea5_CoinsMarkets`

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "id",
      "symbol",
      "name",
      "image",
      "current_price",
      "market_cap",
      "market_cap_rank",
      "fully_diluted_valuation",
      "total_volume",
      "high_24h",
      "low_24h",
      "price_change_24h",
      "price_change_percentage_24h",
      "market_cap_change_24h",
      "market_cap_change_percentage_24h",
      "circulating_supply",
      "total_supply",
      "max_supply",
      "ath",
      "ath_change_percentage",
      "ath_date",
      "atl",
      "atl_change_percentage",
      "atl_date",
      "roi",
      "last_updated"
    ],
    "properties": {
      "id": {
        "type": "string",
        "description": "מזהה המטבע"
      },
      "symbol": {
        "type": "string",
        "description": "סמל המטבע"
      },
      "name": {
        "type": "string",
        "description": "שם המטבע"
      },
      "image": {
        "type": "string",
        "description": "כתובת URL של תמונת המטבע"
      },
      "current_price": {
        "type": [
          "number",
          "null"
        ],
        "description": "מחיר נוכחי במטבע היעד"
      },
      "market_cap": {
        "type": [
          "number",
          "null"
        ],
        "description": "שווי שוק במטבע היעד"
      },
      "market_cap_rank": {
        "type": [
          "integer",
          "null"
        ],
        "description": "דירוג שווי השוק"
      },
      "fully_diluted_valuation": {
        "type": [
          "number",
          "null"
        ],
        "description": "שווי מדולל במלואו במטבע היעד"
      },
      "total_volume": {
        "type": [
          "number",
          "null"
        ],
        "description": "נפח מסחר כולל במטבע היעד"
      },
      "high_24h": {
        "type": [
          "number",
          "null"
        ],
        "description": "מחיר שיא ל-24 שעות במטבע היעד"
      },
      "low_24h": {
        "type": [
          "number",
          "null"
        ],
        "description": "מחיר שפל ל-24 שעות במטבע היעד"
      },
      "price_change_24h": {
        "type": [
          "number",
          "null"
        ],
        "description": "שינוי מחיר ב-24 שעות במטבע היעד"
      },
      "price_change_percentage_24h": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי מחיר ל-24 שעות"
      },
      "market_cap_change_24h": {
        "type": [
          "number",
          "null"
        ],
        "description": "שינוי שווי השוק ב-24 שעות במטבע היעד"
      },
      "market_cap_change_percentage_24h": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי שווי השוק ב-24 שעות"
      },
      "circulating_supply": {
        "type": [
          "number",
          "null"
        ],
        "description": "היצע במחזור"
      },
      "total_supply": {
        "type": [
          "number",
          "null"
        ],
        "description": "היצע כולל"
      },
      "max_supply": {
        "type": [
          "number",
          "null"
        ],
        "description": "היצע מקסימלי"
      },
      "ath": {
        "type": [
          "number",
          "null"
        ],
        "description": "מחיר שיא בכל הזמנים במטבע היעד"
      },
      "ath_change_percentage": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז השינוי בשיא ההיסטורי"
      },
      "ath_date": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "description": "תאריך השיא ההיסטורי"
      },
      "atl": {
        "type": [
          "number",
          "null"
        ],
        "description": "מחיר שפל בכל הזמנים במטבע היעד"
      },
      "atl_change_percentage": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז השינוי בשפל ההיסטורי"
      },
      "atl_date": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "description": "תאריך השפל ההיסטורי"
      },
      "roi": {
        "type": [
          "object",
          "null"
        ],
        "description": "נתוני תשואה על ההשקעה",
        "properties": {
          "times": {
            "type": "number",
            "description": "מכפיל ROI"
          },
          "currency": {
            "type": "string",
            "description": "מטבע ROI"
          },
          "percentage": {
            "type": "number",
            "description": "אחוז ROI"
          }
        }
      },
      "last_updated": {
        "type": "string",
        "format": "date-time",
        "description": "חתימת הזמן של העדכון האחרון"
      },
      "market_cap_rank_with_rehypothecated": {
        "type": [
          "integer",
          "null"
        ],
        "description": "דירוג שווי השוק כולל טוקנים ממוחזרים"
      },
      "sparkline_in_7d": {
        "type": "object",
        "description": "נתוני מחיר מיני-גרף ל-7 הימים האחרונים",
        "properties": {
          "price": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "מערך של ערכי מחיר"
          }
        }
      },
      "price_change_percentage_1h_in_currency": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי מחיר לשעה במטבע היעד"
      },
      "price_change_percentage_24h_in_currency": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי מחיר ל-24 שעות במטבע היעד"
      },
      "price_change_percentage_7d_in_currency": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי מחיר ל-7 ימים במטבע היעד"
      },
      "price_change_percentage_14d_in_currency": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי מחיר ל-14 יום במטבע היעד"
      },
      "price_change_percentage_30d_in_currency": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי מחיר ל-30 יום במטבע היעד"
      },
      "price_change_percentage_200d_in_currency": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי מחיר ל-200 יום במטבע היעד"
      },
      "price_change_percentage_1y_in_currency": {
        "type": [
          "number",
          "null"
        ],
        "description": "אחוז שינוי מחיר לשנה במטבע היעד"
      }
    }
  }
}
```
