---
title: "GET /crescent/amm/v1beta1/farming_plans"
method: GET
path: "/crescent/amm/v1beta1/farming_plans"
tags: ["Query"]
---

# GET /crescent/amm/v1beta1/farming_plans

`GET /crescent/amm/v1beta1/farming_plans`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/docs/crescent/amm/v1beta1/farming_plans/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `is_private` string
- `is_terminated` string
- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object
  - `farming_plans` object[]
    - `id` string, uint64
    - `description` string
    - `farming_pool_address` string
    - `termination_address` string
    - `reward_allocations` object[]
      - `pool_id` string, uint64
      - `rewards_per_day` object[]
        - `denom` string
        - `amount` string
    - `start_time` string, date-time
    - `end_time` string, date-time
    - `is_private` boolean
    - `is_terminated` boolean
  - `pagination` object: PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
    - `next_key` string, byte
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response

## Changes

- **2023-09-11** `d023b2138c57`: 1 info
  - endpoint added
- **2023-09-11** `65d4119fbf62`: 1 breaking
  - api path removed without deprecation
- **2023-06-22** `445be7f5fce0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/changes/crescent/amm/v1beta1/farming_plans/get.md)

---

[API](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/revisions/ddf5133cea9d?raw)
