Puppy API
Free, no key, works from anywhere.
Random puppy GIF
/api/random sends back the GIF itself, so you can use the link straight as an image:
<img src="https://dev.puppers.net/api/random">
<img src="/api/random">Pick a breed
Put the breed on the end: /api/random/golden
goldenlabradorcorgihuskysamoyedpomeranianberneseaussiebordercolliegsdfrenchiebeagleshibawolf
Just want the link?
Add ?json to either one:
https://dev.puppers.net/api/random/corgi?json
{
"url": "https://media.giphy.com/media/21ROqBipLAloI/giphy.gif",
"breed": "corgi",
"breedName": "Corgi",
"source": "https://giphy.com/gifs/21ROqBipLAloI"
}Everything else
| /api/breeds | Every breed, its name and how many pups it has. |
| /api/pups?page=1 | 24 pups at a time as JSON. Add &breed=golden to filter. Keep going with the next page number it gives you. |
GIFs come from GIPHY. The source field links to the original if you want to credit it.