Watchmarket is a Blockchain explorer API aggregator and caching layer. It's your one-stop-shop to get information for (almost) any coin in a common format
Watchmarket comes with three apps:
- API: RESTful API to retrieve coin info, charts, and tickers
- Observer: caches data from explorer APIs in Redis
- Swagger: API explorer
FYI!
Watchmarket was recently spun out of Blockatlas which remains under branch version/blockatlas
.
- Spin up a Redis instance:
docker run -it -p 6379:6379 redis
- Start the app:
make start
- Explore the API: http://localhost:8423/swagger/index.html
- Use the API:
curl -v "http://localhost:8421/v1/market/info?coin=60" | jq .
curl -v -X POST 'http://localhost:8421/v1/market/ticker' -H 'Content-Type: application/json' -d '{"currency":"ETH","assets":[{"type":"coin","coin":60}]}'
curl -v "http://localhost:8421/v1/market/charts?coin=60&time_start=1574483028" | jq .
- When done:
make stop
Run make
to see a list of all available build directives.