English

    中文

    English

TokenInsight JSON API Documentation v1.1

API cooperation, please contact: bd@tokeninsight.com

1.Get the list of currencies

Required parameters
Parameter Type Required Default Info
level bool false false If set to true, returns a list of rated currencies. Otherwise return a list of all currencies.
Return data
Parameter Type Description
abbreviate string The abbreviate
name string The name
tokeninsightId string Unique identifier of the currency

Example

GET

https://tokeninsight.com/api/user/web/getAllCoins?level=true

2.Get rating related data

Required parameters
Parameter Type Required Default Info
sourceId string true Partner ID, provided by TokenInsight.
tokeninsightId string true Unique identifier of the currency
language string false cn The optional parameters are cn and en, which return Chinese and English data respectively.
Return data
Parameter Type Description
name string The name
abbreviate string The abbreviate
levelResult string Rating result
teamScore int Team score
subjectScore int Project score
ecologyScore int Ecological score
description string Rating result description
anticipation string Observation results
warning string Risk warning
pdfUrl url Rating report URL
rank string ranking in all rated projects
mobilePdfUrl url Rating report URL for mobile phone users

Example

GET

https://tokeninsight.com/api/user/web/getCoinLevel?tokeninsightId=BTC&language=en
&sourceId=XXXXX

3.Get token basic info

Required parameters
Parameter Type Required Default Info
sourceId string true Partner ID, provided by TokenInsight.
tokeninsightId string true Unique identifier of the currency
language string false cn The optional parameters are cn and en, which return Chinese and English data respectively.
Return data
Parameter Type Description
tokeninsightId string Unique identifier of the currency
name string The name
abbreviate string The abbreviate
maxSupply string Max Supply
totalCoinSupply string Total Supply
availableSupply string Circulating Supply
consensusMethod string Consensus Method
algorithm string Algorithm
description string About
whitePaper url Whitepapper
website url Official Website
twitterLink url Twitter
githubLink url GitHub
oneLevelIndustry string primaryIndustry
twoLevelIndustry string secondaryIndustry

Example

GET

https://tokeninsight.com/api/user/web/getTokenBasicInfo?tokeninsightId=BTC&
language=en&sourceId=XXXXX

4.Get information about currency circulation and market capitalization

Required parameters
Parameter Type Required Default Info
sourceId string true Partner ID, provided by TokenInsight.
tokeninsightId string true Unique identifier of the currency
language string false cn The optional parameters are cn and en, which return Chinese and English data respectively.
Return data
Parameter Type Description
name string The name
abbreviate string The abbreviate
supply string The Circulation of currency
supplyRate string Circulation rate of currency
marketCap string Market cap of currency($)
rate string Proportion of currency market cap in all currencies
rank int Currency market value ranking
industry string Cryptocurrency industy

Example

GET

https://tokeninsight.com/api/user/web/getSupply?tokeninsightId=btc&sourceId=XXXXX

5.Get TI index data

Required parameters
Parameter Type Required Default Info
sourceId string true Partner ID, provided by TokenInsight.
queryType int false 1 When the request value is 1/2/3/4/5/6, the data within 6 hours, 12 hours, 1 day, 7 days, one month, and all are returned.
Return data
Parameter Type Description
updateTime string
mark float Index value

Example

GET

https://tokeninsight.com/api/user/web/getTiIndex?queryType=1&sourceId=XXXXX

6.Get TIG index data

Required parameters
Parameter Type Required Default Info
sourceId string true Partner ID, provided by TokenInsight.
queryType int false 1 When the request value is 1/2/3/4/5/6, the data within 6 hours, 12 hours, 1 day, 7 days, one month, and all are returned.
Return data
Parameter Type Description
updateTime string
mark float Index value

Example

GET

https://tokeninsight.com/api/user/web/getTigIndex?queryType=1&sourceId=XXXXX

7.Get TIGPT index data

Required parameters
Parameter Type Required Default Info
sourceId string true Partner ID, provided by TokenInsight.
queryType int false 1 When the request value is 1/2/3/4/5/6, the data within 6 hours, 12 hours, 1 day, 7 days, one month, and all are returned.
Return data
Parameter Type Description
updateTime string
mark float Index value

Example

GET

https://tokeninsight.com/api/user/web/getTigptIndex?queryType=1&sourceId=XXXXX

8.Get TIF index data

Required parameters
Parameter Type Required Default Info
sourceId string true Partner ID, provided by TokenInsight.
queryType int false 1 When the request value is 1/2/3/4/5/6, the data within 6 hours, 12 hours, 1 day, 7 days, one month, and all are returned.
Return data
Parameter Type Description
updateTime string
mark float Index value

Example

GET

https://tokeninsight.com/api/user/web/getTifIndex?queryType=1&sourceId=XXXXX

9.Get a list of Github repositories for digital currencies

Required parameters
Parameter Type Required Default Info
page int false 1 Used for paging, the minimum is 1
size int false 10 The number of return values per page
dateInt int false -7 Available parameters are -7,-30 and -90. You can get the corresponding data for 7 days, 30 days and 90 days

Example

GET

https://index.tokenin.cn/user/home/currencyList?page=1&size=10&dateInt=-7

10.Get GitHub commits details for the last 90 days of digitalcurrency

Required parameters
Parameter Type Required Default Info
search string true The name of the digital currency you want to search

Example

GET

https://index.tokenin.cn/user/home/currencyInfo?search=tron

Return examples