https://github.com/crispengari/bitcoin-prices
This is a simple web app which is using Next-js, axios and bitcoin endpoint for information about bit prices of different currencies
https://github.com/crispengari/bitcoin-prices
Last synced: 14 days ago
JSON representation
This is a simple web app which is using Next-js, axios and bitcoin endpoint for information about bit prices of different currencies
- Host: GitHub
- URL: https://github.com/crispengari/bitcoin-prices
- Owner: CrispenGari
- Created: 2020-10-10T22:00:57.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-05T14:17:00.000Z (almost 3 years ago)
- Last Synced: 2025-04-03T18:52:04.640Z (7 months ago)
- Language: JavaScript
- Size: 202 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### bitcoin-prices
This is a very simple we application for checking `bitcoin` prices from an api.
### API url
The url to get the `bitcoin` prices is:
```shell
https://api.coindesk.com/v1/bpi/currentprice.json
```
### API data
The data from an `api` looks as follows:
```json
{
"time": {
"updated": "Dec 5, 2022 08:58:00 UTC",
"updatedISO": "2022-12-05T08:58:00+00:00",
"updateduk": "Dec 5, 2022 at 08:58 GMT"
},
"disclaimer": "This data was produced from the CoinDesk Bitcoin Price Index (USD). Non-USD currency data converted using hourly conversion rate from openexchangerates.org",
"chartName": "Bitcoin",
"bpi": {
"USD": {
"code": "USD",
"symbol": "$",
"rate": "17,366.9829",
"description": "United States Dollar",
"rate_float": 17366.9829
},
"GBP": {
"code": "GBP",
"symbol": "£",
"rate": "14,511.7120",
"description": "British Pound Sterling",
"rate_float": 14511.712
},
"EUR": {
"code": "EUR",
"symbol": "€",
"rate": "16,917.9769",
"description": "Euro",
"rate_float": 16917.9769
}
}
}
```