get https://api.amberdata.com/market/metrics//historical/stock-to-flow
Get the Stock to Flow metric for a specific asset symbol over a period of time.
Deprecation Notice
As part of our ongoing efforts to improve our API and services, we will be deprecating this endpoint on September 30, 2024. This decision is in line with our commitment to providing high-quality, efficient, and secure API services to our users.
We encourage all users of this endpoint to reach out to our customer support team for any assistance or inquiries on custom scripts. Thank you for your understanding and cooperation!
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous 10 years with a 1 day frequency.
Response Data
Field | Type | Description |
---|---|---|
timestamp | string | The time at which the metrics were calculated. |
blockNumber | string | The block at which the metrics were calculated. |
circulation | number | Total number of units in circulation at this point in time/block. |
lastYearCirculation | number | Total number of units in circulation 1 year ago. |
ratio | number | The ratio of Stock to Flow, for more see: https://medium.com/@100trillionUSD/modeling-bitcoins-value-with-scarcity-91fa0fc03e25 |
price | number | The asset predicted price at this point in time. |