Get click analytics
tinyurl_get_analyticsRead-only
Aggregated click analytics for the account, or for one link (alias) or one tag, from a start date. report: timeline (clicks over time; interval minute/hour/day/week/month), general (browsers, operating systems, devices), weekday and hour (popularity), top_sources (referrers), top_languages, location (countries, or the regions of one country via region = ISO 3166 alpha-2 code). Which reports are available depends on the account's TinyURL plan. Visitor-level raw logs are not exposed. GET /analytics/*.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the report (default: now). | |
| tag | No | Only links with this tag. | |
| from | Yes | Start of the report, ISO 8601 date or date-time (required). | |
| alias | No | Only this short link, written domain/alias, e.g. tinyurl.com/myalias. | |
| region | No | location report only: world (default, lists countries) or a country code such as US (lists its regions). | |
| report | Yes | Which analytics report. | |
| interval | No | Bucket size, timeline report only. |