# API documentation
Source: https://docs.trmlabs.com/api-reference
Access documentation for the API products linked to your account, or browse public Sanctions and Chainabuse documentation.
## Your API documentation
| Error code | Meaning |
|---|---|
| 400 | Bad Request -- Your request is invalid. |
| 401 | Unauthorized -- Your API key is wrong. |
| 404 | Not Found -- The specified resource could not be found. |
| 405 | Method Not Allowed -- You tried to access an object with an invalid method. |
| 406 | Not Acceptable -- You requested a format that isn't JSON. |
| 429 | Too Many Requests -- You have exceeded your rate limit. See below for details on handling rate limits. |
| 500 | Internal Server Error -- We had a problem with our server. Try again later. |
| 503 | Service Unavailable -- We're temporarily offline for maintenance. Please try again later. |
| Query parameters | Type | Description |
|---|---|---|
| address | mandatory (for this use case) | Crypto address to be used as a filter to retrieve reports |
| trusted | optional | * True: reported by a trusted contributor, based on how this Partner does detect and verifies information * False: the reporter is not registered as a trusted contributor. Please note this does not mean their report cannot be trusted. It means we can now testify it. |
| checked | optional | * True: report checked by our team of moderators including blockchain intelligence experts * False: report could not be verified by our team of moderators. |
| chain | optional | Blockchain as an optional filter |
| category | optional | Scam category as an optional filter |
| orderByDirection | optional | If several reports are pulled out, option to order them by the latest/oldest report. |
| orderByField | optional | Ordering reports by date if several reports are pulled out |
| before | optional | Threshold date as an optional filter |
| since | optional | Start date to use as an optional filter |
| page | optional | The maximum number of pages of reports to pull out. The maximum number of reports per page is 50. If page =1, you will pull out a maximum of 50 reports |
| perPage | optional | Number of reports to display per page. The maximum number of reports per page is 50. If page =1, you will pull out a maximum of 50 reports. |
| Query parameters | Type | Description |
|---|---|---|
| address | mandatory (for this use case) | Entering a URL to be screened |
| Trusted contributor | optional | * True: reported by a trusted contributor, based on how this Partner does detect and verifies information * False: the reporter is not registered as a trusted contributor. Please note this does not mean their report cannot be trusted. It means we can now testify it. |
| Checked | optional | * True: report checked by our team of moderators, including blockchain intelligence experts * False: report could not be verified by our team of moderators. |
| chain | optional | You can leave it empty when screening a domain |
| category | optional | Scam category as an optional filter |
| orderByDirection | optional | If several reports are pulled out, option to order them by the latest/oldest report. |
| orderByField | optional | Ordering reports by date if several reports are pulled out |
| before | optional | Threshold date as an optional filter |
| since | optional | Start date to use as an optional filter |
| page | optional | The maximum number of pages of reports to pull out. The maximum number of reports per page is 50. If page =1, you will pull out a maximum of 50 reports |
| perPage | optional | Number of reports to display per page. The maximum number of reports per page is 50. If page =1, you will pull out a maximum of 50 reports. |
| Query parameters | Type | Description |
|---|---|---|
| Id | mandatory | ReportID |
| Blockchain | Chainabuse Identifier |
|---|---|
| Bitcoin | `BTC` |
| Binance Smart Chain | `BINANCE` |
| Cardano | `CARDANO` |
| Ethereum | `ETH` |
| Hedera | `HBAR` |
| Litecoin | `LITECOIN` |
| Polygon | `POLYGON` |
| Solana | `SOL` |
| Tron | `TRON` |
| Avalanche | `AVAX` |
| MultiversX | `MultiversX` |
| Arbitrum | `Arbitrum` |
| API | Category | Description |
|---|---|---|
| **Get Report** | Screening | Enables Partners to continuously check whether specific blockchain addresses (contracts or wallets), token IDs, or URLs have been reported as malicious. |
| **Post Report** | Reporting | Allows users to create reports in batch to report addresses and/or domains that are malicious. |
| **Get Report ID** | Looking up | Enables users to access a specific scam report using its ID number. |
Learn how to investigate, monitor, and detect crypto fraud and financial crime with TRM's blockchain intelligence platform.
Public docs, no login required: Sanctions API · Chainabuse API
New to TRM Labs? Start here to learn the fundamentals and integrate with our platform.
Documentation organized by TRM's core product areas.
Find guides tailored to your organization's needs.
Explore additional resources or reach out to our support team.