Closed stayForward09 closed 5 months ago
And may I have one more question? Where or when should I use API_key? I can successfully run api request without api key.
curl --location --request POST 'https://crust.api.subscan.io/api/scan/swork/daily' \
--header 'User-Agent: Apidog/1.0.0 (https://apidog.com)' \
--header 'Content-Type: application/json' \
--data-raw '{
"category": "nodes",
"end": "string",
"start": "string"
}'
And I can't find any room to embed api key in this sample query. Could you please help me? Thanks.
@stayForward09 Hi, You can ref this doc https://support.subscan.io/doc-361777
Thanks, @freehere107, I got it. And sorry to say, but would you please tell me about the first issue?
@stayForward09 The amount is calculated by total_storage (TB) / (1024 1024 1024 * 1024)
Thanks so much! @carlhong @freehere107
Confirmation
Affected Network(s)
Crust
Steps to reproduce
I'm going to add Crust keymetrics of Storage data and Data stored to our website https://depin.ninja. And I found the perfect info from https://crust.subscan.io/tools/charts?type=crust_storage, and tried to get this data from api https://crust.api.subscan.io/api/scan/swork/daily. But I just noticed, the response from api is different from the value of main site.
Expected output
Actual output
But the response of api is;
Would you please help me to find the reason, or I think, I did misunderstand about api or main site. Thanks.
Additional factoids or references
No response