API Documentation
Everything you need to integrate with the Anchr API.
Overview
The Anchr API is a RESTful API that allows you to manage your profile, links, groups, and analytics programmatically.
Base URL
https://stage.anchr.to/api/v1Authentication
Authenticate by including your API key in the Authorization header as a Bearer token.
curl "https://stage.anchr.to/api/v1/me" \
-H "Authorization: Bearer anc_k_YOUR_KEY"You can create and manage API keys from your API dashboard.
If your key is invalid or missing, the API returns a 401 Unauthorized response.
Rate Limits
Rate limits are enforced per API key, or per IP for unauthenticated requests.
| Tier | Limit |
|---|---|
| Pro | 1,000 / min |
| Free | 100 / min |
| Unauthenticated | 60 / min |
Rate limit headers are included in every response:
| X-RateLimit-Limit | Max requests per window |
| X-RateLimit-Remaining | Remaining requests in current window |
| X-RateLimit-Reset | Seconds until the window resets |
When you exceed the rate limit, you will receive a 429 Too Many Requests response. Retry after the number of seconds indicated in the X-RateLimit-Reset header.
Your API key
Paste your API key to try authenticated endpoints. Key is stored in memory only.