Skip to main content
GET
https://api.karmapay.xyz/v0
/
v0
/
liquidation-addresses
const response = await fetch('https://api.karmapay.xyz/v0/liquidation-addresses', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    externalUserId: "user_123"
  }),
});

const result = await response.json();
{
  "data": [
    {
      "id": "liq_abc123",
      "address": "7XqBhBKXy1S3ufMXLCv9QhcRj8f2kKKnXYYYdZnJ5jrB",
      "chain": "solana",
      "currency": "usdc"
    }
  ]
}
Authentication: Business API Key

Request Body

externalUserId
string
required
Your internal user ID
const response = await fetch('https://api.karmapay.xyz/v0/liquidation-addresses', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    externalUserId: "user_123"
  }),
});

const result = await response.json();
{
  "data": [
    {
      "id": "liq_abc123",
      "address": "7XqBhBKXy1S3ufMXLCv9QhcRj8f2kKKnXYYYdZnJ5jrB",
      "chain": "solana",
      "currency": "usdc"
    }
  ]
}