Dino Park API — free mock REST API for testing

A fictional dinosaur park: creatures, enclosure capacity, and a breach simulator. Practice CRUD, Bearer auth, nested resources, capacity conflicts (409), pagination and optimistic concurrency.

The Dino Park API runs a park: dinosaurs, the enclosures holding them, and an incident log for when those two facts stop agreeing. Enclosures have capacity and species compatibility rules, so writes are validated against the current state rather than accepted blindly — which makes it a good target for testing business-rule failures rather than schema failures.

Base URL: https://funapi.dev/api/dinopark/v1 · 9 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.

Example request and response

GET https://funapi.dev/api/dinopark/v1/dinosaurs — List dinosaurs (paginated, filter by diet). No token, no signup:

curl -i https://funapi.dev/api/dinopark/v1/dinosaurs

answers 200 OK with:

{
  "page": 1,
  "pageSize": 4,
  "total": 7,
  "totalPages": 2,
  "data": [
    {
      "id": 1,
      "name": "Rexy",
      "species": "Tyrannosaurus rex",
      "diet": "carnivore",
      "enclosureId": 1,
      "dangerLevel": "extreme",
      "_v": 1
    },
    {
      "id": 2,
      "name": "Blue",
      "species": "Velociraptor",
      "diet": "carnivore",
      "enclosureId": 1,
      "dangerLevel": "high",
      "_v": 1
    },
    {
      "id": 3,
      "name": "Big Eatie",
      "species": "Brachiosaurus",
      "diet": "herbivore",
      "enclosureId": 2,
      "dangerLevel": "low",
      "_v": 1
    },
    {
      "id": 4,
      "name": "Bumpy",
      "species": "Ankylosaurus",
      "diet": "herbivore",
      "enclosureId": 2,
      "dangerLevel": "low",
      "_v": 1
    }
  ]
}

Open and run this endpoint

What you can practise here

dinosaurs

seven residents, one very hungry rex

enclosures

capacity matters

incidents

breach reports, growing list

All 39 mock REST APIs

Use this response elsewhere

Last updated