pigi.finance · Schema

PeriodStats

Aggregated risk/return stats for a single time window.

DeFiVaultAnalyticsFinance

Properties

Name Type Description
tvl_low numbernull
tvl_high numbernull
apr numbernull
apy numbernull
inflows numbernull Net TVL change over the window (last day − first day): positive = net inflow, negative = net outflow. TVL-based, so it also reflects yield earned over the window, not just deposits/withdrawals.
period_start stringnull
period_end stringnull
cagr numbernull Compound annual growth rate (%) over the window.
volatility numbernull Return volatility over the window.
sharpe numbernull Sharpe ratio over the window.
sortino numbernull Sortino ratio over the window.
View JSON Schema on GitHub

JSON Schema

pigi-finance-period-stats-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pigi-finance/json-schema/pigi-finance-period-stats-schema.json",
  "title": "PeriodStats",
  "description": "Aggregated risk/return stats for a single time window.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pigi-finance-openapi.yml#/components/schemas/PeriodStats",
  "type": "object",
  "properties": {
    "tvl_low": {
      "type": [
        "number",
        "null"
      ]
    },
    "tvl_high": {
      "type": [
        "number",
        "null"
      ]
    },
    "apr": {
      "type": [
        "number",
        "null"
      ]
    },
    "apy": {
      "type": [
        "number",
        "null"
      ]
    },
    "inflows": {
      "type": [
        "number",
        "null"
      ],
      "description": "Net TVL change over the window (last day − first day): positive = net inflow, negative = net outflow. TVL-based, so it also reflects yield earned over the window, not just deposits/withdrawals."
    },
    "period_start": {
      "type": [
        "string",
        "null"
      ]
    },
    "period_end": {
      "type": [
        "string",
        "null"
      ]
    },
    "cagr": {
      "type": [
        "number",
        "null"
      ],
      "description": "Compound annual growth rate (%) over the window."
    },
    "volatility": {
      "type": [
        "number",
        "null"
      ],
      "description": "Return volatility over the window."
    },
    "sharpe": {
      "type": [
        "number",
        "null"
      ],
      "description": "Sharpe ratio over the window."
    },
    "sortino": {
      "type": [
        "number",
        "null"
      ],
      "description": "Sortino ratio over the window."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pigi-finance-period-stats"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.