List of goals


Access tokens will not be accepted in URL parameters starting February 13, 2019. To continue working with the Yandex.Metrica API, set up authorization by passing the token in the HTTP header.

The outdated authorization method will be temporarily disabled on January 23, January 30, and February 6 for maintenance. Authorization using URL parameters will be unavailable on these dates.

Returns information about counter goals.

  1. Request syntax
  2. Response format

Request syntax

counterId — counter ID, of which the list of goals you want to get.{counterId}/goals
 ? [callback=<string>]
 & [useDeleted=<boolean>]
Query parameters
callbackCallback function which returns an API response.
useDeletedInformation on deleted goals.

Default value: 0

Response format

    "goals" : [  < goal > , ... ]
Parameters Description
goals Counter goals.