Public API guide

Explanations, rules and the compatibility policy for the anonymous public creator API. For exact fields and headers, see the API reference.

See also: Workspace API guide.

Getting a creator's slug #

The slug is the last segment of the creator's public profile URL, https://app.creatorroots.com/creator/{slug}. It is also the profile_url field in the response. Creators can find it in their CreatorRoots public profile settings. Slugs are matched case-insensitively.

When a profile is publicly available #

The endpoint returns a creator only while all of these hold:

If any of these stop being true, the next request returns 404. Eligibility is checked live on every request, so a creator who hides their profile disappears from this API immediately.

Handling 404 #

Missing, hidden, banned, deleted, and otherwise ineligible profiles all return the same response, so you cannot tell which case applies:

JSON
{ "error": { "code": "profile_not_found", "message": "No public profile exists for this slug." } }

Treat 404 as "nothing to show": hide or empty the widget. Do not retry in a tight loop. A profile can become available again (for example the creator re-enables it), so re-check on a slow schedule, such as when the page next loads, and not more than once a few minutes per slug.

Achievements #

achievements lists only achievements the creator has earned, in a fixed catalog order. Locked achievements, progress toward them, and the evidence behind them are never returned. An empty array ([]) means none are earned yet.

Achievements are awarded by CreatorRoots on its own schedule, so a newly met milestone can take a few minutes to appear. Reading this endpoint never awards or evaluates anything.

Rate limit and Retry-After #

Anonymous requests are limited to 60 requests per minute per client IP address. Requests from different IPs have separate budgets. Every 200 and 404 response includes X-RateLimit-Limit and X-RateLimit-Remaining.

Past the limit, the API returns 429:

HTTP
HTTP/1.1 429 Too Many Requests
Retry-After: 30
Content-Type: application/json

{ "error": { "code": "rate_limited", "message": "Too many requests. Wait for the number of seconds in Retry-After, then retry." } }

Wait at least Retry-After seconds before the next request, and do not retry sooner. Browsers can read Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset because the API lists them in Access-Control-Expose-Headers. Because limits are per viewer IP when the widget runs in a browser, a page with many visitors does not share one budget, but server-side callers share their server's IP. Cache the result on your side instead of calling per page view.

Caching #

The API sends Cache-Control: no-store, private on every response, including errors. Browsers, proxies, and CDNs must not store the response. This keeps visibility changes, bans, and deletions effective right away.

If you display the data frequently, cache it in your own application for a short time and stay under the rate limit. Do not keep a cached copy of a creator after receiving a 404 for them.

Cross-origin access #

Reads work from any origin and are never credentialed: responses carry Access-Control-Allow-Origin: *, and no cookies are set or accepted. CORS preflight (OPTIONS) requests are answered with 204 and allow GET and OPTIONS, with the request headers Accept and Content-Type. Other methods return 405. This applies to the anonymous public operations under api/v1 only; the authenticated workspace operations (api/v1/workspace/*) send no CORS headers and are server-to-server only, and the CreatorRoots app API keeps its separate, credentialed CORS rules.

Compatibility policy #

This is API v1. Within v1:

Breaking changes would be introduced under a new version path (for example /api/v2/...), never inside v1.

What is not included #

This anonymous API returns only public identity and earned achievements. It does not include live status, supporters, recent activity, analytics, revenue, locked achievements or progress, and it has no write operations. A workspace API token is neither needed nor accepted here; an Authorization header sent to this endpoint is ignored.