Skip to content

diegocasillas/crypto-icons-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Icons API

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/.

API

GET api/:style/:currency/:size

Styles

black white color icon

image

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 api/color/eth/600
GET api/black/btc/200
GET api/icon/btc/ff00ff

Get response in PNG format

By default the service returns SVGs. You can get responses in PNG format by setting the ?png=true query parameter.

Examples

GET api/icon/btc/200?png=true

License

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

The rest of the project is MIT.

About

API for crypto icons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 36.0%
  • JavaScript 35.8%
  • CSS 21.8%
  • Dockerfile 6.4%