/
v3.0.11Get access

getExchangeItems

Retrieve a list of all available exchange items, optionally filtered by type and with optional media sources

Request parameters:

NameDescriptionTypeValuesDefault
country
Country code used for global filteringstring--
type
Filter items by exchange typestring"other", "sport", "casino"-

Call example:

getExchangeItems({
  country: 'AM',
  type: 1
})

Response parameters:

NameDescriptionTypeValues
id
Unique identifier of the exchange itemnumber-
title
Title of the exchange itemstring-
description
Description of the exchange item, or null if not setstring | null-
created_at
Creation timestamp in YYYY-MM-DD HH:mm:ss formatstring-
updated_at
Last update timestamp, or null if never updatedstring | null-
alias
Unique alias/slug for the exchange itemstring-
price
Price of the exchange itemnumber-
on_top
Whether the item is pinned to the top (0 = no, 1 = yes)number-
type
Type identifier of the exchange item (1 or 2)number-
medias
List of media file paths associated with the itemarray-