Suggestion: in the image generated in "local to btc", there should be a small line underneath, saying the day/time that the value was updated.
It is true that the value is updated whenever the image is loaded. But, for those who are more dissatisfied, they may not notice.
So I suggested something like this:
I added this as an optional feature
Just add &date , similar to &bold
https://bitcoindata.science/api/localprice.php?amount=1¤cy=USD&date
Then you have the datetime in UTC
I think it is a good idea. Thanks also for LoyceV and examplens for suggestions.
I will add this to the docs soon. I will also add it to other endpoints, working only in localprice for now.
I think it is necessary in sections such as Collectibles, which is the price at the time of ordering and the current price of Bitcoin, and it is useful for those who will visit the forum in the future, as a person can, for example, buy something for $100 today and it will be worth $500 a few months later.
Blockchair provides a similar service, which is to show the price at the moment the transaction is confirmed. It is important to know the real price when conducting the transaction and is useful for those who want to visit the site in the future.
About old timestamps, such as by the time of posting I don't think that makes sense at all.
If you want to see the value of bitcoin by the time of your posting, just write it. You don't neeed an image which was dynamically generated to get past data
That API is important for posts which are interested in future/present information.