---
title: "Analytics Rankings"
method: GET
path: "/api/v1/analytics/rankings"
tags: ["Analytics"]
---

# Analytics Rankings

`GET /api/v1/analytics/rankings`

## Request

- Base URL: `https://api.africadb.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.africadb.com/api/v1/analytics/rankings`
- Auth: none declared

Rank countries by an indicator with percentiles, growth rates, and insight.

## Query parameters

- `indicator` string, required: Indicator ID (e.g. NY.GDP.MKTP.CD)
- `year` integer, nullable: Year (default: latest available)
- `scope` string: 'africa' for all 55, or a bloc code (EAC, ECOWAS, SADC, etc.)

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/africadb/apis/africa-data-bank-api.md) · [All operations](https://skmtc.dev/africadb/apis/africa-data-bank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/africadb/apis/africa-data-bank-api/revisions/2a50da82945b?raw)
