EveripediaNetwork / issues

Issues repo
9 stars 0 forks source link

API for upbit #46

Closed kesar closed 2 years ago

kesar commented 2 years ago
  1. Protocol Format and Response Content

    • HTTP(S) GET format
    • Response Content-Type: application/json; charset=utf-8
  2. Required Data Fields

    • (Required) symbol : [String] Symbol (ex: BTC, ETH)
    • (Required) currencyCode : [String] Fiat Currency (ex: KRW, USD, IDR, SGD, THB) Data for all 5 fiat currencies are required
    • (Required) marketCap : [Decimal] (based on designated fiat currency) Market Cap
    • (Required) circulatingSupply : [Decimal] Circulating Supply (Total no. of tokens available for trading)
    • (Required) maxSupply : [Decimal] Max Supply
    • (Required) provider : [String] Provider(Name of Entity) has to be identically appointed to the slug
    • (Required) lastUpdatedTimestamp : [Long] Last Updated Unix Timestamp (Milliseconds since Unix Epoch)
    • accTradePrice24h : [Decimal] (based on designated fiat currency) 24H Total Trading Volume
    • price : [Decimal] (based on designated fiat currency) Global Coin Price

You may keep 'accTradePrice24h', 'price' data null at the moment, however, we would appreciate it if you have all the data ready in case we need additional information during the development process.

Reference: API JSON Response Example example) GET /api/xxx/info

[ { "symbol": "BTC", "currencyCode": "KRW", "price": 39296339.41959793, "marketCap": 731119437172996.5, "accTradePrice24h": 64801881977219.54, "circulatingSupply": 18605431, "maxSupply": 18605431, "provider": "Your company", "lastUpdatedTimestamp": 1611133137325 }, { "symbol": "BTC", "currencyCode": "SGD", "price": 47217.20293252, "marketCap": 878496411174.0282, "accTradePrice24h": 77046842282.20059, "circulatingSupply": 18605431, "maxSupply": 18605431, "provider": "Your company", "lastUpdatedTimestamp": 1611133137325 } // ... list by currency ]

kesar commented 2 years ago

https://api.mindswap.finance/api/info

https://github.com/EveripediaNetwork/mindswap-api/commit/2b26cd5c0d804536de2d797d6d568254b7ba9f85