Centic Docs
  • 📎Welcome to Centic - Center of Data Analytics!
  • 💻Our Products and Services
    • DApp Growth
    • Marketing Automation
    • Web3 Engagement
    • Entity-oriented API
      • DApps
        • Lending pool
        • Dexes
        • Gaming
      • Wallet
      • Token
      • Foundation
      • Growth Analytics
        • DApp Users
        • Token Holders
        • Social Media
        • Engagement
      • Marketing Automation
        • Campaigns
        • Actions
        • Report
        • AI Features
  • 📊Datasets
  • 🖇️Integration Process
  • 🔎FAQs
  • Other Resources
    • Website
    • Medium
    • Github
Powered by GitBook
On this page
  1. Our Products and Services
  2. Entity-oriented API
  3. DApps

Lending pool

PreviousDAppsNextDexes

Last updated 10 months ago

Get list of available chains

This API is to take the list of available blockchains. The result returned is the Chain ID, name of the chain and the image URL link of the chain.

Get list of lending pool

This API is to get the data of lending pool list. You can request the following information:

  • DApp category: Lending, Dexes, Yield

  • Duration to return tvl change rate (in 24 hour)

  • Page 1-based index (Default number is 1 index)

  • Number of documents per page (Default number is 10)

  • Filters by filed and direction

The information returned includes:

  • Total number lending pool

  • ID of lending pool, its type and name

  • List of support chains

  • Real-time Metrics: Total Value Locked & TVL change rate,Total assets & Total assets change rate, Total number users

Get list of assets of Lending pool

This API is to get the information of assets in lending pools. You can request the following information Project ID and Chain ID to get project lending overview.

The returned data includes:

  • ID of project lending and Chain ID to get overview

  • Number users and Real User Ratio

  • Total supply and borrow amount in USD

  • Number lenders and borrowers

  • ID and name of lending

  • Link to image of lending's symbol

  • Key of market and Chain ID of market

  • Total value of market in this Markets.chain_id

  • Assets key and ID

  • Type and Name of asset and Link to image of asset's symbol

  • Price of asset, Total supply and borrow in USD of this asset, along side the supply and borrow APY

  • Number Lenders and borrowers of this asset

  • Total Value Locked and TVL change rate in 24 hour

Get information of user in specific lending pool

This API is to gain the information of user in specific lending pool.

Search Entities

This API is to search entities. You can request the keyword to search and type of the entities (tokens, nfts, exchanges, defi, addresses).

The information returned will be:

  • Keyword to search

  • Basic identity information of token, NFT, exchange, DeFi project and addresses ( ID, type, name and link of their symbol)

  • The Token Heath score

  • Project type of NFT, exchange and DeFi project

Get overall analytics

This API is to get the overall analytics. You can request the project ID and Chain ID get overall analytics.

The returned data includes:

  • Project ID

  • Return total asset in the last 7 days and the time you query

  • The rate of change in assets of the following day compared to the previous day

  • Cumulative profit and loss in the last 7 days

  • Daily profit and loss in last 7 days

  • Tokens of the project

  • Total Value Locked and TVL change rate in 24 hour and its history fluctuation in 30 days

  • Daily active users and its change rate in 24 hour

  • Daily Transactions and its change rate in 24 hour

  • Number transactions and unique Users in 30 days

Collateral at risk

This API is to request the information of the collateral assets that are at risk. You can ask for the information of Project ID and Chain ID to get project lending overview.

The information you will receive include:

  • Project ID

  • Chain to get lending collateral at risk

  • How the price drops

  • The collaterals at high, medium and low risk

Debt at risk

This API is to call the information of the loans that are at risk. You can request the information of Project ID and Chain ID to get project lending overview as well as the analysis over the last 30 days.

The information you will receive include:

  • Project ID and chain to get lending collateral at risk

  • Timestamp and Price drop 20%, 30%, 40%

Statistics on liquidation history

This API is to gain the statistics on liquidation history.

Get recent activities

This API is to request the current statement.

Get list of lending position

This API is to request the list of lending position.

Get FICO Crypto Credit Score

This API is to gain the information of FICO Crypto Credit Score.

💻

Get all chain

get
Authorizations
Responses
default
OK
get
GET /dev/v3/common/chains HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get the list of DeFi

get
Authorizations
Query parameters
categorystringOptional

DApp category: Lending, Dexes, Yield,... If not set, return dapp of all categories.

durationinteger · int32Optional

Duration to return tvl change rate. Default: 24 hours.

pageinteger · int32Optional

Page 1-based index. Default: 1

pageSizeinteger · int32Optional

Number of documents per page. Default: 10

orderBystringOptional

Sort by field. Default: tvl

orderstringOptional

Sort direction: asc or desc. Default: desc

Responses
default
OK
get
GET /dev/v3/ranking/defi HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get project lending overview. Includes TVL, users information, list of pools.

get
Authorizations
Path parameters
project_idstringRequired

Project ID

Query parameters
chainstringOptional

Chain ID

Responses
default
OK
get
GET /dev/v3/projects/lending/{project_id}/overview HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get wallet position in a lendings.

get
Authorizations
Path parameters
addressstringRequired

Address

project_idstringRequired

Project ID

Query parameters
chainstringRequired

Chain ID

Responses
default
OK
get
GET /dev/v3/wallets/{address}/lendings/{project_id} HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Search entities

get
Authorizations
Query parameters
keywordstringRequired

Search keyword

typestringOptional

Type: tokens, nfts, exchanges, defi, addresses.

Responses
default
OK
get
GET /dev/v3/search HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get entity analytics about assets and markets.

get
Authorizations
Query parameters
idstringRequired

Entity id

typestringRequired

Entity type. Options: profile, wallet, project, token

projectTypestringOptional

Project type. Use if type is project. Options: defi, nft, exchange

chainstringOptional

Chain ID

Responses
default
OK
get
GET /dev/v3/common/analytics HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get project lending collateral at risk. Simulation of markets price drop (all assets fall for x% at the same time). When wallet reach health rate under 1.

get
Authorizations
Path parameters
project_idstringRequired

Project ID

Query parameters
chainstringOptional

Chain ID

Responses
default
OK
get
GET /dev/v3/projects/lending/{project_id}/collateral-at-risk HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get project lending debt at risk. Historical overview across different price drops

get
Authorizations
Path parameters
project_idstringRequired

Project ID

Query parameters
chainstringOptional

Chain ID

startTimeinteger · int32Optional

Start timestamp. Default: 30 days before endTime.

endTimeinteger · int32Optional

End timestamp. Default: current time.

Responses
default
OK
get
GET /dev/v3/projects/lending/{project_id}/debt-at-risk HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get project lending liquidations. Collateral seized, debt repaid, and top liquidators in liquidations for selected timeframe.

get
Authorizations
Path parameters
project_idstringRequired

Project ID

Query parameters
chainstringOptional

Chain ID

startTimeinteger · int32Optional

Start timestamp. Default: 30 days before endTime.

endTimeinteger · int32Optional

End timestamp. Default: current time.

limitinteger · int32Optional

Limit collateral, debt and liquidators return. Default: 10.

Responses
default
OK
get
GET /dev/v3/projects/lending/{project_id}/liquidations HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get activities information of entity. Includes entity transactions and transfers within the transaction.

get
Authorizations
Query parameters
idstringRequired

Entity id

typestringRequired

Entity type. Options: profile, wallet, project, token

projectTypestringOptional

Project type. Use if type is project. Options: defi, nft, exchange

chainstringOptional

Chain ID

byTokenbooleanOptional

Display token or not

byNFTbooleanOptional

Display NFT or not

receivebooleanOptional

Display action receive assets or not

sendbooleanOptional

Display action send assets or not

pageinteger · int32Optional

Page 1-based index. Default: 1

pageSizeinteger · int32Optional

Number of documents per page. Default: 25

interactionsstringOptional

Filter by interaction methods, methods are separated by commas.

tokenstringOptional

Filter by token ID

fromAddressstringOptional

Filter by from address

toAddressstringOptional

Filter by to address

Responses
default
OK
get
GET /dev/v3/common/activities HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get wallet overview. Includes assets information: tokens, nfts, deposited, borrowed.

get
Authorizations
Path parameters
addressstringRequired

Address

Query parameters
chainstringRequired

Chain ID

Responses
default
OK
get
GET /dev/v3/wallets/{address}/overview HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

Get wallet credit score

get
Authorizations
Path parameters
addressstringRequired

Address

Responses
default
OK
get
GET /dev/v3/credit-score/{address} HTTP/1.1
Host: develop.centic.io
x-apikey: YOUR_API_KEY
Accept: */*
default

OK

No content

  • Get list of available chains
  • GETGet all chain
  • Get list of lending pool
  • GETGet the list of DeFi
  • Get list of assets of Lending pool
  • GETGet project lending overview. Includes TVL, users information, list of pools.
  • Get information of user in specific lending pool
  • GETGet wallet position in a lendings.
  • Search Entities
  • GETSearch entities
  • Get overall analytics
  • GETGet entity analytics about assets and markets.
  • Collateral at risk
  • GETGet project lending collateral at risk. Simulation of markets price drop (all assets fall for x% at the same time). When wallet reach health rate under 1.
  • Debt at risk
  • GETGet project lending debt at risk. Historical overview across different price drops
  • Statistics on liquidation history
  • GETGet project lending liquidations. Collateral seized, debt repaid, and top liquidators in liquidations for selected timeframe.
  • Get recent activities
  • GETGet activities information of entity. Includes entity transactions and transfers within the transaction.
  • Get list of lending position
  • GETGet wallet overview. Includes assets information: tokens, nfts, deposited, borrowed.
  • Get FICO Crypto Credit Score
  • GETGet wallet credit score