Weiss Crypto Ratings API
By accessing or using Weiss Crypto Ratings’ (“Weiss”) API and other developer services (collectively, “APIs”), you are agreeing to these terms, as well as any relevant sections of Weiss’ Website Policies (collectively, Terms or Agreement).
Documentation
GET en/api/v1/articles
Retrieves a list of all published articles.
Arguments
page | The page to retrieve the articles for. |
pageSize | The number of articles per page. Must be a value between 1 and 25, default is 10. |
Result
count | The number of articles. |
page | The current page number. |
pageSize | The size of the current page. |
pageCount | The total number of pages. |
articles | An array containing the articles. |
id | The ID of the article. Used to retrieve its content. |
url | The URL of the article. |
title | The title of the article. |
info | The author and date of the article. |
image | The URL of the article image. |
preview | A short preview of the article. |
Sample
GET https://weisscrypto.com/en/api/v1/articles?page=1&pageSize=10
Response
{
"count": 181,
"page": 1,
"pageSize": 10,
"pageCount": 19,
"articles": [
}"page": 1,
"pageSize": 10,
"pageCount": 19,
"articles": [
{
]"id": 539,
"url": "https://weisscrypto.com/en/article/in-blockchain-profits-we-trust-heres-why",
"title": "In Blockchain Profits We Trust. Here's Why …",
"info": "By Tony Sagami on July 08, 2019",
"image": "https://cdn.weisscrypto.com/media/Default/_Profiles/7599e498/c3964934/WCA070819_1.jpg?v=636988761250000000",
"preview": "Bitcoin peaked at $19,783 on Dec. 17, 2017.<br/>\r\nIt's now trading well below that peak, but up sharply — more than 250% — from its December 2018 low of $3,122. …"
}, …"url": "https://weisscrypto.com/en/article/in-blockchain-profits-we-trust-heres-why",
"title": "In Blockchain Profits We Trust. Here's Why …",
"info": "By Tony Sagami on July 08, 2019",
"image": "https://cdn.weisscrypto.com/media/Default/_Profiles/7599e498/c3964934/WCA070819_1.jpg?v=636988761250000000",
"preview": "Bitcoin peaked at $19,783 on Dec. 17, 2017.<br/>\r\nIt's now trading well below that peak, but up sharply — more than 250% — from its December 2018 low of $3,122. …"
GET en/api/v1/article
Retrieves the content of an article.
Arguments
id | The ID of the article to be retrieved. Can be retrieved by called articles. Required |
Result
Success
success | Always true |
title | The title of the article. |
content | The content of the article. |
Failure
success | Always false |
message | The reason the request failed. |
Sample
GET https://weisscrypto.com/en/api/v1/article?id=539
Response
{
"success": true,
"title": "In Blockchain Profits We Trust. Here's Why …",
"content": "…"
}"title": "In Blockchain Profits We Trust. Here's Why …",
"content": "…"
GET en/api/v1/indexes
Returns information on all Weiss Crypto Indexes.
Arguments
none |
Result
indexes | An array containing the indexes. |
id | The ID of the Weiss Crypto index. |
url | The URL of the Weiss Crypto index page. |
symbol | The symbol of the Weiss Crypto index. |
title | The title of the Weiss Crypto index. |
description | The description of the Weiss Crypto index. |
Sample
GET https://weisscrypto.com/en/api/v1/indexes
Response
{
"indexes": [
}{
]"id": 101,
"url": "https://weisscrypto.com/en/index/w50",
"symbol": "W50",
"title": "Weiss 50 Crypto Index",
"description": "All coins meeting the basic standards of technology and adoption, as defined by the proprietary Weiss Crypto Ratings model."
}, …"url": "https://weisscrypto.com/en/index/w50",
"symbol": "W50",
"title": "Weiss 50 Crypto Index",
"description": "All coins meeting the basic standards of technology and adoption, as defined by the proprietary Weiss Crypto Ratings model."
GET en/api/v1/index-info
Retrieves the latest information for a Weiss Crypto Index.
Arguments
id | The ID of the Weiss Crypto index to be retrieved. Can be retrieved by calling indexes. Required |
Result
Success
success | Always true |
indexId | The Weiss Crypto index ID. |
currentValue | The current value of the Weiss Crypto index. |
currentChange | The gain/loss since midnight UTC. |
currentChangePct | The percent change since midnight UTC. |
data | An array containing the histogram since midnight UTC. |
[0] | The time period. |
[1] | The percent change for the time period. null, if not yet available. |
Failure
success | Always false |
message | The reason the request failed. |
Sample
GET https://weisscrypto.com/en/api/v1/index-info?id=101
Response
{
"success": true,
"indexId": 101,
"currentValue": 1187.4962059018,
"currentChange": 2.0114267282,
"currentChangePct": 0.0016967124,
"data": [
}"indexId": 101,
"currentValue": 1187.4962059018,
"currentChange": 2.0114267282,
"currentChangePct": 0.0016967124,
"data": [
[ "2019-07-30T13:15:00Z", 0.001746603 ]
[ "2019-07-30T13:10:00Z", 0.0012583491 ] , …
][ "2019-07-30T13:10:00Z", 0.0012583491 ] , …
GET en/api/v1/index-latest
Retrieves the latest value, gain/loss and percent change for a Weiss Crypto Index.
Arguments
id | The ID of the Weiss Crypto index to be retrieved. Can be retrieved by calling indexes. Required |
Result
Success
success | Always true |
indexId | The Weiss Crypto index ID. |
indexValue | The current value of the Weiss Crypto index. |
indexChange | The gain/loss since midnight UTC. |
indexChangePct | The percent change since midnight UTC. |
Failure
success | Always false |
message | The reason the request failed. |
Sample
GET https://weisscrypto.com/en/api/v1/index-latest?id=101
Response
{
"success": true,
"indexId": 101,
"indexValue": 1187.4962059018,
"indexChange": 2.0114267282,
"indexChangePct": 0.0016967124
}"indexId": 101,
"indexValue": 1187.4962059018,
"indexChange": 2.0114267282,
"indexChangePct": 0.0016967124
GET en/api/v1/coins-list
Retrieves a list of all coins covered by Weiss.
Arguments
onlyRated | Indicates whether only rated coins should be returned. Default value is true. |
page | The page to retrieve the coins for. Default value is 1. |
pageSize | The coins per page. Must be a value between 1 and 25, default value is 25. |
Result
count | The total number of coins. |
page | The current page number. |
pageSize | The size of the current page. |
pageCount | The total number of pages. |
data | An array containing the coins. |
cryptoId | The crypto ID. |
name | The name of the coin. |
symbol | The symbol of the coin. |
url | The URL of the coin. |
imageSmall | The URL of the coin small image. |
image | The URL of the coin image. |
rating | The overall rating of the coin. |
ratingChange | The last rating change of the coin. |
marketPerformance | The market performance grade. |
techAdoption | The technology/adoption Grade. |
momentum | The momentumindicator. |
risk | The risk indicator. |
technology | The technology indicator. |
adoption | The adoption indicator. |
tokensMinted | The number of coins/tokens in circulation. |
price | The latest price. |
price24hChange | The 24-hour price change. |
volume | The 24-hour volume. |
marketCap | The market capitalization. |
Sample
GET https://weisscrypto.com/en/api/v1/coins-list?onlyRated=true&page=1&pageSize=10
Response
{
"count": 124,
"page": 1,
"pageSize": 25,
"pageCount": 5,
"data": [
}"page": 1,
"pageSize": 25,
"pageCount": 5,
"data": [
{
]"cryptoId": 1001,
"name": "Bitcoin",
"symbol": "BTC",
"type": "Coin",
"url": "https://weisscrypto.com/en/crypto/btc",
"imageSmall": "https://cdn.weisscrypto.com/images/c0001001-small.png",
"image": "https://cdn.weisscrypto.com/images/c0001001.png",
"rating": "B+",
"ratingChange": "Downgraded",
"tokensMinted": 17840359.787218,
"price": 9593.5859940000,
"price24hChange": 0.008512852,
"volume": 13623222724.8511270000,
"marketCap": 171153025782.575425
}, …"name": "Bitcoin",
"symbol": "BTC",
"type": "Coin",
"url": "https://weisscrypto.com/en/crypto/btc",
"imageSmall": "https://cdn.weisscrypto.com/images/c0001001-small.png",
"image": "https://cdn.weisscrypto.com/images/c0001001.png",
"rating": "B+",
"ratingChange": "Downgraded",
"tokensMinted": 17840359.787218,
"price": 9593.5859940000,
"price24hChange": 0.008512852,
"volume": 13623222724.8511270000,
"marketCap": 171153025782.575425
GET en/api/v1/crypto-latest
Retrieves the latest price, volume, market capitalization and 24-hour change for the specified cryptos.
Arguments
ids | One or more crypto ID separated by comma. You can specify up to 25 IDs per call. |
Result
{array} | An array containing the latest information. |
cryptoId | The crypto ID. |
price | The latest price. |
price24hChange | The 24-hour price change. |
price24hGain | The 24-hour price gain/loss. |
volume | The 24-hour volume. |
volume24hChange | The 24-hour volume change. |
marketCap | The market capitalization. |
Sample
GET https://weisscrypto.com/en/api/v1/crypto-latest?ids=1001,1002,1003
Response
[
{
]"cryptoId": 1001,
"price": 10003.4622580000,
"price24hChange": 0.0167579316,
"price24hGain": 164.8743830000,
"volume": 16083351997.9613750000,
"volume24hChange": 0.0989808060,
"marketCap": 178507005212.225099,
}, …"price": 10003.4622580000,
"price24hChange": 0.0167579316,
"price24hGain": 164.8743830000,
"volume": 16083351997.9613750000,
"volume24hChange": 0.0989808060,
"marketCap": 178507005212.225099,