Fish

Get fish data in JSON format.

Get all fish

GET https://api.dinkumapi.com/v0/fish

Gets all fish. Supports filtering by name, time, seasons and habitat.

Query params

nameSearch fish that contains a term in its name.
timeThe time of day the fish appear in.
seasonsThe seasons of the year the fish appear in.
habitatsThe habitats the fish appear in.

Get fish by id

Path params

idThe id of the fish.

Get all fish

GET https://api.dinkumapi.com/v0/fish

      
        [
  {
    "id": 1,
    "name": "Anchovy",
    "description": "So small.",
    "habitats": [
      "Southern Ocean"
    ],
    "availability": {
      "time": [
        "Morning",
        "Night"
      ],
      "seasons": [
        "Autumn",
        "Winter"
      ]
    },
    "sell_price": 4500,
    "image_url": "https://api.dinkumapi.com/images/fish/anchovy.png"
  },
  {},
  {}
]
      
    

Get fish by id

GET https://api.dinkumapi.com/v0/fish/{id}

      
        {
  "id": 7,
  "name": "Black & White Snapper",
  "description": "Snap.",
  "habitats": [
    "Northern Ocean",
    "Southern Ocean"
  ],
  "availability": {
    "time": [
      "Morning",
      "Day",
      "Night"
    ],
    "seasons": [
      "Spring",
      "Autumn"
    ]
  },
  "sell_price": 1992,
  "image_url": "https://api.dinkumapi.com/images/fish/black-and-white-snapper.png"
}