API for crypto icons
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
.gitignore
Procfile
README.md
app.json
package-lock.json
package.json
server.js

README.md

Crypto Icons API

This project is a service for serving the icons created and maintained by the Cryptocurrency Icons project.

The service was originally built for use in Quids for Mac to avoid bundling every icon with the client. Instead, we use this service to dynamically accept the SVG source and render a PNG, using any of the included icon styles provided.

You are welcome to fork this GitHub repo and deploy your own version of the service. You can even deploy this straight to Heroku.

API

GET https://cryptoicons.org/api/:style/:currency/:size

Styles

  • black
  • white
  • color
  • icon

Override Colors

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.

Examples

GET https://cryptoicons.org/api/color/eth/600
GET https://cryptoicons.org/api/black/btc/200
GET https://cryptoicons.org/api/icon/btc/ff00ff

Deploy to Heroku

Deploy

License

All the SVG files are under the same license as the Cryptocurrency Icons project.

The rest of the project is MIT.