GET
/
v1
/
deposits
curl --request GET \
  --url https://earn.turtle.vision/v1/deposits
{
  "deposits": [
    {
      "id": "<string>",
      "distributor_id": "<string>",
      "product_id": "<string>",
      "tx_hash": "<string>",
      "from": "<string>",
      "chain": 123,
      "token_address": "<string>",
      "token": {
        "address": "<string>",
        "name": "<string>",
        "symbol": "<string>",
        "logos": [
          "<string>"
        ],
        "decimals": 123,
        "chain": 123,
        "price": 123
      },
      "amount": "<string>",
      "value": "<string>",
      "target": "<string>",
      "timestamp": "<string>"
    }
  ],
  "stats": {
    "total_count": 123,
    "total_value": "<string>",
    "distributor_count": {},
    "distributor_value": {},
    "referral_count": {},
    "referral_value": {}
  }
}

Query Parameters

distributor_id
string

The ID of the distributor to filter deposits by.

referral_code
string

The ID of the referral to filter deposits by.

product_id
string

Optional product ID (UUID) to filter deposits for a specific product.

token
string

Optional token address to filter deposits by a specific token.

target
string

Optional target address (e.g., vault) to filter deposits.

min_timestamp
integer

Optional minimum timestamp (Unix milliseconds) to filter deposits.

max_timestamp
integer

Optional maximum timestamp (Unix milliseconds) to filter deposits.

limit
integer

Optional limit for the number of deposits to return (default: 100, max: 2000).

offset
integer

Optional offset for paginating through deposits.

Response

200 - application/json; charset=utf-8

Represents a paginated list of deposits with aggregated statistics.