Quick start

No credentials are needed. The production API origin is https://api.creatorroots.com.

curl
curl -s https://api.creatorroots.com/api/v1/creators/example-creator
JSON
{
  "creator": {
    "slug": "example-creator",
    "display_name": "Example Creator",
    "profile_image_url": "https://example.com/images/example-creator.png",
    "profile_url": "https://app.creatorroots.com/creator/example-creator",
    "primary_platform": "twitch"
  },
  "achievements": [
    {
      "key": "first_milestone",
      "name": "First Milestone",
      "description": "Complete your first milestone. Milestones that appear on the Community Timeline for every viewer count; revenue-restricted (donation) milestones do not.",
      "reached_at": "2026-01-05T10:00:00.000000Z"
    }
  ],
  "meta": { "schema": "v1" }
}

In a browser, send the request without credentials. The API answers any origin with Access-Control-Allow-Origin: *, and that is only valid for requests that omit cookies:

JavaScript
async function loadCreator(slug) {
  const response = await fetch(
    `https://api.creatorroots.com/api/v1/creators/${encodeURIComponent(slug)}`,
    { credentials: "omit", headers: { Accept: "application/json" } },
  );

  if (response.status === 404) {
    return null; // not public (or not found): hide the widget
  }

  if (response.status === 429) {
    const seconds = Number(response.headers.get("Retry-After")) || 60;
    throw new Error(`Rate limited. Retry in ${seconds}s.`);
  }

  if (!response.ok) {
    throw new Error(`Unexpected status ${response.status}`);
  }

  return response.json();
}

Next steps