Animals · head-to-head
AdoptAPet vs RandomDuck
AdoptAPet's free Pet List API lets a registered shelter or rescue pull its own current adoptable-pet listings — name, photo, breed, and a link back to the pet's page — for display on its own website; it doesn't cover other shelters' animals or expose network-wide search. Access needs a per-shelter API key passed as a key query parameter to endpoints like api.adoptapet.com/search/pets_at_shelter, confirmed live by a real GET that returns a JSON invalid_key error rather than a redirect or outage, with a separate OPTIONS preflight and that same GET both echoing access-control-allow-origin: * back for a test Origin header. The official documentation page now sits behind a shelter-account login (a live probe returns 401 with a Basic-auth challenge, a change from when it was openly readable), but the API endpoint itself remains fully live and free, returning JSON or XML depending on the output parameter.
Random-d.uk's /random endpoint returns a JSON object linking to a random duck photo or GIF, with a type query parameter to request JPG or GIF specifically. A companion /randomimg endpoint serves the image file directly instead of the JSON wrapper, and the service also accepts community-submitted duck photos.
| AdoptAPet | RandomDuck | |
|---|---|---|
| Authentication | API Key | None |
| Pricing | free | free |
| Formats | JSON, XML | JSON, JPEG, GIF |
| CORS | yes | no |
| HTTPS | Yes | Yes |
RandomDuck needs no API key, while AdoptAPet requires API Key — pick RandomDuck to start without signup.