# GMX Arbitrum TVL Stats (DefiLlama)

> GMX Arbitrum TVL Stats (DefiLlama) is a paid API for AI agents from api.fadeandco.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns the current TVL of GMX on Arbitrum in USD plus daily historical TVL for up to 30 days, sourced from DefiLlama's public API.

## Facts

- Endpoint: GET https://api.fadeandco.workers.dev/api/dev/gmx-arbitrum-stats?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gmx-arbitrum-tvl-stats-defillama-eaf8103a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3gDPNOFNqDlD6FYhXd6bM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gmx-arbitrum-tvl-stats-defillama-eaf8103a
```

Example prompt: What's the current TVL of GMX on Arbitrum right now, and can you also pull the daily history for the last 14 days so I can see the trend?

## When to prefer this

Use this endpoint when you need DefiLlama-sourced TVL data specifically for GMX on Arbitrum, including both a current snapshot and daily historical series. Prefer this over querying DefiLlama directly when you want a pre-processed, agent-friendly JSON response with history already formatted by day. Note: this reports TVL as DefiLlama defines it, not GMX trading volume or fee data.

## Known failure modes

- DefiLlama upstream API unavailable or rate-limited, returning a proxy error
- Invalid or out-of-range 'days' parameter (outside 1-30) may return an error or default behavior
- Stale data if DefiLlama has not yet updated for the current day
- Network timeout from the Cloudflare Worker proxy

## How this service works

GMX total value locked on Arbitrum in USD from DefiLlama's public API: current value and daily history for the last 1 to 30 days. This is TVL as DefiLlama reports it, not GMX's own trading volume or fees.

## Output

A JSON object containing the protocol name (GMX), chain (Arbitrum), the current TVL in USD, a source URL pointing to DefiLlama, a checkedAt timestamp, and an array of daily historical records each with a date and tvlUsd value for the requested number of days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "days": {
       "type": "string",
       "description": "Days of history, 1 to 30 (default 7)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "Arbitrum",
  "source": "https://api.llama.fi/protocol/gmx",
  "history": [
   {
    "date": "2026-10-23",
    "tvlUsd": 204933484
   },
   {
    "date": "2026-10-22",
    "tvlUsd": 208024370
   }
  ],
  "protocol": "GMX",
  "checkedAt": "2026-10-23T09:35:27.684Z",
  "currentTvlUsd": 204933484
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gmx-arbitrum-tvl-stats-defillama-eaf8103a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fadeandco.workers.dev](https://www.zero.xyz/host/api.fadeandco.workers.dev/llms.txt)
