analytics
Retrieve historical analytics
Changed onRetrieve historical analytics data graphed over a time range.
Time Range Formats:
- start: Start date (e.g. 2024-01-01). Required.
- end: End date (e.g. 2024-01-31). Defaults to current date if omitted.
get/api/analytics/historical
Request
- Base URLhttps://dev.to
- Auth
- API key in header api-key
- or HTTP bearer
Query parameters
startstring required
Start date (YYYY-MM-DD format).
endstring
End date (YYYY-MM-DD format).
article_idinteger
Limit stats to a single article.
organization_idinteger
Limit stats to an organization's articles.
Response
successful
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking