Get avatar from Snapchat
Resolve user avatars against snapchat.com with a single URL. No API keys, no SDK — just unavatar.io/snapchat/{username}.
<img src="https://unavatar.io/snapchat/teddysdaytoday" />Snapchat API usage
Get any Snapchat user's profile picture by their username.
From username to avatar in one request
Build the URL with your Snapchat username, get the avatar. No API keys required for the free tier.
Build the URL
Use unavatar.io/snapchat/ plus your username.
Get the avatar
unavatar resolves the avatar from snapchat.com.
<img src="https://unavatar.io/snapchat/teddysdaytoday" />Cached & optimized
Resolved avatars are cached for up to 24 hours. Subsequent requests return instantly — no redundant upstream lookups.
unavatar works with 35+ platforms
Resolve avatars from GitHub, X, Instagram, Spotify, and more with the same simple API.
Performant and proven to handle scale, every day.
Fast responses backed by a global edge network you can count on.
Proudly serving companies from small to large every day.
Pricing, made simple
Pure pay-as-you-go. No minimums, no commitments — you only pay for what you use.
Cached requests are served for free and don't count toward your usage.
What is an avatar API?
An avatar API is a service that retrieves user avatars programmatically. Instead of integrating with each social platform individually, an avatar API like unavatar lets you fetch avatars from GitHub, X, Instagram, Gravatar, and 35+ other providers through a single HTTP endpoint.
Is unavatar free to use?
Yes. The avatar API is free for low-volume usage with 50 requests per day. Paid usage is metered — there are no minimums or subscriptions, you only pay for non-cached requests you actually make.
How do I get an avatar from an email address?
Simply make a GET request to unavatar.io/[email protected] and the API will resolve the avatar from Gravatar, Google, and other email-based providers automatically. No API key is needed for the free tier.
Do I need an API key?
Not for the free tier. Once you sign up for a paid plan, you get an API key that removes rate limits and unlocks extra features like custom TTL.
What happens if an avatar can't be found?
A default fallback image is returned automatically. You can customize it by passing a fallback URL as a query parameter to match your app's style.
How fast are avatar API responses?
Cached avatars are served from the edge in under 50ms worldwide. Fresh lookups depend on the upstream provider but are typically resolved in under 300ms. All responses are cached on a global CDN.
Can I use this avatar API in production?
Absolutely. unavatar serves millions of requests per month with 99.6%+ uptime. Paid plans include an SLA guarantee and priority support.
Which avatar providers are supported?
Over 35 providers including GitHub, X (Twitter), Instagram, Gravatar, Google, Bluesky, Spotify, LinkedIn, YouTube, Telegram, and more. You can also resolve avatars by email address or domain name.
How is unavatar different from Gravatar?
Gravatar only works with email addresses registered on its platform. unavatar is a universal avatar API that checks 35+ providers including Gravatar, so you get much higher coverage. If Gravatar has no result, unavatar automatically tries GitHub, Google, and other sources.
Still have questions? Ask on GitHub
1,416 stars on GitHub
Proudly Open Sourcecrafted by Microlink.io
unavatar is free, open source, and community-driven. Inspect the code, open an issue, or contribute a new provider — everyone is welcome.