Overview
An API that provides names for colors based on their hex value
Color Name API is a development API from color.pizza. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 4 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Development
- Base URL
https://api.color.pizza/v1/- Version
- 1.0.0
- Endpoints
- 4
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.color.pizza/v1/" \
-H "Accept: application/json"const response = await fetch("https://api.color.pizza/v1/", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.color.pizza/v1/",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | / | Get all colors of the default color name list |
| GET | /lists/ | Get all colors of the default color name list |
| GET | /names/ | Get all colors of the default color name list |
| GET | /swatch/ | Generate a color swatch for any color |
Questions
Does the Color Name API API need an API key?
No. The Color Name API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Color Name API API support HTTPS?
Yes, the Color Name API API is served over HTTPS.
How many endpoints does the Color Name API API have?
Its OpenAPI description lists 4 endpoints in version 1.0.0. All of them are shown on this page.
What are alternatives to the Color Name API API?
Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.
Similar development APIs
Compare alternatives →Cloudflare
DevelopmentManage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
Azure DevOps
DevelopmentThe Azure DevOps basic components of a REST API request/response pair
IPify
DevelopmentA simple IP Address API
App Store Connect API
DevelopmentThe data structure that represents an app store connect api resource.
StackExchange
DevelopmentQ&A forum for developers
IPinfo
DevelopmentAnother simple IP Address API
Listed from APIs.guru (CC0).