Skip to content
noBSredir

Data export

Download your data as CSV files. Both endpoints return raw CSV with appropriate headers for browser download.

Export all links as CSV.

Role: admin+

Terminal window
curl https://nobsredir.com/api/workspaces/ws_abc123/export/links \
-H "X-API-Key: nobs_your_key" \
-o links.csv

Response headers:

Content-Type: text/csv
Content-Disposition: attachment; filename="links-your-slug.csv"

CSV columns:

ColumnDescription
idLink ID
domainDomain (e.g. fnl.sh)
slugShort path
targetDestination URL
titleDisplay name
click_countTotal clicks
created_atCreation timestamp
updated_atLast update timestamp

Example output:

id,domain,slug,target,title,click_count,created_at,updated_at
lnk_abc,fnl.sh,demo,https://example.com/page,Demo Link,142,2025-01-15T10:00:00.000Z,2025-01-18T09:00:00.000Z
lnk_def,go.yourco.com,blog,https://yourco.com/blog,,38,2025-01-16T12:00:00.000Z,2025-01-16T12:00:00.000Z

GET /workspaces/:wsId/export/clicks

Export click data as CSV. Limited to the most recent 10,000 rows.

Role: admin+

Terminal window
curl https://nobsredir.com/api/workspaces/ws_abc123/export/clicks \
-H "X-API-Key: nobs_your_key" \
-o clicks.csv

Response headers:

Content-Type: text/csv
Content-Disposition: attachment; filename="clicks-your-slug.csv"

CSV columns:

ColumnDescription
idClick ID
link_idAssociated link ID
domainDomain clicked
slugSlug clicked
clicked_atTimestamp
countryISO country code
refererReferrer URL
browserBrowser name
osOperating system
deviceDevice type: desktop, mobile, or tablet

Example output:

id,link_id,domain,slug,clicked_at,country,referer,browser,os,device
1,lnk_abc,fnl.sh,demo,2025-01-20T14:30:00.000Z,US,https://twitter.com,Chrome,Windows,desktop
2,lnk_abc,fnl.sh,demo,2025-01-20T14:31:00.000Z,DE,,Firefox,macOS,desktop

The 10K row limit is ordered by clicked_at DESC (most recent first). For larger exports, use the Stats endpoints to query aggregated data.