Polygon

The following endpoints are available for the Polygon ecosystem

/risk/polygon

This endpoint provides risk scores for polygon assets on the Xerberus platform. The response will include the symbol, token address, and risk rating for each asset.

Make sure to include the required headers in your request:

  • x-api-key: Your API key.

  • x-user-email: Your email address associated with your account.

Here is an example of how to make the request using axios with NodeJS:

axios.get('<https://api.xerberus.io/public/v1/risk/polygon>', {
  headers: {
    'x-api-key': 'your-api-key',
    'x-user-email': 'your-email'
  }
})
  .then(response => console.log(response.data))
  .catch(error => console.error(error));

API Output Example

{
    "status": "success",
    "data": [
        {
          "token_address": "0xcc1b9517460d8ae86fe576f614d091fca65a28fc",
          "ticker": "VIS",
          "asset_id": 168,
          "risk_rating": "D"
        },
        {
          "token_address": "0x08e175a1eac9744a0f1ccaeb8f669af6a2bda3ce",
          "ticker": "E8",
          "asset_id": 169,
          "risk_rating": "D"
        },
        {
          "token_address": "0x1599fe55cda767b1f631ee7d414b41f5d6de393d",
          "ticker": "MILK",
          "asset_id": 170,
          "risk_rating": "D"
        }
        etc...]
}       

What am I seeing?

Last updated