API Directory › 🐾 Animals › Shibe.online
No authHTTPSCORS

Shibe.online API

Random shiba inu, cat and bird images from a free JSON API.

Category
Auth
No auth needed
HTTPS
Yes
CORS
Yes
Open Shibe.online docs ↗

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

https://shibe.online/api

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
curl -s "https://shibe.online/api/shibes?count=3&urls=true"
# ["https://cdn.shibe.online/shibes/....jpg", ...]
JavaScript
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)
countHow many to return (max ~100)
urlstrue for full URLs, false for filenames

Common errors

404Unknown 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.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON Formatter

Related Animals APIs

← Back

More Animals APIs · All 196 APIs