Home › For shelters › Publishing API

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": [ {...}, {...} ]}

Animal fields

FieldRequiredNotes
idyesThe 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.
nameyesUp to 60 characters.
speciesyesYour 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.
photosnoUp 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.
breednoFree text, e.g. Beagle / Mixed.
agenoFree text, e.g. Adult or 2 years.
sexnoMale or Female, any capitalization. Anything else (e.g. Unknown) is left blank.
sizenoFree text, e.g. Small, Medium, Large.
descriptionnoPlain text, up to 8,000 characters.
urlnohttps:// link to the shelter's own page for this animal. If absent we link the shelter's website.
city, statenoWhere the animal is, if not at the shelter's address. state is the two-letter code.
listedDate, updatedDatenoYYYY-MM-DD; a longer date-time such as 2026-11-01T00:00:00 is fine, we keep the date.
goodWithKids, goodWithDogs, goodWithCatsnotrue 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, alterednotrue or false, same rules. altered means spayed or neutered. housetrained: true puts the animal in our house-trained filter.
shotsCurrent, declawednotrue when it applies; we only show these when true.
adoptionFeenoe.g. 75, "75.00" or "$75". Leave out (or send 0) when no fee is set.
coatnoFree text, e.g. Short, Long.
ageTextnoAge 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.

StatusMeaning
200List stored (see rejected for any animals left out).
400Body is not {"animals": [...]}.
401Key unknown, wrong, or switched off.
405Method other than PUT, POST or GET.
413Over 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.

Contact

support@adoptnearby.org

Back to top