Assets

get

Get all assets metadata

Responses
200

Assets metadata

application/json
get
/assets
GET /v1/assets HTTP/1.1
Host: api.nest.credit
Accept: */*
200

Assets metadata

{
  "data": [
    {
      "slug": "text",
      "name": "text",
      "description": "text"
    }
  ]
}
get

Get Asset APY by slug

Responses
200

Asset APY

application/json
get
/assets/{slug}/apy
GET /v1/assets/{slug}/apy HTTP/1.1
Host: api.nest.credit
Accept: */*
{
  "data": {
    "slug": "text",
    "tokens": [
      {
        "assetAddress": "text",
        "chainId": 1,
        "symbol": "text",
        "apy": {
          "rolling7d": 1,
          "rolling30d": 1,
          "sec30d": 1
        }
      }
    ]
  }
}
get

Get Asset TVL by slug

Responses
200

Asset TVL

application/json
get
/assets/{slug}/tvl
GET /v1/assets/{slug}/tvl HTTP/1.1
Host: api.nest.credit
Accept: */*
{
  "data": {
    "slug": "text",
    "tokens": [
      {
        "assetAddress": "text",
        "chainId": 1,
        "symbol": "text",
        "tvl": 1,
        "price": 1,
        "supply": 1
      }
    ]
  }
}
get

Get Asset Details by slug

Responses
200

Asset Details

application/json
get
/assets/{slug}/details
GET /v1/assets/{slug}/details HTTP/1.1
Host: api.nest.credit
Accept: */*
{
  "data": {
    "slug": "text",
    "name": "text",
    "image": "text",
    "description": "text",
    "custodians": [
      {
        "image": "text",
        "name": "text"
      }
    ],
    "website": "text",
    "scorecardUrl": "text",
    "category": {
      "name": "text",
      "color": "text",
      "isActive": true
    },
    "regulatory": {
      "entity": "text",
      "rating": "text"
    }
  }
}

Last updated