---
title: "Retrieve badge rankings by domain"
method: GET
path: "/badges/rankings/domains"
tags: ["Badge endpoints"]
---

# Retrieve badge rankings by domain

`GET /badges/rankings/domains`

## Request

- Base URL: `https://api.unstoppabledomains.com/profile`
- URL: `https://api.unstoppabledomains.com/profile/badges/rankings/domains`
- Auth: none declared
- TypeScript: <https://skmtc.dev/unstoppabledomains/apis/profile-api/docs/badges/rankings/domains/get.ts> (a function with typed inputs; its response is checked against the schema)

Generates a list of domains ordered by largest badge collection

## Path parameters

- `count` number
- `communityOnly` boolean
- `badge` string, required

## Response `200`

Badge rankings

- SerializedDomainRanking[]
  - `domain` string
  - `rank` number
  - `count` number

---

[API](https://skmtc.dev/unstoppabledomains/apis/profile-api.md) - [All operations](https://skmtc.dev/unstoppabledomains/apis/profile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unstoppabledomains/apis/profile-api/revisions/10f8400cb1c1?raw)
