Shibe.online API
Random shiba inu, cat and bird images from a free JSON API.
What it does
shibe.online returns arrays of random image URLs for shiba inu dogs, cats or birds. One endpoint per animal, a count parameter, and a flag for whether to return full URLs or just filenames.
Base URL
Authentication
None. /shibes?count=5&urls=true, /cats?count=5, /birds?count=5. CORS is enabled, so it works directly from the browser.
Code examples
curl -s "https://shibe.online/api/shibes?count=3&urls=true" # ["https://cdn.shibe.online/shibes/....jpg", ...]
const [url] = await fetch("https://shibe.online/api/cats?count=1&urls=true")
.then(r => r.json());
img.src = url;Rate limits & quotas
count is capped (commonly at 100). No key and no strict rate limit, but it is a hobby project — request a batch and cache rather than one image per call. urls=false returns bare filenames if you want to build your own URLs.
Key response fields
| [] (array) | List of image URLs (or filenames with urls=false) |
| count | How many to return (max ~100) |
| urls | true for full URLs, false for filenames |
Common errors
| 404 | Unknown animal path (only shibes, cats, birds). |
| (count too high) | Values over the cap are clamped, not errored. |
When to use it (and alternatives)
Handy when you want several random pet images in one call (gallery grids, carousels). For a single image with captions/filters use Cataas; for dog breeds, dog.ceo.
FAQ
How many images can I get per request?
Up to about 100 via count. Ask for a batch once and rotate through it client-side.
Birds and cats too, not just shibas?
Yes — /api/cats and /api/birds work the same way as /api/shibes.
Does it work from front-end JavaScript?
Yes — CORS headers are set, so a browser fetch works without a proxy.
New to APIs?
Short guides for working with this API — and any other.