This endpoint provides information about gifts.
Last updated 3 years ago
GET https://api.treefarmer.xyz/gifts
GET
https://api.treefarmer.xyz/gifts
This endpoint will provide an array of gifts by level with all their rewards.
{ "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] }, ... ] }
{ "error": true, "message": "The requested cutter could not be found with the provided query. Please check the name or ID and try again." }
search
string
Find a specific gift by its name or level (e.g. small or 1)
Authorization