This project is a service for serving the icons created and maintained by the Cryptocurrency Icons project.
This service is a fork from reddavis/Crypto-Icons-API.
This fork supports responses in SVG format by default and optionally in PNG format by using the query parameter ?png=true
.
Try it in http://api.cryptotradingsim.com:8001/.
GET api/:style/:currency/:size
black
white
color
icon
By default both color
and icon
styles have a color assigned from the original
assets created by the
Cryptocurrency Icons project.
You can optionally override these colors by passing your own hexidecimal value
as the last value to API calls for these styles only. The hexidecimal value
you pass should not include the #
prefix.
GET api/color/eth/600
GET api/black/btc/200
GET api/icon/btc/ff00ff
By default the service returns SVGs. You can get responses in PNG format by setting the ?png=true
query parameter.
GET api/icon/btc/200?png=true
All the SVG files are under the same license as the Cryptocurrency Icons project.
The rest of the project is MIT.