Requesting Farm Data
The Farm List is a list of objects that contain relevant data regarding all farms that exist in the TokensFarm ecosystem
Last updated
The Farm List is a list of objects that contain relevant data regarding all farms that exist in the TokensFarm ecosystem
Last updated
GET
https://api.tokensfarm.com/farm/list
Name | Type | Description |
---|---|---|
GET
https://api.tokensfarm.com/farm/list?active=true
GET
https://api.tokensfarm.com/farm/list?active=true&farm_type=LP
Filtered farms by: farm status = active ,farm type = LP
For only staking farms just use: farm_type=STAKING
GET
https://api.tokensfarm.com/farm/list?active=true&farm_type=LP,STAKING&chain=binance
Filtered farms by: farm status = active, farm type = LP or STAKING, deployed chain = BNB chain
GET
https://api.tokensfarm.com/farm/list?token=DCD
Filtered farms by the reward token address
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
active
boolean
get only active/ended farms
sort
String
sort=apy -order by apy
sort=newest - order by date
sort=days_left - order by days left
page
Integer
get data by page number
farm_type
String
farm_type=LP,STAKING will return all the lp and staking farms
token
String
the symbol of the specific token for example: token=PORTX
page_size
Integer
the amount of farm objects in a page
full
boolean
if "true" will return a larger farm object with more data
view
String
example: tile
chain
String
the chain we want to look for farms at.
input options: ethereum/binance/polygon
active
boolean
get only active/ended farms
sort
String
sort=apy -order by apy
sort=newest - order by date
sort=days_left - order by days left
page
Integer
get data by page number
farm_type
String
farm_type=LP,STAKING will return all the lp and staking farms
token
String
the symbol of the specific token for example: token=PORTX
page_size
Integer
the amount of farm objects in a page
full
boolean
if "true" will return a larger farm object with more data
view
String
example: tile
chain
String
the chain we want to look for farms at.
input options: ethereum/binance/polygon
active
boolean
get only active/ended farms
sort
String
sort=apy -order by apy
sort=newest - order by date
sort=days_left - order by days left
page
Integer
get data by page number
farm_type
String
farm_type=LP,STAKING will return all the lp and staking farms
token
String
the symbol of the specific token for example: token=PORTX
page_size
Integer
the amount of farm objects in a page
full
boolean
if "true" will return a larger farm object with more data
view
String
example: tile
chain
String
the chain we want to look for farms at.
input options: ethereum/binance/polygon
active
boolean
get only active/ended farms
sort
String
sort=apy -order by apy
sort=newest - order by date
sort=days_left - order by days left
page
Integer
get data by page number
farm_type
String
farm_type=LP,STAKING will return all the lp and staking farms
token
String
the symbol of the specific token for example: token=PORTX
page_size
Integer
the amount of farm objects in a page
full
boolean
if "true" will return a larger farm object with more data
view
String
example: tile
chain
String
the chain we want to look for farms at.
the chain we want to look for farms at.
input options: ethereum/binance/polygon
active
boolean
get only active/ended farms
sort
String
sort=apy -order by apy
sort=newest - order by date
sort=days_left - order by days left
page
Integer
get data by page number
farm_type
String
farm_type=LP,STAKING will return all the lp and staking farms
token
String
the symbol of the specific token for example: token=PORTX
page_size
Integer
the amount of farm objects in a page
full
boolean
if "true" will return a larger farm object with more data
view
String
example: tile
chain
String
the chain we want to look for farms at.
input options: ethereum/binance/polygon