# Laws.Africa Developer Guide

Use the Laws.Africa Legal Knowledge Platform to build products grounded in authoritative African legal information.

The platform has two main APIs:

* **Knowledge Bases** help you retrieve relevant legislation and judgment context for AI grounding, RAG, legal agents, search and workflow tools.
* **Content API** gives you full legislation collections, structured formats and metadata for deeper integrations inside your own systems.

Start with Knowledge Bases if you want the fastest path to a working integration. Use the Content API when your product needs full local copies of legislation, point-in-time versions, XML, HTML, PDF, lifecycle metadata or webhooks.

{% content-ref url="/pages/-LrrnkUvDEilSJSH4StB" %}
[Platform overview](/get-started/overview.md)
{% endcontent-ref %}

{% content-ref url="/pages/Ve6UZgqLViJNXjOUepzQ" %}
[Quick start](/knowledge-bases/quick-start.md)
{% endcontent-ref %}

{% content-ref url="/pages/RUCR0zpulO2PMXZbn5wT" %}
[Choose Knowledge Bases or the Content API](/get-started/choose-an-api.md)
{% endcontent-ref %}

## Start building

{% content-ref url="/pages/Eejrvs58dxOBVkclQXlk" %}
[Knowledge Bases](/knowledge-bases/knowledge-bases.md)
{% endcontent-ref %}

{% content-ref url="/pages/aNtIan2DRLMtVOB7dlnt" %}
[Content API](/content-api/content-api.md)
{% endcontent-ref %}

## Still not sure?

* [Compare subscription plans](https://laws.africa/platform/)
* [Contact us](https://laws.africa/contact)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.laws.africa/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
