earn

Get Positions

Get yield positions and history.

get/v1/earn/positions

Request

  • Base URL
    https://api.fereai.xyz
  • URL
    https://api.fereai.xyz/v1/earn/positions
  • Auth
    none declared

Response

Successful Response

Example response

{
  "history": [],
  "positions": [
    {
      "agent_id": "agent_abc123",
      "amount_deposited_usdc": 1000,
      "current_apy": 8.5,
      "current_value_usdc": 1025,
      "id": "pos-abc123",
      "status": "active",
      "unrealized_yield_usdc": 25,
      "vault_chain_name": "base"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.