This article will introduce a crypto API which is Block.cc is a professional cryptocurrency information service platform that provides cryptocurrency quotes, data, information, and high-performance RESTful JSON endpoints designed to meet the mission-critical demands of application developers, blockchain enthusiasts, cryptocurrency investors, and enterprise business platforms. Included 500+ exchanges, 10,000+ currencies, 28,000+ trading pairs, and 1000+ business users. Block.cc provides three types of interfaces, including metadata, market data, and news data. Today we'll talk about the metadata interface for block.cc.
Meta Data
Metadata is basic data and is generally used as a parameter for requesting market data.
How to get data from Block.cc API
(1)Get a list of all supported markets
Request URL
GET https://data.block.cc/api/v3/markets
GET https://data.block.cc/api/v3/markets/{slug}
Example
return:
[
{
"slug": "binance",
"fullname": "Binance",
"websiteUrl": "https://www.binance.com/",
"volume": 2490122366.2343,
"reportedVolume": 2490122366.2343,
"expectedVolume": 2490122366.2343,
"monthlyVisits": 19386372.159024935,
"status": "enable",
"kline": true,
"spot": true,
"futures": false
},
{
"slug": "okex",
"fullname": "OKEX",
"websiteUrl": "https://www.okex.com",
"volume": 2490122366.2343,
"reportedVolume": 2490122366.2343,
"expectedVolume": 2490122366.2343,
"monthlyVisits": 19386372.159024935,
"status": "enable",
"kline": true,
"spot": true,
"futures": false
}
]
(2)Get a list of all supported currencies
Request URL
GET https://data.block.cc/api/v3/symbols
GET https://data.block.cc/api/v3/symbols/{slug}
Example
Response:
[
{
"logoUrl": "",
"rank": 3,
"volumeUsd": 8391582654.89,
"marketCapUsd": 83717264202.5134,
"availableSupply": 83147694182.5932,
"totalSupply": 86713951794.8747,
"maxSupply": 86713951794.8747,
"priceStartAt": 1427590500000,
"whitePaperUrls": "https://tether.to/wp-content/uploads/2016/06/TetherWhitePaper.pdf",
"githubId": null,
"twitterId": "tether_to",
"facebookId": "tether.to",
"telegramId": null,
"redditId": null,
"algorithm": null,
"proof": null,
"issueDate": null,
"contractAddress": "31",
"ignore": false,
"fiat": false,
"status": "enable",
"platforms": [
{
"contractAddress": "tr7nhqjekqxgtci8q8zy4pl8otszgjlj6t",
"platform": "TRX",
"explorer": "https://tronscan.org/#/contract/tr7nhqjekqxgtci8q8zy4pl8otszgjlj6t"
},
{
"contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"platform": "ETH",
"explorer": "https://cn.etherscan.com/token/0xdac17f958d2ee523a2206206994597c13d831ec7"
},
{
"contractAddress": "31",
"platform": "OMNI",
"explorer": "https://omniexplorer.info/asset/31"
}
],
"details": null,
"slug": "tether",
"symbol": "USDT",
"fullname": "Tether",
"websiteUrl": "https://tether.to"
}
]
{
"logoUrl": "",
"rank": 3,
"volumeUsd": 8391582654.89,
"marketCapUsd": 83717264202.5134,
"availableSupply": 83147694182.5932,
"totalSupply": 86713951794.8747,
"maxSupply": 86713951794.8747,
"priceStartAt": 1427590500000,
"whitePaperUrls": "https://tether.to/wp-content/uploads/2016/06/TetherWhitePaper.pdf",
"githubId": null,
"twitterId": "tether_to",
"facebookId": "tether.to",
"telegramId": null,
"redditId": null,
"algorithm": null,
"proof": null,
"issueDate": null,
"contractAddress": "31",
"ignore": false,
"fiat": false,
"status": "enable",
"platforms": [
{
"contractAddress": "tr7nhqjekqxgtci8q8zy4pl8otszgjlj6t",
"platform": "TRX",
"explorer": "https://tronscan.org/#/contract/tr7nhqjekqxgtci8q8zy4pl8otszgjlj6t"
},
{
"contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"platform": "ETH",
"explorer": "https://cn.etherscan.com/token/0xdac17f958d2ee523a2206206994597c13d831ec7"
},
{
"contractAddress": "31",
"platform": "OMNI",
"explorer": "https://omniexplorer.info/asset/31"
}
],
"details": null,
"slug": "tether",
"symbol": "USDT",
"fullname": "Tether",
"websiteUrl": "https://tether.to"
}
Get more information, please browse the office website
https://pro.block.cc/