Actions9
Statistics → Get
AI-generatedSummary
Retrieve statistics for a specified shortened link, optionally filtered by start date, end date, and grouped by day, week, or month.
Inputs
- Link ID (required) — The ID of the link to get statistics for.
- Filters — Optional filters to refine the statistics including Start Date to define the beginning of the period, End Date to define the end of the period, and Group By to aggregate statistics by day, week, or month.
Output shape
a single JSON object containing the statistics data for the specified link.
The statistics are fetched by sending a POST request to /statistics with the link_id and optional filters (start_date, end_date, group_by). If date filters or grouping are omitted, defaults or no filters apply. Errors may be returned if the link ID is invalid or API issues occur.