Tree Farmer
DiscordInviteGitHub
API
API
  • Welcome
  • Endpoints
    • Cutters
    • Gifts
    • Plots
    • Storages
    • Trees
    • Vehicles
  • Other
    • Community Server
    • GitHub
    • Status
Powered by GitBook
On this page

Was this helpful?

  1. Endpoints

Plots

This endpoint provides information about plots.

Plot Information

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

This endpoint will provide an array of plots by level with their cost and growth speed.

Query Parameters

Name
Type
Description

search

string

Find a specific plot by its level (e.g. 5)

Headers

Name
Type
Description

Authorization

string

Your Tree Farmer API token

{
  "error": false,
  "message": "The requested plot data successfully found.",
  "data": [
    {
      "cost": 479,
      "level": 1,
      "growthSpeed": 100
    },
    {
      "cost": 1197,
      "level": 2,
      "growthSpeed": 102
    },
        
    ...
      
  ]
}
{
  "error": true,
  "message": "The requested plot could not be found with the provided query. Please check the name or ID and try again."
}
PreviousGiftsNextStorages

Last updated 3 years ago

Was this helpful?