Statistic → Get
AI-generatedSummary
Retrieves click analytics for a specified LinkTwin deep link within a chosen time period.
Inputs
- linkId (required) — The numeric link ID or the full short URL to query statistics for.
- dateRange (required) — The time period for statistics. Options: All Time (max), Last 24 Hours (1d), Last 7 Days (7d), Last 30 Days (30d), or Custom Range.
- startDate — Start date for a custom range. Only visible when 'Custom Range' is selected for dateRange.
- endDate — End date for a custom range. Only visible when 'Custom Range' is selected for dateRange.
- options — Additional options, specifically Timezone (e.g., Europe/Berlin).
Output shape
A list of items containing analytics data for the specified link.
The exact fields in the response data depend on the LinkTwin API. Timezone settings in the options parameter may affect how dates are interpreted.
Examples
Example 1: Get 30-day statistics for a link using its numeric ID.
Resource: Statistics, Operation: Get, Link ID: 123456, Date Range: Last 30 Days
Example 2: Retrieve analytics for a link using its short URL over a custom 7-day period.
Resource: Statistics, Operation: Get, Link ID: https://linktw.in/mylink, Date Range: Custom Range (7 days)