Skip to main content
POST
/
customers
/
api
/
manage
/
countries
/
batch
curl -X POST "https://api.trusset.org/customers/api/manage/countries/batch" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: trusset_abc123xy_secret..." \
  -d '{
    "addresses": [
      "0xAbC123dEf456789012345678901234567890AbCd",
      "0x1234567890abcdef1234567890abcdef12345678"
    ]
  }'
{
  "success": true,
  "data": {
    "0xAbC123dEf456789012345678901234567890AbCd": "DE",
    "0x1234567890abcdef1234567890abcdef12345678": "FR"
  },
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z"
  }
}
Given an array of wallet addresses, returns the registered country code for each address. Useful for bulk compliance checks before processing transfers or trades.

Request Body

addresses
string[]
required
Array of Ethereum wallet addresses. Minimum 1, maximum 500 entries.

Response Fields

success
boolean
Request status
data
object
Map of wallet addresses to their country codes. Addresses not found in the instance are omitted from the result.
curl -X POST "https://api.trusset.org/customers/api/manage/countries/batch" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: trusset_abc123xy_secret..." \
  -d '{
    "addresses": [
      "0xAbC123dEf456789012345678901234567890AbCd",
      "0x1234567890abcdef1234567890abcdef12345678"
    ]
  }'
{
  "success": true,
  "data": {
    "0xAbC123dEf456789012345678901234567890AbCd": "DE",
    "0x1234567890abcdef1234567890abcdef12345678": "FR"
  },
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z"
  }
}