API
Public, no key required, CORS open. Designed as the backend for an in-app routing store.
Endpoints
GET | /api/v1/routings | Catalog. Parameters: sort, category, q, limit, offset. |
GET | /api/v1/routings/:slug | Full card: rules, DNS, risks, versions, install links. |
GET | /api/v1/categories | Categories with counts. |
GET | /api/v1/authors/:handle | An author and their routings. |
GET | /r/:slug.json | Permanent profile URL. ETag + 304. |
POST | /api/install/:slug | Install accounting (24 h de-duplication). |
Install
The profile is identical for both clients — only the delivery differs.
| Client | Link | Auto-update |
|---|---|---|
| INCY | incy://autorouting/onadd/<url> | yes |
| Happ | happ://routing/onadd/<base64> | no |
Happ accepts base64 only and has no URL subscription, so it receives a snapshot. Re-importing updates the profile in place: Happ overwrites a profile with a matching Name.
Limits
Without a key the API answers anonymously at 300 requests per day. With a key the limit matches the owner's plan: 1,000 on Free and 100,000 on Pro. Keys are created in the dashboard, under Security.
curl -H "Authorization: Bearer ar_…" https://allrouting.cc/api/v1/routings
Exceeding it returns 429 with a Retry-After header.
Example
curl https://allrouting.cc/api/v1/routings?sort=popular&limit=5