API
Api description will be here...
Base api url is https://defiteller.com
Returns a sorted list of dapps with filters by blockchain and category.
Token-based authentication with required prefix "Token"
Array of blockchan identifiers
Array of category identifiers
Language code
enPossible values: Page number
1Quantity per page
10Sorting field
txcountPossible values: Sorting type
descPossible values: Last time interval
GET /api/dapps/top?time=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"dapps": [
{
"id": 1,
"name": "text",
"logo": "text",
"logo_white": "text",
"link": "text",
"blockchain": [
{
"id": 1,
"name": "text",
"logo": "text",
"logo_white": "text",
"is_active": true,
"link": "text"
}
],
"categories": [
{
"id": 1,
"type": "text",
"name": "text",
"logo": "text",
"icon_name": "text",
"link": "text"
}
],
"users": 1,
"txcount": 1,
"volumeUSD": 1,
"tvlUSD": 1
}
],
"total_pages": 1,
"per_page": 1,
"page": 1
}Returns a sorted list of dapps with filters by blockchain and category.
Token-based authentication with required prefix "Token"
Array of blockchan identifiers
Array of category identifiers
Language code
enPossible values: Page number
1Quantity per page
10Sorting field
txcountPossible values: Sorting type
descPossible values: Last time interval
GET /api/dapps?time=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"dapps": [
{
"id": 1,
"name": "text",
"logo": "text",
"logo_white": "text",
"link": "text",
"blockchain": [
{
"id": 1,
"name": "text",
"logo": "text",
"logo_white": "text",
"is_active": true,
"link": "text"
}
],
"categories": [
{
"id": 1,
"type": "text",
"name": "text",
"logo": "text",
"icon_name": "text",
"link": "text"
}
],
"users": 1,
"txcount": 1,
"volumeUSD": 1,
"tvlUSD": 1
}
],
"total_pages": 1,
"per_page": 1,
"page": 1
}Returns chart data for a dApp over a period, filtered by blockchain.
Token-based authentication with required prefix "Token"
Blockchan identifier
download .csv file
0Possible values: dApp identifier
Period in days (maximum: 180 days)
type data in .csv file
usersPossible values: GET /api/dapp_charts?dapp_id=1&time=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"dapp_name": "text",
"blockchain_name": "text",
"users": {
"field": "text",
"labels": [
"text"
],
"series": [
[
1
]
],
"prev24h": 1,
"last24h": 1,
"total": 1,
"percent": 1
},
"transactions": {
"field": "text",
"labels": [
"text"
],
"series": [
[
1
]
],
"prev24h": 1,
"last24h": 1,
"total": 1,
"percent": 1
},
"tvl": {
"field": "text",
"labels": [
"text"
],
"series": [
[
1
]
],
"prev24h": 1,
"last24h": 1,
"total": 1,
"percent": 1
},
"volume": {
"field": "text",
"labels": [
"text"
],
"series": [
[
1
]
],
"prev24h": 1,
"last24h": 1,
"total": 1,
"percent": 1
}
}Returns tokens chart data for a dApp over a period
Token-based authentication with required prefix "Token"
download .csv file
0Possible values: dApp identifier
Period in days (maximum: 180 days)
GET /api/dapp_tokens_chart?dapp_id=1&time=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"labels": [
"text"
],
"series": [
[
1
]
],
"price": 1,
"market_cap": 1,
"ath": 1
}Returns a dApp identifier by token. Clients should authenticate by passing the token key in the "Authorization" HTTP header, prepended with the string "Token". For example: Authorization: Token 401f7ac837da42b97f613d789819ff93537bee6a",
Authorization token
GET /api/whoami HTTP/1.1
Host:
Authorization: text
Accept: */*
{
"status": "text",
"dapp_id": 1
}Returns contracts by dApp's identifier
Token-based authentication with required prefix "Token"
dApp's identifier
GET /api/dapp_contracts/{dapp_id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"blockchain_id": 1,
"contracts": [
"text"
]
}
]Returns a sorted list of blockchains with filters by blockchain and category.
Token-based authentication with required prefix "Token"
Array of category identifiers
Language code
enPossible values: Page number
1Quantity per page
10Sorting field
txcountPossible values: Sorting type
descPossible values: Last time interval
GET /api/blockchains/top?time=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"chains": [
{
"id": 1,
"name": "text",
"logo": "text",
"logo_white": "text",
"is_active": true,
"link": "text",
"users": 1,
"txcount": 1,
"volumeUSD": 1,
"tvlUSD": 1
}
],
"total_pages": 1,
"per_page": 1,
"page": 1
}Returns a sorted list of blockchains with filters by blockchain and category.
Token-based authentication with required prefix "Token"
Array of category identifiers
Language code
enPossible values: Page number
1Quantity per page
10Sorting field
txcountPossible values: Sorting type
descPossible values: Last time interval
GET /api/blockchains?time=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"chains": [
{
"id": 1,
"name": "text",
"logo": "text",
"logo_white": "text",
"is_active": true,
"link": "text",
"users": 1,
"txcount": 1,
"volumeUSD": 1,
"tvlUSD": 1
}
],
"total_pages": 1,
"per_page": 1,
"page": 1
}Returns chart data for Blockchain over a period.
Token-based authentication with required prefix "Token"
Blockchan identifier
Period in days (maximum: 180 days)
GET /api/blockchain_charts?blockchain_id=1&time=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"dapp_name": "text",
"blockchain_name": "text",
"users": {
"field": "text",
"labels": [
"text"
],
"series": [
[
1
]
],
"prev24h": 1,
"last24h": 1,
"total": 1,
"percent": 1
},
"transactions": {
"field": "text",
"labels": [
"text"
],
"series": [
[
1
]
],
"prev24h": 1,
"last24h": 1,
"total": 1,
"percent": 1
},
"tvl": {
"field": "text",
"labels": [
"text"
],
"series": [
[
1
]
],
"prev24h": 1,
"last24h": 1,
"total": 1,
"percent": 1
},
"volume": {
"field": "text",
"labels": [
"text"
],
"series": [
[
1
]
],
"prev24h": 1,
"last24h": 1,
"total": 1,
"percent": 1
}
}Delete or add contracts into dApp. Clients should authenticate by passing the token key in the "Authorization" HTTP header, prepended with the string "Token". For example: Authorization: Token 401f7ac837da42b97f613d789819ff93537bee6a",
POST /api/dapp_contracts HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"dapp_id": 1,
"blockchain_id": 1,
"del_contracts": [
"text"
],
"add_contracts": [
"text"
]
}{
"status": "text"
}Last updated