Documentation
Export links as CSV
GET
/v1/exports/linksLinksEvery link in the account as one CSV file, the Links page's download: endings, destinations, titles, settings and click counts. Free on every plan.
Example request
Terminal
curl "https://snip.link/v1/exports/links" \
-H "Authorization: Bearer $SNIP_KEY"With format=csv the answer is text/csv, one row per click, sent as a file download:
Errors
| Status | Meaning |
|---|---|
| 401 | The API key is missing, malformed or revoked. |
| 429 | Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason). |