---
title: "Get LP token amounts in farms by account id"
method: GET
path: "/farms/totals/{accountId}"
tags: ["Farms"]
---

# Get LP token amounts in farms by account id

`GET /farms/totals/{accountId}`

## Request

- Base URL: `https://api.saucerswap.finance`
- URL: `https://api.saucerswap.finance/farms/totals/{accountId}`
- Auth: none required
- TypeScript: <https://skmtc.dev/saucerswap/apis/saucerswap-rest-api/docs/farms/totals/:accountId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountId` string, required

## Headers

- `x-api-key` string, required

## Response `200`

Successful response

- FarmAccount[]
  - `farmId` integer, required: SaucerSwap farm id
  - `poolId` integer, required: SaucerSwap pool id
  - `accountId` string, required: Hedera account id (shard.realm.num)
  - `timestamp` number, float, required: Timestamp in unix seconds.nano
  - `staked` string, required: Staked LP amount in its smallest unit

---

[API](https://skmtc.dev/saucerswap/apis/saucerswap-rest-api.md) - [All operations](https://skmtc.dev/saucerswap/apis/saucerswap-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/saucerswap/apis/saucerswap-rest-api/revisions/6c4d55a0e793?raw)
