---
updatedAt: 2026-05-28T20:16:27.000Z
agentTools:
  projectIndex: https://docs.hivestack.com/llms.txt
---

# Get deals

Get a list of all deals available to buyers. The response supports OData query filtering on all fields except for `currency`, `seller_name`, and `buyers`.
This allows you to narrow down the results based on various criteria.


# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-explorer-enabled": false,
  "info": {
    "title": "External DSPs API (V2)",
    "version": "2",
    "description": "\n# Creative Submission\nThe Creative Submission API enables external buyers to submit their creatives for approval to publishers. This process allows buyers to bid on their creatives only after they have been approved.\nThe API provides endpoints for submitting creatives and checking their approval status.\n\nIn Perion DOOH, creative approval is handled at the file level. This means each file within a creative must be individually approved.\nFor instance, if a creative is initially submitted with a single image file, that image will be approved by the publisher. However,\nif additional files are added later through a bid response, those new files will require separate approval.\nApproved files will remain available for playback, even if other files are pending approval. Additionally, creatives can support multiple\nformats, with each file needing individual approval.\n\nTo view available publishers, please refer to our [sellers.json](https://www.hivestack.com/sellers.json).\n\n# Deals API\n\nThe Deals API provides access to information about deals available to your DSP. It allows you to fetch details about specific deals and view all deals that are available for buyers.\n\n# Authenticate\n\nPerion DOOH uses API key authentication for securing access to our endpoints. Each request must include an API key, which can be provided in one of two ways:\n- Request Header: Include the API key in the `hs-auth` header.\n- Query Parameter: Alternatively, include the API key as the `apikey` query parameter.\n\nTo obtain your API key, please contact your Perion DOOH representative."
  },
  "security": [
    {
      "APIKeyHeader": []
    },
    {
      "APIKeyQuery": []
    }
  ],
  "tags": [
    {
      "name": "Deals",
      "description": "Endpoints for retrieving available deals."
    }
  ],
  "paths": {
    "/deals": {
      "get": {
        "tags": [
          "Deals"
        ],
        "summary": "Get deals",
        "description": "Get a list of all deals available to buyers. The response supports OData query filtering on all fields except for `currency`, `seller_name`, and `buyers`.\nThis allows you to narrow down the results based on various criteria.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/top"
          },
          {
            "$ref": "#/components/parameters/skip"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/select"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Deal"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://apps.hivestack.com/api/dsp"
    }
  ],
  "components": {
    "parameters": {
      "top": {
        "name": "$top",
        "in": "query",
        "description": "The number of items to return, see [Paging - Top](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptiontop).",
        "schema": {
          "type": "integer"
        }
      },
      "skip": {
        "name": "$skip",
        "in": "query",
        "description": "The number of items to skip before returning the result, see [Paging - Skip](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionskip).",
        "schema": {
          "type": "integer"
        }
      },
      "filter": {
        "name": "$filter",
        "in": "query",
        "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter).",
        "schema": {
          "type": "string"
        }
      },
      "select": {
        "name": "$select",
        "in": "query",
        "description": "Comma-separated list of properties to return, see [Selecting](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect).",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Authorization information is missing.",
        "content": {
          "*/*": {
            "schema": {
              "type": "object",
              "properties": {
                "error_code": {
                  "type": "string",
                  "example": "20af6774-5952-475b-8734-c0fd0ed75b23"
                },
                "error": {
                  "type": "string",
                  "example": "Missing authorization info"
                }
              },
              "example": {
                "error_code": "20af6774-5952-475b-8734-c0fd0ed75b23",
                "error": "Missing authorization info"
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "APIKeyHeader": {
        "name": "hs-auth",
        "type": "apiKey",
        "in": "header"
      },
      "APIKeyQuery": {
        "name": "apikey",
        "type": "apiKey",
        "in": "query"
      }
    },
    "schemas": {
      "Deal": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "Example Deal Name"
          },
          "deal_id": {
            "type": "string",
            "example": "tYaUM-1948"
          },
          "deal_category": {
            "description": "Deal type, either Publisher (P) or Curated (C) deal.",
            "type": "string",
            "enum": [
              "P",
              "C"
            ]
          },
          "is_open": {
            "type": "boolean",
            "description": "Indicates whether the deal is open to all buyers.\n\nIf set to `true`, the deal is available to all buyers to bid on.\nIf set to `false`, the deal is private and only authorized buyers can access it.\n"
          },
          "is_evergreen": {
            "type": "boolean",
            "description": "Indicates whether the deal is evergreen.\n\n- If set to `true`, the deal is runnable indefinitely until manually stopped.\n- If set to `false`, the deal has a specific duration and will stop running after the `flight_to` date.\n"
          },
          "auction_type": {
            "type": "string",
            "description": "First Price or Fixed Price.",
            "enum": [
              "FIRST_PRICE",
              "FIXED_PRICE"
            ]
          },
          "purchase_type": {
            "type": "string",
            "description": "The type of deal purchase. This can be:\n- Cadence (C) - The deal buyer is guaranteed to win the auction at a specific cadence.\n- Guaranteed (G)  - The deal buyer is guaranteed to win the auction and the buyer is supposed to always bid.\n- Preferred (P) - The deal buyer is preferred to win the auction.\n- Non-guaranteed (NG) - The deal buyer is not guaranteed to win the auction.\n\nFor curated deals, the purchase type is always Non-Guaranteed.\n",
            "enum": [
              "C",
              "G",
              "P",
              "NG"
            ]
          },
          "available_from": {
            "type": "string",
            "format": "date",
            "example": "2022-01-01T00:00:00.000Z",
            "description": "The date from which the deal is visible to buyers.\nThis is the date when the deal becomes visible to buyer but they cannot bid on it until the `flight_from`.\n"
          },
          "available_to": {
            "type": "string",
            "format": "date",
            "example": "2022-04-01T00:00:00.000Z",
            "description": "The date until which the deal is visible to buyers.\nThis is the date when the deal becomes hidden to buyers.\n"
          },
          "flight_from": {
            "type": "string",
            "format": "date",
            "example": "2022-03-01T00:00:00.000Z",
            "description": "The start date of the deal run period.\nThis is the date when the deal starts running and the buyer can start bidding on it.\n"
          },
          "flight_to": {
            "type": "string",
            "format": "date",
            "example": "2022-04-01T00:00:00.000Z",
            "description": "The end date of the deal run period.\nThis is the date when the deal stops running and the buyer can no longer bid on it.\n"
          },
          "budget_mode": {
            "type": "string",
            "description": "The goal tied to the deal if purchase type is Guaranteed, Impressions (I), or Budget (B).\n\nThis field is not applicable for curated deals.\n",
            "enum": [
              "I",
              "B"
            ]
          },
          "budget_min": {
            "type": "number",
            "example": 6000,
            "description": "Minimum budget if purchase type is Guaranteed or Cadence.\n\nThis field is not applicable for curated deals.\n"
          },
          "budget_max": {
            "type": "number",
            "example": 6000,
            "description": "Maximum budget if purchase type is Guaranteed or Cadence.\n\nThis field is not applicable for curated deals.\n"
          },
          "cpm": {
            "type": "number",
            "example": 2.5,
            "description": "For Guaranteed and Cadence deals, this value represents the fixed price agreed upon for the deal.\n\nFor Non-Guaranteed and Preferred deals, this value represents the bid floor. In these deals, the clearing price is determined through a First Price or Fixed Price auction.\n"
          },
          "currency": {
            "type": "string",
            "example": "USD",
            "format": "ISO Currency Code",
            "description": "The ISO 4217 currency code representing the currency used for the deal."
          },
          "seller_id": {
            "type": "string",
            "example": "HS-NA-9999",
            "description": "The ID of the organization, curator or publisher, who created the deal.\n\nThe IDs of our different publishers can be found in our [sellers.json](https://www.hivestack.com/sellers.json) file.\n"
          },
          "seller_name": {
            "type": "string",
            "example": "Acme Corporation",
            "description": "The name of the organization, curator or publisher, who created the deal.\n\nThe names of our different publishers can be found in our [sellers.json](https://www.hivestack.com/sellers.json) file.\n"
          },
          "seller_type": {
            "type": "string",
            "enum": [
              "PUBLISHER",
              "INTERMEDIARY"
            ],
            "example": "PUBLISHER",
            "description": "The type of the organization, curator or publisher, who created the deal.\n\nThe possible values are:\n- PUBLISHER: The organization is a publisher.\n- INTERMEDIARY: The organization is a curator.\n"
          },
          "created_on": {
            "type": "string",
            "format": "UTC datetime",
            "example": "2022-01-01T09:26:03.000Z",
            "description": "The timestamp indicating when the deal was created, provided in Coordinated Universal Time (UTC)."
          },
          "modified_on": {
            "type": "string",
            "format": "UTC datetime",
            "example": "2022-01-01T09:26:03.000Z",
            "description": "The timestamp indicating the last time the deal was modified, provided in Coordinated Universal Time (UTC)."
          },
          "buyer_ids": {
            "type": "array",
            "description": "A list of seat IDs that are authorized to access the deal. Each seat ID represents a specific buyer or buyer group that can participate in or view the deal. If no buyer ids are specified `is_open` will be set to true indicating the deal is open to all buyers.",
            "items": {
              "type": "string"
            },
            "example": [
              "seat1",
              "seat2"
            ]
          }
        }
      }
    }
  }
}
```