Skip to content

List Venues

Request

Returns a list of venues. You must filter by id or targeting_id to retrieve results.

Security
SessionCookie
Query
page_sizeinteger, (int64)

The maximum number of results to return per page.

pageinteger, (int64)

The zero-based page offset (page number ) to return. For example, 0 returns the first page, 1 returns the second page, and so on.

orderstring

The field to sort the results by.

Supported fields: name

ascboolean

Specifies the sort direction. Set to true for ascending order or false for descending order.

filterArray of strings

The field to filter by. You can specify multiple filter parameters.

When you apply filters to different fields, the results include only records that match all specified field values (AND logic). When you apply multiple filters to the same field, the results include records that match any of the specified values in that field (OR logic).

Supported fields: id, venue_targeting_id

searchArray of strings

Performs a substring search on a specified field. The search is case-insensitive.

Supported fields: name

curl -i -X GET \
  'https://platform-api.vistarmedia.com/api/dsp/v1/venues?page_size=0&page=0&order=string&asc=true&filter=string&search=string' \
  -H 'Cookie: YOUR_API_KEY_HERE'

Responses

A successful response.

Bodyapplication/json
venuesArray of objects(api.dsp.v1.Venue)
total_sizeinteger, (int64)
Response
{ "venues": [ { … } ], "total_size": 0 }