TokenInsight JSON API Documentation v1.1

API cooperation, please contact: data@tokeninsight.com

1.Get the list of currencies

Required parameters
ParameterTypeRequiredDefaultInfo
levelboolfalsefalseIf set to true, returns a list of rated currencies. Otherwise return a list of all currencies.
Return data
ParameterTypeDescription
abbreviatestringThe abbreviate
namestringThe name
tokeninsightIdstringUnique identifier of the currency

Example

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

2.Get rating related data

Required parameters
ParameterTypeRequiredDefaultInfo
sourceIdstringtruePartner ID, provided by TokenInsight.
tokeninsightIdstringtrueUnique identifier of the currency
languagestringfalsecnThe optional parameters are cn and en, which return Chinese and English data respectively.
Return data
ParameterTypeDescription
namestringThe name
abbreviatestringThe abbreviate
levelResultstringRating result
teamScoreintTeam score
subjectScoreintProject score
ecologyScoreintEcological score
descriptionstringRating result description
anticipationstringObservation results
warningstringRisk warning
pdfUrlurlRating report URL
mobilePdfUrlurlRating report URL for mobile phone users

Example

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

3.Get information about currency circulation and market capitalization

Required parameters
ParameterTypeRequiredDefaultInfo
sourceIdstringtruePartner ID, provided by TokenInsight.
tokeninsightIdstringtrueUnique identifier of the currency
Return data
ParameterTypeDescription
namestringThe name
abbreviatestringThe abbreviate
supplystringThe Circulation of currency
supplyRatestringCirculation rate of currency
marketCapstringMarket cap of currency($)
ratestringProportion of currency market cap in all currencies
rankintCurrency market value ranking
industrystringChinese version of the currency in the industry

Example

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

4.Get TI index data

Required parameters
ParameterTypeRequiredDefaultInfo
sourceIdstringtruePartner ID, provided by TokenInsight.
queryTypeintfalse1When 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
ParameterTypeDescription
updateTimestring
markfloatIndex value

Example

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

5.Get TIG index data

Required parameters
ParameterTypeRequiredDefaultInfo
sourceIdstringtruePartner ID, provided by TokenInsight.
queryTypeintfalse1When 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
ParameterTypeDescription
updateTimestring
markfloatIndex value

Example

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

6.Get a list of Github repositories for digital currencies

Required parameters
ParameterTypeRequiredDefaultInfo
pageintfalse1Used for paging, the minimum is 1
sizeintfalse10The number of return values per page
dateIntintfalse-7Available parameters are -7,-30 and -90. You can get the corresponding data for 7 days, 30 days and 90 days

Example

GET   https://tokenin.soccerbitch.net/user/home/currencyList?page=1&size=10&dateInt=-7

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

Required parameters
ParameterTypeRequiredDefaultInfo
searchstringtrueThe name of the digital currency you want to search

Example

GET   https://tokenin.soccerbitch.net/user/home/currencyInfo?search=tron

Return examples