Free Avatar API
4 Cascading Sources
Smart avatar API with cascading fallbacks: BIMI company logos, Gravatar profiles, unavatar.io aggregation, and beautiful generated initials. Fast, cached, and completely free. No API key required.
✓ No signup required ✓ No rate limits ✓ No API key ✓ Cached for performance
See It In Action
These avatars are generated in real-time. Refresh to see the API in action!
Cascading Avatar Strategy
1. BIMI
Check for company logos via BIMI (Brand Indicators for Message Identification).
2. Gravatar
Check if the user has a Gravatar profile using SHA-256 hash of their email.
3. unavatar
Try unavatar.io which aggregates GitHub, Twitter, Google, and other sources.
4. Initials
Generate beautiful initials avatar with smart name parsing and clean design.
All results cached for 24 hours with 7-day stale-while-revalidate
Simple API Usage
Just add the API endpoint to your img tag. No authentication, no setup, no hassle.
Basic HTML
<!-- With email (tries Gravatar first) -->
<img src="https://inbound.new/api/avatar?email=user@example.com&name=John Doe"
alt="User avatar"
class="rounded-full w-12 h-12" />
<!-- With just name (generates initials) -->
<img src="https://inbound.new/api/avatar?name=Jane Smith"
alt="User avatar"
class="rounded-full w-12 h-12" />React / Next.js
import Image from 'next/image'
function UserAvatar({ user }) {
const avatarUrl = `https://inbound.new/api/avatar?${new URLSearchParams({
email: user.email,
name: user.name
})}`
return (
<Image
src={avatarUrl}
alt={`${user.name}'s avatar`}
width={48}
height={48}
className="rounded-full"
/>
)
}
// Or use as background image
function ProfileCard({ user }) {
return (
<div
className="w-32 h-32 rounded-full bg-cover"
style={{ backgroundImage: `url(${avatarUrl})` }}
/>
)
}API Parameters & Cascade Order
GET https://inbound.new/api/avatar Query Parameters: email - User's email (triggers all lookups) - Optional name - User's name (for initials fallback) - Optional At least one parameter is required. Cascade Order (with email): 1. BIMI - Company logo from domain 2. Gravatar - Personal avatar (SHA-256) 3. unavatar.io - GitHub, Twitter, Google, etc. 4. Generated - Beautiful initials Response: - 302 Redirect to the avatar image - 24-hour cache (max-age + s-maxage) - 7-day stale-while-revalidate - Edge runtime for global speed Example URLs: /api/avatar?email=user@example.com&name=John Doe /api/avatar?name=Jane Smith /api/avatar?email=ceo@company.com
Why Use This Avatar API?
100% Free
No API keys, no rate limits, no hidden costs. Use it in any project without restrictions.
Lightning Fast
Edge-optimized with 24-hour caching and smart revalidation for instant loading.
4 Avatar Sources
BIMI company logos, Gravatar profiles, unavatar.io aggregation, and generated initials.
Universal Coverage
Checks multiple sources including GitHub, Twitter, Google, and more via unavatar.io.
Global Edge
Runs on Vercel Edge Network for ultra-low latency worldwide.
Zero Setup
No libraries to install, no accounts to create. Just use the URL.
Perfect For
Use this avatar API in any application that needs user profile pictures.
SaaS Applications
Display user avatars in your dashboard, team lists, and comment sections without building your own avatar system.
Customer Support
Show customer avatars in your support ticket system, live chat, or helpdesk interface.
Community Platforms
Display member avatars in forums, social networks, and community platforms.
Email Applications
Show sender avatars in your email client, notification system, or mail dashboard.
Technical Details
Built with modern web standards for reliability and performance.
Cascading Avatar Sources
• BIMI: Company logos via Brand Indicators (2s timeout)
• Gravatar: SHA-256 hashed email lookups (3s timeout)
• unavatar.io: GitHub, Twitter, Google aggregation (3s timeout)
• Generated: Beautiful initials via useravatar.vercel.app
Caching Strategy
• Browser cache: 24 hours (max-age=86400)
• CDN cache: 24 hours (s-maxage=86400)
• Stale-while-revalidate: 7 days (604800)
Image Quality
• BIMI: Vector logos (SVG) from company domains
• Gravatar: 500×500px raster images
• unavatar.io: High-quality profile pictures
• Generated: 500×500px with Inter font
Performance
• Runs on Vercel Edge Network
• Global CDN distribution
• Parallel timeout handling
Start Using the Free Avatar API
No signup required. Just start using the API endpoint in your application today.
✓ No registration ✓ No limits ✓ No tracking ✓ Always free