Statin

Getting started

Overview

The statin REST API lets you shorten URLs and retrieve click analytics programmatically.

Introduction

All requests are JSON over HTTPS. Authenticate with an API key from Integrations & API in your dashboard.

Authentication

Include your API key on every request using the Authorization header:

Authorization: Bearer la_your_api_key_here

Keys start with la_ and are shown only once when generated. You must be signed in to create keys from Integrations & API.

Base URL

All endpoints are relative to:

https://statin.io/api/v1

Plan requirements

API access requires a Starter plan or higher. Free plans cannot create keys or call the API.

Metrics respect your plan's analytics retention window and which statistics breakdowns are included (countries, referrers, UTM, bot detection, etc.).

View plans →

Errors

  • 401 — Missing or invalid API key
  • 403 — Plan does not include API access or link limit reached
  • 404 — Link not found
  • 400 — Invalid URL or request body