What it does
RoboHash creates a unique image from any text, such as a user name, e-mail hash or IP address, so users get a consistent avatar without uploading one. Request robohash.org/.png and choose robots, monsters, robot heads, cats or human avatars with set, plus size and background options. Images come as PNG or JPG. Free, no key needed; images are CC-BY, so credit RoboHash.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free, no key needed; images are CC-BY, so credit RoboHash.
- From the browser
- Yes (CORS)
- Interface
- HTTP-GET
- Provider
- robohash.org
More information: https://robohash.org/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://robohash.org/hello.png'
JavaScript
const response = await fetch("https://robohash.org/hello.png");
const text = await response.text();
console.log(text);
Python
import requests
response = requests.get(
"https://robohash.org/hello.png",
timeout=30,
)
print(response.text)
The JavaScript works in a web page as well as in Node.js 18 or newer.