---
title: "Embed Config"
method: GET
path: "/api/v1/embed/config"
tags: ["Embed"]
---

# Embed Config

`GET /api/v1/embed/config`

## 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/embed/config`
- Auth: none declared

Public endpoint providing chart data for embeddable widgets.

## Query parameters

- `indicator` string, required: Indicator ID
- `countries` string, required: Comma-separated country codes
- `type` string: Chart type: line or bar
- `start_year` integer
- `end_year` integer

## 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)
