Vehicles

This endpoint provides information about vehicles.

Vehicle Information

GET https://api.treefarmer.xyz/vehicles

Query Parameters

NameTypeDescription

search

string

Find a specific vehicle by its name or level (e.g. wagon or 5)

Headers

NameTypeDescription

Authorization

string

Your Tree Farmer API token

{
  "error": false,
  "message": "The requested vehicle data successfully found.",
  "data": [
    {
      "capacity": 16,
      "cooldown": 60,
      "cost": 389,
      "level": 1,
      "name": "Wagon"
    },
    {
      "capacity": 56,
      "cooldown": 69,
      "cost": 1750,
      "level": 2,
      "name": "Cargo Bike"
    },
     
    ...
     
  ]
}

Last updated