What are the API usage limits and how can I optimize my API calls?
What are the API usage limits and how can I optimize my API calls?
Category: API · Last updated: · Permalink
Our API provides seamless access to our data, enabling you to integrate it into your applications for compliance checks, research, or other purposes.
API keys have a default limit of how many requests per month a key can perform. These limits (quotas) are set to avoid abuse of the service and unexpected cost overruns. If you exceed the allocated quota in a given calendar month, requests will be rejected with a 429 HTTP status code until the beginning of the next month.
Of course, we're more than happy to increase a quota: the quota is meant as a safety stop, not a limitation. Contact our support team and indicate what limit you would like to see applied to the key (if any).
To check your current API key quota and usage:
If you find that you're consistently exceeding your quota, consider upgrading your plan or optimizing your API calls to reduce unnecessary requests.
The OpenSanctions API incurs costs per query as follows:
| Endpoint | Cost |
|---|---|
/match | 0.10 EUR × number of queries |
/entities | Free |
/statements | Free |
/search | 0.10 EUR |
/reconcile | 0.10 EUR × number of queries |
The /match API counts the number of logical queries you've conducted: if you submit a batch of 10 query entities to be screened, that HTTP request will be counted as 10 queries.
Only successful calls (HTTP response code 200) are billed. Non-successful calls, whether caused by client or server errors, are always free.
You can review your API usage costs on the account overview page.
The self-hosted API does not use metering, you only need a bulk data license to have the right to use the data.
To make efficient use of your API quota and reduce costs, consider the following strategies:
If you suspect that you're making more API calls than necessary, it may be due to issues in your programming. Review your application's logic to ensure that API calls are made intentionally and efficiently. We're available to assist you in optimizing your integration—feel free to contact our support team for guidance.
If you notice that your application is making more API calls than expected:
We're here to help. If you need assistance in diagnosing or resolving issues related to API call volumes, please reach out to our support team.
For further assistance, please refer to our API documentation, or contact our support team at support@opensanctions.org.