{
  "openapi": "3.1.0",
  "info": {
    "title": "Perp Desk funding rate API",
    "version": "1.0.0",
    "description": "Perpetual futures funding rates, fees and depth across Bitget, Bybit, MEXC and OKX, read from each exchange's public endpoints and rebuilt daily. No key, no account, no rate limit.",
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    },
    "contact": {
      "url": "https://perpdesk.net/api/"
    }
  },
  "servers": [
    {
      "url": "https://perpdesk.net"
    }
  ],
  "paths": {
    "/api/v1/funding.json": {
      "get": {
        "summary": "Funding rates per contract, per venue",
        "description": "Every contract quoted on two or more venues, with each venue's rate normalised to eight hours, its own settlement interval, and 24h volume.",
        "responses": {
          "200": {
            "description": "The current reading",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/v1/venues.json": {
      "get": {
        "summary": "Standard-tier fees and live depth per venue",
        "responses": {
          "200": {
            "description": "The current reading",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/api/v1/index.json": {
      "get": {
        "summary": "Machine-readable index of the endpoints",
        "responses": {
          "200": {
            "description": "The endpoint list",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  }
}
