# קבלת שווקי Kalshi

**API:** Data API

**Endpoint:** `GET /v1/beta/kalshi/markets`

**Tags:** Kalshi

הצגת שווקי תחזיות באמצעות מסנני status, ticker, event, series וחותמות הזמן המתועדים. החוזה כולל max_updated_ts אך אינו מצהיר על פרמטר חיפוש בטקסט חופשי. פעלו לפי סכימת התגובה עבור רשומות שווקים ועימוד.

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

- מדידה: בסיס עלות קבוע לבקשה מוצלחת.
- אומדן בקשת ייחוס: 0.02 דולר ארה״ב.

זהו מטא-נתון לעיון בלבד, לא הצעת מחיר לחשבון, לא מחיר מובטח ולא תקרת הוצאה. קרדיטי משאבים אינם קרדיטים של 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 |
| --- | --- | --- | --- | --- |
| `cursor` | query | no | string | סמן עימוד. השתמשו בערך הסמן שהוחזר בתגובה הקודמת כדי לקבל את העמוד הבא של התוצאות. השאירו ריק לעמוד הראשון. |
| `event_ticker` | query | no | string | טיקר אירוע לסינון. נתמך טיקר אירוע יחיד בלבד. |
| `limit` | query | no | integer, (int64), default: 100 | מספר התוצאות בכל עמוד. ברירת המחדל 100. הערך המרבי 1000. |
| `max_close_ts` | query | no | integer, (int64) | סינון פריטים שנסגרים לפני חותמת זמן Unix זו |
| `max_created_ts` | query | no | integer, (int64) | סינון פריטים שנוצרו לפני חותמת זמן Unix זו |
| `max_settled_ts` | query | no | integer, (int64) | סינון פריטים שהוסדרו לפני חותמת זמן Unix זו |
| `max_updated_ts` | query | no | integer, (int64) | החזרת שווקים שמטא-הנתונים שלהם עודכן בזמן חותמת Unix זו או לפניו (בשניות). עוקב אחר שינויים שאינם קשורים למסחר בלבד. ניתן לשלב עם min_updated_ts ו-mve_filter=exclude. ניתן לשלב גם עם series_ticker, שמחייב mve_filter=exclude. אינו תואם למסננים אחרים. |
| `min_close_ts` | query | no | integer, (int64) | סינון פריטים שנסגרים אחרי חותמת זמן Unix זו |
| `min_created_ts` | query | no | integer, (int64) | סינון פריטים שנוצרו אחרי חותמת זמן Unix זו |
| `min_settled_ts` | query | no | integer, (int64) | סינון פריטים שהוסדרו אחרי חותמת זמן Unix זו |
| `min_updated_ts` | query | no | integer, (int64) | החזרת שווקים שמטא-הנתונים שלהם עודכן לאחר חותמת זמן Unix זו (בשניות). עוקב אחר שינויים שאינם קשורים למסחר בלבד. ניתן לשלב עם max_updated_ts ו-mve_filter=exclude. ניתן לשלב גם עם series_ticker, שמחייב mve_filter=exclude. אינו תואם למסננים אחרים. |
| `mve_filter` | query | no | string, enum: "only", "exclude" | סינון לפי אירועים מרובי משתנים (קומבינציות). 'only' מחזיר רק אירועים מרובי משתנים, 'exclude' מחריג אירועים מרובי משתנים. |
| `series_ticker` | query | no | string | סינון לפי טיקר סדרה |
| `status` | query | no | string, enum: "unopened", "open", "paused", "closed", "settled" | סינון לפי סטטוס שוק. השאירו ריק כדי להחזיר שווקים בכל סטטוס. |
| `tickers` | query | no | string | סינון לפי טיקרים ספציפיים של שווקים. רשימה מופרדת בפסיקים של טיקרי השווקים לשליפה. |

## Responses

### 200 — השווקים נשלפו בהצלחה

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

**application/json**

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

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response24B585A0A861_ExchangeIndex

`#/components/schemas/Response24B585A0A861_ExchangeIndex`

```json
{
  "type": "integer",
  "description": "מזהה עבור פלח בורסה.",
  "example": 0
}
```

### Response24B585A0A861_FixedPointCount

`#/components/schemas/Response24B585A0A861_FixedPointCount`

```json
{
  "type": "string",
  "description": "מחרוזת ספירת חוזים בנקודה קבועה (2 ספרות עשרוניות, למשל \"10.00\"; מכונה \"fp\" בשמות שדות). בקשות מקבלות 0-2 ספרות עשרוניות (למשל \"10\", \"10.0\", \"10.00\"); תגובות תמיד מחזירות 2 ספרות עשרוניות. ערכי חוזים שבריים (למשל \"2.50\") נתמכים; הגרנולריות המזערית היא 0.01 חוזים.",
  "example": "10.00"
}
```

### Response24B585A0A861_FixedPointDollars

`#/components/schemas/Response24B585A0A861_FixedPointDollars`

```json
{
  "type": "string",
  "description": "מחרוזת דולר אמריקאי בנקודה קבועה. רוב שדות הבקשה מקבלים 2-4 ספרות עשרוניות (למשל \"0.56\", \"0.5600\"); תגובות מחזירות עד 6. מרווחי מחירים תקפים עבור שוק נתון מוגבלים על ידי מבנה רמות המחיר של אותו שוק.",
  "example": "0.5600"
}
```

### Response24B585A0A861_GetMarketsResponse

`#/components/schemas/Response24B585A0A861_GetMarketsResponse`

```json
{
  "type": "object",
  "required": [
    "markets",
    "cursor"
  ],
  "properties": {
    "markets": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Response24B585A0A861_Market"
      }
    },
    "cursor": {
      "type": "string"
    }
  }
}
```

### Response24B585A0A861_Market

`#/components/schemas/Response24B585A0A861_Market`

```json
{
  "type": "object",
  "required": [
    "ticker",
    "event_ticker",
    "market_type",
    "yes_sub_title",
    "no_sub_title",
    "created_time",
    "updated_time",
    "open_time",
    "close_time",
    "latest_expiration_time",
    "settlement_timer_seconds",
    "status",
    "notional_value_dollars",
    "yes_bid_dollars",
    "yes_ask_dollars",
    "no_bid_dollars",
    "no_ask_dollars",
    "yes_bid_size_fp",
    "yes_ask_size_fp",
    "last_price_dollars",
    "previous_yes_bid_dollars",
    "previous_yes_ask_dollars",
    "previous_price_dollars",
    "volume_fp",
    "volume_24h_fp",
    "open_interest_fp",
    "result",
    "can_close_early",
    "expiration_value",
    "rules_primary",
    "rules_secondary",
    "price_level_structure",
    "price_ranges",
    "settlement_bounds_type"
  ],
  "properties": {
    "ticker": {
      "type": "string"
    },
    "event_ticker": {
      "type": "string"
    },
    "market_type": {
      "type": "string",
      "enum": [
        "binary",
        "scalar"
      ],
      "description": "מזהה את סוג השוק"
    },
    "title": {
      "type": "string",
      "deprecated": true,
      "x-go-type-skip-optional-pointer": true
    },
    "subtitle": {
      "type": "string",
      "deprecated": true,
      "x-go-type-skip-optional-pointer": true
    },
    "yes_sub_title": {
      "type": "string",
      "description": "כותרת מקוצרת לצד ה'כן' של השוק הזה"
    },
    "no_sub_title": {
      "type": "string",
      "description": "כותרת מקוצרת עבור צד ה-no של השוק הזה"
    },
    "created_time": {
      "type": "string",
      "format": "date-time"
    },
    "updated_time": {
      "type": "string",
      "format": "date-time",
      "description": "הזמן של עדכון המטא-נתונים האחרון שאינו קשור למסחר."
    },
    "open_time": {
      "type": "string",
      "format": "date-time"
    },
    "close_time": {
      "type": "string",
      "format": "date-time"
    },
    "expected_expiration_time": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "x-omitempty": true,
      "description": "הזמן שבו השוק הזה צפוי לפוג"
    },
    "expiration_time": {
      "type": "string",
      "format": "date-time",
      "deprecated": true,
      "x-go-type-skip-optional-pointer": true
    },
    "latest_expiration_time": {
      "type": "string",
      "format": "date-time",
      "description": "הזמן המאוחר ביותר האפשרי שבו השוק הזה יכול לפוג"
    },
    "settlement_timer_seconds": {
      "type": "integer",
      "description": "משך הזמן מההכרעה ועד להסדרת השוק"
    },
    "status": {
      "type": "string",
      "enum": [
        "initialized",
        "inactive",
        "active",
        "closed",
        "determined",
        "disputed",
        "amended",
        "finalized"
      ],
      "description": "הסטטוס הנוכחי של השוק במחזור חייו."
    },
    "yes_bid_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "yes_bid_size_fp": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointCount"
    },
    "yes_ask_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "yes_ask_size_fp": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointCount"
    },
    "no_bid_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "no_ask_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "last_price_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "volume_fp": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointCount"
    },
    "volume_24h_fp": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointCount"
    },
    "result": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "scalar",
        ""
      ]
    },
    "can_close_early": {
      "type": "boolean"
    },
    "open_interest_fp": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointCount"
    },
    "notional_value_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "previous_yes_bid_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "previous_yes_ask_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "previous_price_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "settlement_value_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "settlement_ts": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "x-omitempty": true,
      "description": "חותמת הזמן שבה הוסדר השוק. מוחזר רק עבור שווקים שהוסדרו"
    },
    "settlement_bounds_type": {
      "type": "string",
      "enum": [
        "default",
        "floor"
      ],
      "description": "אילו גבולות הסדר חלים על השוק הזה. default פירושו שלשוק אין גבולות הסדר"
    },
    "settlement_floor_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    },
    "expiration_value": {
      "type": "string",
      "description": "הערך שנשקל עבור ההסדר"
    },
    "occurrence_datetime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "התאריך והשעה שנרשמו שבהם התרחש האירוע הבסיסי, אם זמינים"
    },
    "fee_waiver_expiration_time": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "x-omitempty": true,
      "description": "הזמן שבו פטור העמלות של השוק הזה פג"
    },
    "early_close_condition": {
      "type": [
        "string",
        "null"
      ],
      "x-omitempty": true,
      "description": "התנאי שלפיו השוק יכול להיסגר מוקדם",
      "x-go-type-skip-optional-pointer": true
    },
    "strike_type": {
      "type": "string",
      "enum": [
        "greater",
        "greater_or_equal",
        "less",
        "less_or_equal",
        "between",
        "functional",
        "custom",
        "structured"
      ],
      "x-omitempty": true,
      "description": "סוג ערך הסף קובע כיצד מוגדר ערך הסף של השוק וכיצד הוא מוערך",
      "x-go-type-skip-optional-pointer": true
    },
    "floor_strike": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "x-omitempty": true,
      "description": "ערך התפוגה המזערי שמוביל להסדר YES"
    },
    "cap_strike": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "x-omitempty": true,
      "description": "ערך התפוגה המרבי שמוביל להסדר YES"
    },
    "functional_strike": {
      "type": [
        "string",
        "null"
      ],
      "x-omitempty": true,
      "description": "מיפוי מערכי תפוגה לערכי הסדר"
    },
    "custom_strike": {
      "type": [
        "object",
        "null"
      ],
      "x-omitempty": true,
      "description": "ערך התפוגה לכל יעד שמוביל להסדר YES"
    },
    "rules_primary": {
      "type": "string",
      "description": "תיאור בשפה פשוטה של תנאי השוק החשובים ביותר"
    },
    "rules_secondary": {
      "type": "string",
      "description": "תיאור בשפה פשוטה של תנאי השוק המשניים"
    },
    "mve_collection_ticker": {
      "type": "string",
      "x-omitempty": true,
      "description": "הטיקר של אוסף האירועים הרב-משתניים",
      "x-go-type-skip-optional-pointer": true
    },
    "mve_selected_legs": {
      "type": "array",
      "x-omitempty": true,
      "items": {
        "$ref": "#/components/schemas/Response24B585A0A861_MveSelectedLeg"
      },
      "x-go-type-skip-optional-pointer": true
    },
    "primary_participant_key": {
      "type": [
        "string",
        "null"
      ],
      "x-omitempty": true
    },
    "price_level_structure": {
      "type": "string",
      "description": "מבנה רמות המחיר של השוק הזה, שמגדיר טווחי מחירים וגדלי צעד"
    },
    "price_ranges": {
      "type": "array",
      "description": "טווחי מחירים תקפים עבור הזמנות בשוק הזה",
      "items": {
        "$ref": "#/components/schemas/Response24B585A0A861_PriceRange"
      }
    },
    "is_provisional": {
      "type": "boolean",
      "x-omitempty": true,
      "description": "אם true, השוק עשוי להיות מוסר לאחר ההכרעה אם אין בו פעילות",
      "x-go-type-skip-optional-pointer": true
    },
    "exchange_index": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Response24B585A0A861_ExchangeIndex"
        }
      ],
      "x-go-type-skip-optional-pointer": true,
      "x-omitempty": false
    }
  }
}
```

### Response24B585A0A861_MveSelectedLeg

`#/components/schemas/Response24B585A0A861_MveSelectedLeg`

```json
{
  "type": "object",
  "properties": {
    "event_ticker": {
      "type": "string",
      "description": "מזהה ייחודי לאירוע הנבחר",
      "x-go-type-skip-optional-pointer": true
    },
    "market_ticker": {
      "type": "string",
      "description": "מזהה ייחודי לשוק הנבחר",
      "x-go-type-skip-optional-pointer": true
    },
    "side": {
      "type": "string",
      "description": "הצד של השוק הנבחר",
      "x-go-type-skip-optional-pointer": true
    },
    "yes_settlement_value_dollars": {
      "$ref": "#/components/schemas/Response24B585A0A861_FixedPointDollars"
    }
  }
}
```

### Response24B585A0A861_PriceRange

`#/components/schemas/Response24B585A0A861_PriceRange`

```json
{
  "type": "object",
  "required": [
    "start",
    "end",
    "step"
  ],
  "properties": {
    "start": {
      "type": "string",
      "description": "מחיר ההתחלה של הטווח הזה בדולרים"
    },
    "end": {
      "type": "string",
      "description": "מחיר הסיום של הטווח הזה בדולרים"
    },
    "step": {
      "type": "string",
      "description": "גודל צעד המחיר/טיק עבור הטווח הזה בדולרים"
    }
  }
}
```
