AdoptNearby Publishing API, version 1
AdoptNearby (https://www.adoptnearby.org) is a free, ad-free 501(c)(3) nonprofit (EIN 43-2442874) that lists adoptable animals from shelters and rescues in all 50 states. Every animal page names the shelter, links to its own page for that animal, and sends adopters straight to the shelter. We take no applications, charge nothing, and collect nothing from adopters on a shelter's behalf.
This API lets shelter software send a shelter's adoptable animals to AdoptNearby, the same way it already sends them to other adoption sites. One request sends the shelter's whole current list.
Getting a key
Each shelter gets its own key from us after it tells us in writing that it wants to be listed. A new key starts working within about a minute of being issued. Keys look like ab12cd34.Xk3... (shelter id, a dot, then the secret). A test key is available for software developers: write to support@adoptnearby.org. Animals sent with a test key are stored and can be read back, but are never shown on the site.
Send the list
PUT https://www.adoptnearby.org/api/publish/v1/animals
Authorization: Bearer <key>
Content-Type: application/json
{"animals": [ {...}, {...} ]}- Send every animal currently available for adoption, each time. An animal missing from the latest list is treated as no longer available and leaves the site at our next build.
- Sending an empty list (
{"animals": []}) removes all of the shelter's animals. - Up to 2,000 animals and 5 MB per request. Once a day is enough; more often is fine.
- Sending only when something has changed is fine. If we receive nothing from a shelter for 30 days, its animals are hidden until it sends again, so the site never shows a long-abandoned list.
Animal fields
| Field | Required | Notes |
|---|---|---|
id | yes | The shelter's own id for the animal, as text or a number, up to 64 characters (for example 1234 or D/2026/007). Unique within the list. |
name | yes | Up to 60 characters. |
species | yes | Your own species name is fine (Dog, Guinea Pig, Ferret, Chicken, Bearded Dragon...). We group common names into dogs, cats, rabbits, birds, reptiles, small animals and horses/farm animals; any name we don't recognize is listed under "other", never refused. |
photos | no | Up to 10 public https:// image URLs, best first. We show the images from these addresses; we do not edit them. An animal with no photo is still listed, with a note inviting adopters to ask the shelter for one. |
breed | no | Free text, e.g. Beagle / Mixed. |
age | no | Free text, e.g. Adult or 2 years. |
sex | no | Male or Female, any capitalization. Anything else (e.g. Unknown) is left blank. |
size | no | Free text, e.g. Small, Medium, Large. |
description | no | Plain text, up to 8,000 characters. |
url | no | https:// link to the shelter's own page for this animal. If absent we link the shelter's website. |
city, state | no | Where the animal is, if not at the shelter's address. state is the two-letter code. |
listedDate, updatedDate | no | YYYY-MM-DD; a longer date-time such as 2026-11-01T00:00:00 is fine, we keep the date. |
goodWithKids, goodWithDogs, goodWithCats | no | true or false (or "yes" / "no"). Leave the field out when the shelter doesn't know. Shown on the animal's page; true also puts the animal in our "good with kids / dogs / cats" filters. |
housetrained, specialNeeds, altered | no | true or false, same rules. altered means spayed or neutered. housetrained: true puts the animal in our house-trained filter. |
shotsCurrent, declawed | no | true when it applies; we only show these when true. |
adoptionFee | no | e.g. 75, "75.00" or "$75". Leave out (or send 0) when no fee is set. |
coat | no | Free text, e.g. Short, Long. |
ageText | no | Age in words, e.g. 2 years 3 months, shown next to age. |
Unknown fields are ignored. http:// links are dropped. HTML in description is turned into plain text.
POST is accepted the same as PUT.
Response
{"received": "2026-11-25T14:00:00.000Z", "accepted": 41, "rejected": [{"index": 7, "id": "A12", "reason": "name missing"}]}Rejected animals are left out; the rest of the list is still accepted.
| Status | Meaning |
|---|---|
| 200 | List stored (see rejected for any animals left out). |
| 400 | Body is not {"animals": [...]}. |
| 401 | Key unknown, wrong, or switched off. |
| 405 | Method other than PUT, POST or GET. |
| 413 | Over 2,000 animals or 5 MB. |
Read it back
GET https://www.adoptnearby.org/api/publish/v1/animals
Authorization: Bearer <key>Returns what we currently hold for that shelter: {"shelter": "...", "received": "...", "animals": [...]}.
Stopping
A shelter can stop at any time: stop sending, send an empty list, or write to support@adoptnearby.org and we switch the key off the same day.