---
title: "Get a user's creator badges"
method: GET
path: "/api/v1/users/{username}/badges"
tags: ["Users & Profiles"]
---

# Get a user's creator badges

`GET /api/v1/users/{username}/badges`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/users/{username}/badges`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Public. Computes and returns the achievement badges earned by the user with the given `username`. Returns `404` if no such user exists. Responses are cached for 5 minutes.

## Path parameters

- `username` string, required

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

- object[]
  - `id` string, required
  - `label` string, required
  - `icon` string, required
  - `earnedAt` string, nullable: ISO datetime; omitted when the earning date is unknown.

---

[API](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api.md) · [All operations](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/revisions/cb5d46d80300?raw)
