---
title: "Get Facts"
method: GET
path: "/api/v1/facts"
tags: ["Facts"]
---

# Get Facts

`GET /api/v1/facts`

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

Return the current fact set + a cache-hint envelope.

Response shape::

    {
      "version": "1.0.0",           # bump when facts change
      "generated_at": "...",        # server render time (UTC)
      "recommended_cache_seconds": 604800,  # 7 days
      "count": 30,
      "facts": [{"text": "...", "category": "..."}, ...]
    }

The frontend should stash this in localStorage and only refetch
when either (a) version has changed or (b) recommended_cache_seconds
has elapsed. The endpoint itself is cheap; the caching is about
keeping the loading UX zero-round-trip after first visit.

## Response `200`

Successful Response

- unknown

---

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