UIArchive

API

Programmatic access to the archive. Snapshots, token exports, diffs, and icon search. JSON by default, with CSS, TypeScript, and Tailwind export formats. No key required.

Base URL

https://ui-archive.com/api/v1

All responses are JSON unless a format export is requested (CSS, TypeScript, etc.).

Authentication

No authentication required. Pass no key — requests are accepted unauthenticated. Keys may be introduced later; unauthenticated access will remain free.

Rate limits

Per-IP throttling. No declared cap. Any enforcement changes will be announced in advance.

Domains

GET/domains/:domain

Latest snapshot summary, token counts, and domain metadata.

curl https://ui-archive.com/api/v1/domains/example.com
GET/domains/:domain/snapshots

Paginated list of all snapshots for a domain. Params: page, limit (max 100).

curl "https://ui-archive.com/api/v1/domains/example.com/snapshots?page=1&limit=20"
GET/domains/:domain/snapshots/:id

Full token data for a specific snapshot.

curl https://ui-archive.com/api/v1/domains/example.com/snapshots/abc123xyz
GET/domains/:domain/diff/:idA/:idB

Computed diff between two snapshots — added, removed, and unchanged tokens per category.

curl https://ui-archive.com/api/v1/domains/example.com/diff/snapA/snapB

Token export

CSS, Tailwind, TypeScript, and Tokens Studio JSON — available via the web UI. API export endpoints coming in beta.

Icons

GET/icons/search

Search the icon archive. Params: q, domain, style (outline|filled|duotone|logo), color (hex), page, limit.

curl "https://ui-archive.com/api/v1/icons/search?q=arrow&domain=example.com&style=outline"

Errors

StatusMeaning
400Bad request — invalid params
404Domain or snapshot not found
429Rate limit exceeded
500Internal error — try again

Source code and self-hosting instructions on GitHub.