---
title: "GET /deals"
method: GET
path: "/deals"
tags: ["Сделки"]
---

# GET /deals

`GET /deals`

Список сделок

## Query parameters

- `created_at.gte` string, date-time
- `created_at.gt` string, date-time
- `created_at.lte` string, date-time
- `created_at.lt` string, date-time
- `expires_at.gte` string, date-time
- `expires_at.gt` string, date-time
- `expires_at.lte` string, date-time
- `expires_at.lt` string, date-time
- `status` 'opened' | 'closed'
- `full_text_search` string
- `limit` integer
- `cursor` string

## Response `200`

The request has succeeded.

- DealList
  - `type` string, required
  - `items` SafeDeal[], required
    - `type` 'safe_deal', required
  - `next_cursor` string

## Other responses

- `400` — The server could not understand the request due to invalid syntax.
- `401` — Access is unauthorized.
- `403` — Access is forbidden.
- `404` — The server cannot find the requested resource.
- `429` — Client error
- `500` — Server error

## Changes

- **2026-02-14** `fe24d3dfadad` — 3 breaking, 29 info
  - for the `query` request parameter `limit`, the type/format was changed from `integer`/`` to `integer`/`int32`
  - the `items/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `items/items/allOf[#/components/schemas/BaseDeal]/type` response's property type/format changed from `string`/`` to ``/`` for status `200`
  - api operation id `Deals_list` was added
  - …28 more

[Change history](https://skmtc.dev/hexlet/apis/api-kassa/changes/deals/get.md)

---

[API](https://skmtc.dev/hexlet/apis/api-kassa.md) · [All operations](https://skmtc.dev/hexlet/apis/api-kassa/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hexlet/api-kassa/revisions/f35dc69c1c37/schema)
