Shibe.Online

Shibe.Online

Animals

Random pictures of Shibu Inu, cats or birds

Visit API

📚 Documentation & Examples

Everything you need to integrate with Shibe.Online

🚀 Quick Start Examples

Shibe.Online Javascript Examplejavascript
// Shibe.Online API Example
const response = await fetch('http://shibe.online/', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

Introducing Shibe.online API Docs

Shibe.online is a free API that provides randomized images of Shiba Inu dogs, cats, birds, and foxes.

This API provides you a simple and easy way to integrate Shiba Inu images on your projects. In this tutorial, you will learn how to fetch images using JavaScript.

Basic Usage

To use the API, you simply need to make a GET request to the following endpoint:

fetch('http://shibe.online/api/shibes?count=[count]&urls=[urls]&httpsUrls=[httpsUrls]')
  .then(response => response.json())
  .then(data => console.log(data))

In the above example, replace [count] with the number of images you would like to receive. You can specify a maximum of 100 images at a time. [urls] and [httpsUrls] are optional parameters that will define whether or not you want URLs or HTTPS URLs for the image.

Example Code

Here is an example code using JavaScript:

async function getShibes(count) {
  const url = `http://shibe.online/api/shibes?count=${count}&urls=true&httpsUrls=true`;

  const response = await fetch(url);
  const data = await response.json();

  console.log(data);
}

getShibes(4); // will return an array of 4 random Shiba Inu images

Conclusion

Integrating Shibe.online API into your projects is easy and fun. That being said, make sure you are using this API in a respectful way and not overloading their servers with too many requests.

📊 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jul 2Jul 4Jul 6Jul 8Jul 10Jul 12Jul 14Jul 16Jul 18Jul 20Jul 22Jul 24Jul 26Jul 28Jul 3104008001440Minutes
Online
Offline

Related APIs in Animals