Deribit · Schema

Publictokenresponse

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Properties

Name Type Description
jsonrpc string The JSON-RPC version (2.0)
id integer The id that was sent in the request
result object
View JSON Schema on GitHub

JSON Schema

PublicTokenResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/PublicTokenResponse.json",
  "title": "Publictokenresponse",
  "properties": {
    "jsonrpc": {
      "type": "string",
      "enum": [
        "2.0"
      ],
      "description": "The JSON-RPC version (2.0)"
    },
    "id": {
      "type": "integer",
      "description": "The id that was sent in the request"
    },
    "result": {
      "type": "object",
      "properties": {
        "access_token": {
          "type": "string",
          "example": "843SehgeX5n6XxEU4XbABx4Cny5Akai5iHiJePTsvUw7"
        },
        "token_type": {
          "type": "string",
          "enum": [
            "bearer"
          ],
          "description": "Authorization type, allowed value - `bearer`"
        },
        "expires_in": {
          "type": "integer",
          "example": 315360000,
          "description": "Token lifetime in seconds"
        },
        "refresh_token": {
          "type": "string",
          "example": "6faf8L36JdaSqsjCEEiwqifPpj6JB18RWwiWHrsGTZ91",
          "description": "Can be used to request a new token (with a new lifetime)"
        },
        "scope": {
          "type": "string",
          "description": "Type of the access for assigned token"
        },
        "sid": {
          "type": "string",
          "description": "Optional Session id"
        }
      },
      "required": [
        "access_token",
        "token_type",
        "expires_in",
        "refresh_token",
        "scope"
      ]
    }
  },
  "required": [
    "jsonrpc",
    "result"
  ],
  "type": "object"
}

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/PublicTokenResponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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