GET
/
markets
/
collections

A user can include markets in a market collection to categorise their list of markets they have access to. Any market can only exists in a single collection at a time, and each user starts with a default collection that all markets will belong to by default.

Collections are useful for users to group markets together for specific purposes, for example:

  • markets that are generated for a specific project,
  • markets that are reviewed by QA team,
  • markets that are archived due to change in business needs.

This endpoints return all the collections that the user API Key has permission to access. Use this endpoint to fetch the collection desired, before using the collectionId query parameter in selected endpoints to filter your results to the given collection.

Response

meta
object

Pagination details and metadata about the search results.

collections
array

An array of collections.

Default endpoint will always be the first item, with the rest sorted by their *creation dates in ascending order.