Skip to content

Dictionary API

General information

The Dictionary API provides access to reference data entities such as tournaments, teams, players, sports, markets, and template placeholders.

This API typically accompanies the Odds Feed integration to solve templates (see Templates Compilation), perform mapping of DATA.BET entities to your own system, or serve other supportive functions.

Image processing

Logo URLs returned by the Dictionary API (for example, the logo field of teams, players, and tournaments) point to the original image stored on our CDN. The CDN is powered by imgproxy and can resize and re-encode images on the fly, so you can request exactly the dimensions and quality you need instead of downloading the full-size original.

To request a processed image, append an f query parameter to the logo URL. Its value is a list of processing options separated by /:

https://cdn.databet.cloud/path/to/logo.png?f=rs:fit:100:100/q:90

In the example above:

  • rs:fit:100:100resize the image to fit within a 100×100 box while preserving its aspect ratio (the format is rs:<type>:<width>:<height>).
  • q:90 — set the output quality to 90.

For the full list of available processing options, see the imgproxy processing documentation.

API