Social Media

Channel metrics

Requests to this endpoint are free and do not consume any API units.

get/social-media/channel-metrics

Request

  • Base URL
    https://api.ahrefs.com/v3
  • URL
    https://api.ahrefs.com/v3/social-media/channel-metrics
  • Auth
    HTTP bearer

Query parameters

channel_idstring required

Unique identifier for the social media channel.

date_fromstring date required

The start date of the historical period in YYYY-MM-DD format.

date_tostring date

The end date of the historical period in YYYY-MM-DD format.

output'json' | 'csv' | 'xml' | 'php'

The output format.

Response

OK

Changes

No recorded changes to this operation across all 26 revisions of this API.