---
title: "Export Svg"
method: GET
path: "/api/v1/export/svg"
tags: ["Export"]
---

# Export Svg

`GET /api/v1/export/svg`

## 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/export/svg`
- Auth: none declared

Export a line chart as SVG with a provenance watermark burned in.

The bottom of the image carries ``Retrieved <ISO-8601 UTC>``,
up to two ``run_id`` and transformation-hash values, and the
verify-endpoint URL. Anyone
with the image (embedded on a blog, dropped into a PDF, screenshot
in a paper) can trace the data back to its source without needing
a companion citation.

SVG-only (no PNG rasterization) — kept dependency-light. Renders in
every browser, prints crisp at any zoom, and downstream users can
convert to PNG with any headless renderer.

## Query parameters

- `indicator` string, required
- `countries` string, required
- `start_year` integer, nullable
- `end_year` integer, nullable
- `width` integer
- `height` 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)
