Boring avatars service
Gain unlimited access to the official Boring avatars API service to generates unique, random avatars on demand.
The subscription plan includes two tiers:
- Basic: up to 100K monthly requests.
- Pro: up to 500k monthly requests.
For higher usage, please contact us.
Usage
Our API is set up to respond only to requests from your specified domain using CORS (Cross-Origin Resource Sharing) validation, ensuring it works exclusively where you need it.
During checkout, you'll provide one production and one development domain where you intend to use the API. we'll create a custom endpoint for you and send an email with further instructions within 24 hours.
With your custom domain, you can start generating avatars using the provided URL.
{CUSTOM_DOMAIN}?name={NAME}&variant={VARIANT}&size={SIZE}&colors={COLORS}&square
Use the URL in an img
tag with the crossorigin
property to make sure the request uses CORS headers.
<img src="{CUSTOM_DOMAIN}" crossorigin>
Props
Name
Use the name
parameter to generate a unique avatar design. It can be the username, email or any random string.
<img src="{CUSTOM_DOMAIN}?name=Maria%20Mitchell" crossorigin>
Variant
You can use one of the variants marble
, beam
, pixel
, sunset
, ring
or bauhaus
using the parameter variant
<img src="{CUSTOM_DOMAIN}?variant=beam" crossorigin>
Size
Use the variant
parameter to change the theme of the avatar. The available variants are: marble
, beam
, pixel
, sunset
, ring
and bauhaus
.
<img src="{CUSTOM_DOMAIN}?size=240" crossorigin>
Colors
Use the colors
parameter to change the color palette of the avatar.
<img src="{CUSTOM_DOMAIN}?colors=264653,2a9d8f,e9c46a,f4a261,e76f51" crossorigin>
Square
Use the square
parameter to make the avatar square.
<img src="{CUSTOM_DOMAIN}?square crossorigin>
Random avatar
If you just want to use random avatars without providing usernames, you can use the root endpoint. You will receive an SVG
image with a 80*80px size using the marble
variant.
<img src="{CUSTOM_DOMAIN} crossorigin>
If you have any questions or need help, please contact us.
15 members
Unlimited service: Generate as many unique, random avatars on demand each month for your web project.
Add to wishlist
Ratings
1
5
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%