---
search:
  tags:
    - Market
    - GET
seo:
  description: >-
    Answers the pool's daily fees and… Reference for the GET
    /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/analytics
    endpoint in the INVICTUS API.
sidebar:
  label: Daily fees and volume.
  badge: GET
title: Daily fees and volume.
type: openapi-operation
---
Answers the pool's daily fees and volume; a day without a value has measured status unavailable with a reason.

`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/analytics`

**Responses**

- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.

Response example, 200:

```json
{
  "windowDays": 1,
  "feeAprPercent": {
    "status": "exact",
    "value": "1234.56",
    "observedAt": 1793145600
  },
  "volumeToTvl": {
    "status": "exact",
    "value": "1234.56",
    "observedAt": 1793145600
  },
  "feesUsd": [
    {
      "day": 1793145600,
      "value": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    }
  ],
  "volumeUsd": [
    {
      "day": 1793145600,
      "value": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    }
  ],
  "asOf": 1793145600
}
```
