Manage your plan and subscription
Manage your Laws.Africa platform plan, subscription, usage and service access.
Use platform.laws.africa to manage the account settings that control what your API token can access.
The developer guide explains how to integrate with the APIs. The platform is where you manage your API token, active services, selected country, usage, plan and subscription requests.
Check your current plan
Open Plan & billing to see:
your current plan;
your primary API country;
your active services;
your API rate limits;
pending upgrade, downgrade or cancellation requests.
Use Usage to monitor how many calls your account has made against your current limits.
Primary API country
Your primary API country controls the default country-scoped services on self-service plans, including country-specific Knowledge Bases.
If your plan allows country changes, you can change your primary API country from Plan & billing. Changing the country can change which country-specific services are active for your account.
Change your plan
Plan changes are managed from Plan & billing.
Depending on your current plan, you may be able to:
request an upgrade to Build;
contact Laws.Africa about Scale;
request a downgrade;
request cancellation.
Some changes are handled as requests rather than instant changes, especially where they affect countries, products, billing or commercial terms. Pending requests are shown on the Plan & billing page.
For current prices and commercial plan details, use laws.africa/platform.
Monitor usage and handle rate limits
API calls are counted against your account's active plan limits. Limits may apply per minute and per day, depending on the product family and your plan.
Open Usage to check current usage.
Knowledge Base response headers
Successful Knowledge Base retrieve responses and quota-related 429 responses include RateLimit-Policy and RateLimit headers for each finite quota window. These headers use the IETF draft format. For example:
qis the configured request limit;wis the window length in seconds.ris the number of remaining requests, after counting the current successful request.tis the number of seconds until the window resets, rounded up.
Windows are fixed and aligned to UTC: minute windows reset at the start of each minute, hour windows at the start of each hour, and daily windows at midnight UTC. Only finite windows configured for your subscription are returned, in minute/hour/day order. If there are no finite limits, both headers are omitted.
Quotas are shared per user and product family across countries, Knowledge Bases and API keys. Legislation and judgments Knowledge Bases draw from the same Knowledge Base quota. Headers are advisory snapshots: concurrent requests can consume the remaining capacity before your next request.
A quota-related 429 Too Many Requests response also includes Retry-After, in seconds:
Wait at least that long before retrying. If several windows are exhausted, the delay covers the latest reset. Throttled attempts do not consume quota. Add jitter to retries to avoid synchronising requests, and handle another 429 if concurrent activity has consumed the available quota.
These quota headers apply to the retrieve endpoint; listing, detail, validation and permission responses do not include them. They are available to browser clients from permitted CORS origins.
Client behaviour
Your application should handle 429 Too Many Requests responses gracefully. For production integrations:
log API response status codes;
respect
Retry-Afterwhen present, and use backoff with jitter otherwise;avoid tight retry loops;
cache stable Content API responses where appropriate;
monitor daily usage trends before launch;
request an upgrade before sustained usage reaches your plan limits.
If usage looks unexpectedly high, check for repeated polling, unbounded loops, duplicate background jobs or repeated uncached requests.
Related account tasks
Manage API keys at https://platform.laws.africa/api-keys/.
Review developer entry points.
When logged in, manage Content API webhooks at https://platform.laws.africa/webhooks/.
Last updated