Gifts

This endpoint provides information about gifts.

Gift Information

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

This endpoint will provide an array of gifts by level with all their rewards.

Query Parameters

Name
Type
Description

search

string

Find a specific gift by its name or level (e.g. small or 1)

Headers

Name
Type
Description

Authorization

string

{
  "error": false,
  "message": "The requested gift data was successfully found.",
  "data": [
    {
      "level": 1,
      "name": "small",
      "money": [100, 200],
      "logs": [7, 16],
      "saplings": [1, 2],
      "cutters": [0, 1],
      "plots": [0, 1],
      "vehicles": [0, 1]
    }, 
    {
      "level": 1,
      "name": "medium",
      "money": [300, 600],
      "logs": [15, 24],
      "saplings": [2, 4],
      "cutters": [1, 2],
      "plots": [1, 2],
      "vehicles": [1, 2]
    },
    
    ...
    
  ]
}

Last updated