Skip to main content

E-mail

License (Proprietary API)

Introduction

The TRM API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right.

Errors

TRM uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, etc.). Codes in the 5xx range indicate an error with TRM’s servers (these are rare). The TRM API uses the following error codes:

Rate Limiting

Traffic to the TRM Sanctions API is rate limited. Requests that come in faster than this limit may receive an error response with HTTP status code 429. If you are seeing this response, the solution is to retry these requests after the suggested interval. In general, your application should meter requests to try to stay at or below the limit. Responses to TRM API requests include several headers to help you work with our rate limit. Responses with a 429 error will include a Retry-After header recommending a number of seconds to wait before retrying the request. By default, the API is limited to 1 req/sec, and maximum of 100 req/day. For those who need more screens, you can request an API Key here.

Headers on a successful request

Headers on a rate-limited request

Last modified on April 22, 2026