> For the complete documentation index, see [llms.txt](https://docs.tokensfarm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tokensfarm.com/for-developers/integrate-tokensfarm/requesting-farm-data.md).

# Requesting Farm Data

## API Calls for all Farms

## Get all farms list

<mark style="color:blue;">`GET`</mark> `https://api.tokensfarm.com/farm/list`

#### Path Parameters

| Name       | Type    | Description                                                                                                |
| ---------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| active     | boolean | get only active/ended farms                                                                                |
| sort       | String  | <p>sort=apy -order by apy</p><p>sort=newest - order by date</p><p>sort=days\_left - order by days left</p> |
| page       | Integer | get data by page number                                                                                    |
| farm\_type | String  | <p>farm\_type=LP,STAKING<br>will return all the lp and staking farms</p><p></p>                            |
| token      | String  | <p>the symbol of the specific token<br>for example: token=PORTX</p>                                        |
| 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  | <p>the chain we want to look for farms at.</p><p>input options: ethereum/binance/polygon</p>               |

{% tabs %}
{% tab title="200 Farms info successfully fetched" %}

```javascript
{
  "farms": [
    {
      "farmLiquidity": 3632131.2221367313,
      "endTime": "2022-05-14T00:40:51+00:00",
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/copi/3s/2/banner.jpg",
      "active": true,
      "vestingType": null,
      "vestingDistributionPeriod": null,
      "farmLiquidityMax": 4890477.9825967625,
      "network": {
        "chainName": "binance",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "networkId": 56,
        "id": 3,
        "etherscanLink": "https://bscscan.com",
        "factoryGitTag": "master-v0.1.0",
        "networkName": "bsc-mainnet",
        "rpcUrl": "https://bsc-dataseed.binance.org"
      },
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/copi/3s/2/share_image.jpg",
      "symbol": "COPI",
      "vestingPortion": null,
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/copi/3s/2/logo.jpg",
      "id": 70,
      "nonce": "2",
      "startTime": "2022-02-10T16:57:23+00:00",
      "apy": 7.035855449421467,
      "websiteLink": "https://cornucopias.io",
      "projectName": "Cornucopias",
      "type": "STAKING"
    },
    {
      "farmLiquidity": 517847.4872704626,
      "endTime": "2022-02-27T04:15:29+00:00",
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/xcad/lp/1/banner.png",
      "active": false,
      "vestingType": null,
      "vestingDistributionPeriod": null,
      "farmLiquidityMax": 2502115.9966024337,
      "network": {
        "chainName": "binance",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "networkId": 56,
        "id": 3,
        "etherscanLink": "https://bscscan.com",
        "factoryGitTag": "master-v0.1.0",
        "networkName": "bsc-mainnet",
        "rpcUrl": "https://bsc-dataseed.binance.org"
      },
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/xcad/lp/1/share-image.png",
      "symbol": "XCAD",
      "vestingPortion": null,
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/xcad/lp/1/logo.svg",
      "id": 22,
      "nonce": "3",
      "startTime": "2021-11-18T14:30:09.229000+00:00",
      "apy": 1935.6152852425087,
      "websiteLink": "https://www.xcademytoken.com",
      "projectName": "XCAD",
      "type": "LP"
    },...
  ],
  "pages": {
    "previous_page": null,
    "next_page": 2,
    "has_previous": false,
    "has_next": true,
    "total_records": 72,
    "page_size": 2,
    "current_page": 1,
    "total_pages": 36
  }
}
```

{% endtab %}
{% endtabs %}

## Get active farms list

<mark style="color:blue;">`GET`</mark> `https://api.tokensfarm.com/farm/list?active=true`

#### Path Parameters

| Name       | Type    | Description                                                                                                |
| ---------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| active     | boolean | get only active/ended farms                                                                                |
| sort       | String  | <p>sort=apy -order by apy</p><p>sort=newest - order by date</p><p>sort=days\_left - order by days left</p> |
| page       | Integer | get data by page number                                                                                    |
| farm\_type | String  | <p>farm\_type=LP,STAKING<br>will return all the lp and staking farms</p><p></p>                            |
| token      | String  | <p>the symbol of the specific token<br>for example: token=PORTX</p>                                        |
| 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  | <p>the chain we want to look for farms at.</p><p>input options: ethereum/binance/polygon</p>               |

{% tabs %}
{% tab title="200 Farms info successfully fetched" %}

```javascript
{
  "farms": [
    {
      "apy": 7.035855449421467,
      "vestingPortion": null,
      "nonce": "2",
      "projectName": "Cornucopias",
      "vestingDistributionPeriod": null,
      "farmLiquidityMax": 4890477.9825967625,
      "active": true,
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/copi/3s/2/banner.jpg",
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/copi/3s/2/logo.jpg",
      "type": "STAKING",
      "network": {
        "networkName": "bsc-mainnet",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "id": 3,
        "etherscanLink": "https://bscscan.com",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "networkId": 56,
        "factoryGitTag": "master-v0.1.0",
        "chainName": "binance"
      },
      "websiteLink": "https://cornucopias.io",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/copi/3s/2/share_image.jpg",
      "symbol": "COPI",
      "vestingType": null,
      "endTime": "2022-05-14T00:40:51+00:00",
      "id": 70,
      "farmLiquidity": 3647074.898692922,
      "startTime": "2022-02-10T16:57:23+00:00"
    },
    {
      "apy": 71.67932357394619,
      "vestingPortion": null,
      "nonce": "1",
      "projectName": "MetaSoccer",
      "vestingDistributionPeriod": null,
      "farmLiquidityMax": 1531297.5523132244,
      "active": true,
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/msu/3s/1/banner.png",
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/msu/3s/1/logo.png",
      "type": "STAKING",
      "network": {
        "networkName": "polygon-mainnet",
        "rpcUrl": "https://polygon-mainnet.infura.io/v3/d00f5394ffca4ef29cfc68fc9a90bf74",
        "factoryProxyAddress": "0x512BeF80308e0F0a813dE68c96Eb702B80A3da10",
        "chainId": "137",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "id": 2,
        "etherscanLink": "https://polygonscan.com",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "networkId": 137,
        "factoryGitTag": "master-v0.1.0",
        "chainName": "polygon"
      },
      "websiteLink": "https://metasoccer.com/",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/msu/3s/1/share_image.png",
      "symbol": "MSU",
      "vestingType": null,
      "endTime": "2022-05-26T12:51:51+00:00",
      "id": 93,
      "farmLiquidity": 1426898.8603975407,
      "startTime": "2022-02-25T12:51:51+00:00"
    },
    {
      "apy": 29.307391884348444,
      "vestingPortion": null,
      "nonce": "1",
      "projectName": "Numbers Protocol",
      "vestingDistributionPeriod": null,
      "farmLiquidityMax": 1577975.845589999,
      "active": true,
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/num/3s/1/banner.png",
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/num/3s/1/logo.svg",
      "type": "STAKING",
      "network": {
        "networkName": "bsc-mainnet",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "id": 3,
        "etherscanLink": "https://bscscan.com",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "networkId": 56,
        "factoryGitTag": "master-v0.1.0",
        "chainName": "binance"
      },
      "websiteLink": "https://www.numbersprotocol.io/",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/num/3s/1/share_image.png",
      "symbol": "NUM",
      "vestingType": null,
      "endTime": "2022-04-27T13:46:24+00:00",
      "id": 66,
      "farmLiquidity": 1093587.325891931,
      "startTime": "2022-01-27T13:46:24+00:00"
    },
    {
      "apy": 142.43427124848634,
      "vestingPortion": null,
      "nonce": "2",
      "projectName": "Numbers Protocol",
      "vestingDistributionPeriod": null,
      "farmLiquidityMax": 592798.1643238494,
      "active": true,
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/banner.png",
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/logo.svg",
      "type": "LP",
      "network": {
        "networkName": "bsc-mainnet",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "id": 3,
        "etherscanLink": "https://bscscan.com",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "networkId": 56,
        "factoryGitTag": "master-v0.1.0",
        "chainName": "binance"
      },
      "websiteLink": "https://www.numbersprotocol.io",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/share_image.png",
      "symbol": "NUM",
      "vestingType": null,
      "endTime": "2022-04-24T18:10:10+00:00",
      "id": 61,
      "farmLiquidity": 434706.96319200913,
      "startTime": "2022-01-21T08:49:52+00:00"
    },
    {
      "apy": 122.84533141105479,
      "vestingPortion": null,
      "nonce": "4",
      "projectName": "Opulous",
      "vestingDistributionPeriod": null,
      "farmLiquidityMax": 448838.96708728105,
      "active": true,
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/opul/lp/4/banner.png",
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/opul/lp/4/logo.svg",
      "type": "LP",
      "network": {
        "networkName": "mainnet",
        "rpcUrl": "https://mainnet.infura.io/v3/d00f5394ffca4ef29cfc68fc9a90bf74",
        "factoryProxyAddress": "0xddac0912E0c3Be0B8C8f201cf33C9EeB2f8B1497",
        "chainId": "1",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "id": 1,
        "etherscanLink": "https://etherscan.io",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "networkId": 1,
        "factoryGitTag": "master-v0.1.0",
        "chainName": "ethereum"
      },
      "websiteLink": "https://www.opulous.org",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/opul/lp/4/share_image.png",
      "symbol": "OPUL",
      "vestingType": null,
      "endTime": "2022-06-05T09:30:39+00:00",
      "id": 91,
      "farmLiquidity": 423522.1924849945,
      "startTime": "2022-02-25T09:01:03+00:00"
    },
    {
      "apy": 27.74445408047816,
      "vestingPortion": null,
      "nonce": "2",
      "projectName": "Brokoli Network",
      "vestingDistributionPeriod": null,
      "farmLiquidityMax": 459443.96936112584,
      "active": true,
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/brkl/3s/2/banner.png",
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/brkl/3s/2/logo.png",
      "type": "STAKING",
      "network": {
        "networkName": "bsc-mainnet",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "id": 3,
        "etherscanLink": "https://bscscan.com",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "networkId": 56,
        "factoryGitTag": "master-v0.1.0",
        "chainName": "binance"
      },
      "websiteLink": "https://brokoli.network",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/brkl/3s/2/share_image.jpeg",
      "symbol": "BRKL",
      "vestingType": null,
      "endTime": "2022-05-05T14:14:01+00:00",
      "id": 64,
      "farmLiquidity": 374253.291275867,
      "startTime": "2022-01-25T14:14:01+00:00"
    },...
  ],
  "pages": null
}
```

{% endtab %}
{% endtabs %}

### Other Useful Examples

## Active LP Farms (Only)

<mark style="color:blue;">`GET`</mark> `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

#### Path Parameters

| Name       | Type    | Description                                                                                                |
| ---------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| active     | boolean | get only active/ended farms                                                                                |
| sort       | String  | <p>sort=apy -order by apy</p><p>sort=newest - order by date</p><p>sort=days\_left - order by days left</p> |
| page       | Integer | get data by page number                                                                                    |
| farm\_type | String  | <p>farm\_type=LP,STAKING<br>will return all the lp and staking farms</p><p></p>                            |
| token      | String  | <p>the symbol of the specific token<br>for example: token=PORTX</p>                                        |
| 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  | <p>the chain we want to look for farms at.</p><p>input options: ethereum/binance/polygon</p>               |

{% tabs %}
{% tab title="200 Farms info successfully fetched" %}

```javascript
{
  "farms": [
    {
      "startTime": "2022-01-21T08:49:52+00:00",
      "active": true,
      "symbol": "NUM",
      "endTime": "2022-04-24T18:10:10+00:00",
      "projectName": "Numbers Protocol",
      "vestingDistributionPeriod": null,
      "apy": 137.6832558404504,
      "vestingType": null,
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/logo.svg",
      "id": 61,
      "farmLiquidity": 421913.18798642384,
      "websiteLink": "https://www.numbersprotocol.io",
      "network": {
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "networkId": 56,
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "factoryGitTag": "master-v0.1.0",
        "etherscanLink": "https://bscscan.com",
        "chainName": "binance",
        "networkName": "bsc-mainnet",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "id": 3
      },
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/banner.png",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/share_image.png",
      "farmLiquidityMax": 592798.1643238494,
      "type": "LP",
      "vestingPortion": null,
      "nonce": "2"
    },
    {
      "startTime": "2022-01-06T09:16:01+00:00",
      "active": true,
      "symbol": "ENV",
      "endTime": "2022-05-06T09:16:00+00:00",
      "projectName": "ENVOY",
      "vestingDistributionPeriod": null,
      "apy": 300.4611692358352,
      "vestingType": null,
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/logo.png",
      "id": 59,
      "farmLiquidity": 16282.831608913908,
      "websiteLink": "https://envoy.art",
      "network": {
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "networkId": 56,
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "factoryGitTag": "master-v0.1.0",
        "etherscanLink": "https://bscscan.com",
        "chainName": "binance",
        "networkName": "bsc-mainnet",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "id": 3
      },
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/banner.png",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/share_image.png",
      "farmLiquidityMax": 337763.32145191595,
      "type": "LP",
      "vestingPortion": null,
      "nonce": "2"
    }
  ],
  "pages": null
}
```

{% endtab %}
{% endtabs %}

## Get active LP and Staking Farms that are deployed on the Binance Chain

<mark style="color:blue;">`GET`</mark> `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

#### Path Parameters

| Name       | Type    | Description                                                                                                                                |
| ---------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| active     | boolean | get only active/ended farms                                                                                                                |
| sort       | String  | <p>sort=apy -order by apy</p><p>sort=newest - order by date</p><p>sort=days\_left - order by days left</p>                                 |
| page       | Integer | get data by page number                                                                                                                    |
| farm\_type | String  | <p>farm\_type=LP,STAKING<br>will return all the lp and staking farms</p><p></p>                                                            |
| token      | String  | <p>the symbol of the specific token<br>for example: token=PORTX</p>                                                                        |
| 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  | <p>the chain we want to look for farms at.</p><p>the chain we want to look for farms at.</p><p>input options: ethereum/binance/polygon</p> |

{% tabs %}
{% tab title="200 Farms info successfully fetched" %}

```javascript
{
  "farms": [
    {
      "startTime": "2022-01-21T08:49:52+00:00",
      "active": true,
      "symbol": "NUM",
      "endTime": "2022-04-24T18:10:10+00:00",
      "projectName": "Numbers Protocol",
      "vestingDistributionPeriod": null,
      "apy": 137.6832558404504,
      "vestingType": null,
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/logo.svg",
      "id": 61,
      "farmLiquidity": 421913.18798642384,
      "websiteLink": "https://www.numbersprotocol.io",
      "network": {
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "networkId": 56,
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "factoryGitTag": "master-v0.1.0",
        "etherscanLink": "https://bscscan.com",
        "chainName": "binance",
        "networkName": "bsc-mainnet",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "id": 3
      },
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/banner.png",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/share_image.png",
      "farmLiquidityMax": 592798.1643238494,
      "type": "LP",
      "vestingPortion": null,
      "nonce": "2"
    },
    {
      "startTime": "2022-01-06T09:16:01+00:00",
      "active": true,
      "symbol": "ENV",
      "endTime": "2022-05-06T09:16:00+00:00",
      "projectName": "ENVOY",
      "vestingDistributionPeriod": null,
      "apy": 300.4611692358352,
      "vestingType": null,
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/logo.png",
      "id": 59,
      "farmLiquidity": 16282.831608913908,
      "websiteLink": "https://envoy.art",
      "network": {
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "networkId": 56,
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "factoryGitTag": "master-v0.1.0",
        "etherscanLink": "https://bscscan.com",
        "chainName": "binance",
        "networkName": "bsc-mainnet",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "id": 3
      },
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/banner.png",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/share_image.png",
      "farmLiquidityMax": 337763.32145191595,
      "type": "LP",
      "vestingPortion": null,
      "nonce": "2"
    }
  ],
  "pages": null
}
```

{% endtab %}
{% endtabs %}

## Get farms whose reward tokens are DCD

<mark style="color:blue;">`GET`</mark> `https://api.tokensfarm.com/farm/list?token=DCD`

Filtered farms by the reward token address

#### Path Parameters

| Name       | Type    | Description                                                                                                |
| ---------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| active     | boolean | get only active/ended farms                                                                                |
| sort       | String  | <p>sort=apy -order by apy</p><p>sort=newest - order by date</p><p>sort=days\_left - order by days left</p> |
| page       | Integer | get data by page number                                                                                    |
| farm\_type | String  | <p>farm\_type=LP,STAKING<br>will return all the lp and staking farms</p><p></p>                            |
| token      | String  | <p>the symbol of the specific token<br>for example: token=PORTX</p>                                        |
| 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  | <p>the chain we want to look for farms at.</p><p>input options: ethereum/binance/polygon</p>               |

{% tabs %}
{% tab title="200 Farms info successfully fetched" %}

```javascript
{
  "farms": [
    {
      "startTime": "2022-01-21T08:49:52+00:00",
      "active": true,
      "symbol": "NUM",
      "endTime": "2022-04-24T18:10:10+00:00",
      "projectName": "Numbers Protocol",
      "vestingDistributionPeriod": null,
      "apy": 137.6832558404504,
      "vestingType": null,
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/logo.svg",
      "id": 61,
      "farmLiquidity": 421913.18798642384,
      "websiteLink": "https://www.numbersprotocol.io",
      "network": {
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "networkId": 56,
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "factoryGitTag": "master-v0.1.0",
        "etherscanLink": "https://bscscan.com",
        "chainName": "binance",
        "networkName": "bsc-mainnet",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "id": 3
      },
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/banner.png",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/num/lp/2/share_image.png",
      "farmLiquidityMax": 592798.1643238494,
      "type": "LP",
      "vestingPortion": null,
      "nonce": "2"
    },
    {
      "startTime": "2022-01-06T09:16:01+00:00",
      "active": true,
      "symbol": "ENV",
      "endTime": "2022-05-06T09:16:00+00:00",
      "projectName": "ENVOY",
      "vestingDistributionPeriod": null,
      "apy": 300.4611692358352,
      "vestingType": null,
      "logo": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/logo.png",
      "id": 59,
      "farmLiquidity": 16282.831608913908,
      "websiteLink": "https://envoy.art",
      "network": {
        "factoryProxyAddress": "0x827ca5Bfe9b0c90F69A4abCe446F3bcD00D93AbB",
        "networkId": 56,
        "chainId": "56",
        "factoryUpdatedAt": "2022-01-16T12:00:00+00:00",
        "factoryGitTag": "master-v0.1.0",
        "etherscanLink": "https://bscscan.com",
        "chainName": "binance",
        "networkName": "bsc-mainnet",
        "factoryUpdatedGitTag": "2022-01-16T12:00:00+00:00",
        "rpcUrl": "https://bsc-dataseed.binance.org",
        "id": 3
      },
      "banner": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/banner.png",
      "shareImage": "https://s3.amazonaws.com/static.tokensfarm.com/env/lp/2/share_image.png",
      "farmLiquidityMax": 337763.32145191595,
      "type": "LP",
      "vestingPortion": null,
      "nonce": "2"
    }
  ],
  "pages": null
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tokensfarm.com/for-developers/integrate-tokensfarm/requesting-farm-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
