Files
Matthew Brandly bfe4c24980 fix title in README
coinhub.org doesn't appear to be anything
2018-01-12 10:44:55 -05:00

85 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ₿ Coinbin.org
### The HumanFriendly API Service for Crypto Currency Information.
This free web service exists to provide information on "coins". Supports all cryptocurrencies.
### Example API Endpoints
`$ curl https://coinbin.org/lbc`
```json
{
"coin": {
"name": "LBRY Credits",
"rank": "100",
"ticker": "lbc",
"value": 0.429737,
"value.currency": "USD"
}
}
```
`$ curl https://coinbin.org/lbc/42.01`
```json
{
"coin": {
"exchange_rate": 0.429737,
"value": 18.053251369999998,
"value.currency": "USD"
}
}
```
`$ curl https://coinbin.org/lbc/to/sc`
```
{
"coin": {
"exchange_rate": 61.98696034733942
}
}
```
`$ curl https://coinbin.org/lbc/42.01/to/sc`
```json
{
"coin": {
"exchange_rate": 61.98696034733942,
"value": 2604.072204191729,
"value.coin": "sc"
}
}
```
`$ curl https://coinbin.org/lbc/history`
```json
{
"history": [
{
"timestamp": "2017-08-24T04:00:55.932092Z",
"value": 0.3404,
"value.currency": "USD",
"when": "today"
}, ...
... {
"timestamp": "2016-07-12T04:01:09.167162Z",
"value": 0.239634,
"value.currency": "USD",
"when": "Jul 12 2016"
}
]
}
```
## More Resources
- [Awesome Crypto Currency Tools & Algorithms (Guide)](https://github.com/kennethreitz/awesome-coins)