Dino API Documentation

Explore the endpoints available in the Dino API.

Endpoints

GET https://dino-facts.vercel.app/api/dinosaurs/class/:className

Fetches dinosaurs by class.

curl https://dino-facts.vercel.app/api/dinosaurs/class/sauropods

GET https://dino-facts.vercel.app/api/dinosaurs/family/:familyName

Fetches dinosaurs by family.

curl https://dino-facts.vercel.app/api/dinosaurs/family/tyrannosauridae

GET https://dino-facts.vercel.app/api/dinosaurs/region/:regionName

Fetches dinosaurs by region.

curl https://dino-facts.vercel.app/api/dinosaurs/region/colorado

GET https://dino-facts.vercel.app/api/dinosaurs/type/:typeName

Fetches dinosaurs by type.

curl https://dino-facts.vercel.app/api/dinosaurs/type/carnivore

GET https://dino-facts.vercel.app/api/dinosaurs/diet/:dietType

Fetches dinosaurs by diet.

curl https://dino-facts.vercel.app/api/dinosaurs/diet/herbivore

GET https://dino-facts.vercel.app/api/dinosaurs/name/:dinoName

Fetches dinosaurs by name.

curl https://dino-facts.vercel.app/api/dinosaurs/name/tyrannosaurus