Trees

This endpoint provides information about trees.

Tree Information

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

This endpoint will provide an array of trees by level with their name, planting region, fun fact, growth time, log count, log value, sapling cost and upgrade cost.

Query Parameters

NameTypeDescription

search

string

Find a specific tree by its name or level (e.g. American Arborvitae or 5)

Headers

NameTypeDescription

Authorization

string

Your Tree Farmer API token

{
  "error": false,
  "message": "The requested tree data successfully found.",
  "data": [
    {
      "name": "African Juniper",
      "funfact": "It is the only juniper to occur south of the equator.",
      "plantingRegion": "Africa",
      "level": 1,
      "growthTime": 60,
      "logCount": 119,
      "logValue": 6,
      "saplingCost": 69,
      "upgradeCost": 0
    },
    {
      "name": "American Arborvitae",
      "funfact": "The specific name, 'Occidentalis', means 'west,' the direction from Sweden where this tree was discovered.",
      "plantingRegion": "North America",
      "level": 2,
      "growthTime": 61,
      "logCount": 124,
      "logValue": 8,
      "saplingCost": 79,
      "upgradeCost": 11500
    },
    
    ...
    
  ]
}

Last updated