Animal API

Simple REST API for random animal images. Perfect for StreamElements and Twitch integration.

Available Animal Types

Loading available animals...

How to Use

API Endpoint

/api/animal?type=ANIMAL_TYPE

Replace ANIMAL_TYPE with: elephants, cats, dogs, etc.

StreamElements Command

${customapi./api/animal?type=elephants}

Try It Out

Quick Examples

JavaScript

fetch('/api/animal?type=cats')
  .then(response => response.text())
  .then(imageUrl => {
    document.getElementById('img').src = imageUrl;
  });

cURL

curl "/api/animal?type=dogs"