{
  "openapi": "3.1.0",
  "info": {
    "title": "Bubblemaps Data API",
    "version": "0.3.2"
  },
  "servers": [
    {
      "url": "https://api.bubblemaps.io"
    }
  ],
  "paths": {
    "/v0/chains": {
      "get": {
        "tags": [
          "v0"
        ],
        "summary": "Get Supported Chains V0",
        "operationId": "get_supported_chains_v0_v0_chains_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ChainDetailsV0"
                  },
                  "type": "array",
                  "title": "Response Get Supported Chains V0 V0 Chains Get"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/v0/tokens/search": {
      "get": {
        "tags": [
          "v0"
        ],
        "summary": "Search Tokens",
        "operationId": "search_tokens_v0_tokens_search_get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 2,
              "title": "The query to search for",
              "examples": [
                "bubblemaps",
                "bmt",
                "FQgtfugBdpFN7PZ6NdPrZpVLDBrPGxXesi4gVu3vErhY"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TokenDetailsV0"
                  },
                  "title": "Response Search Tokens V0 Tokens Search Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v0/tokens/metadata/{chain}/{token_address}": {
      "get": {
        "tags": [
          "v0"
        ],
        "summary": "Get Token Metadata",
        "operationId": "get_token_metadata_v0_tokens_metadata__chain___token_address__get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "chain",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ChainIdV0"
            }
          },
          {
            "name": "token_address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Token Address"
            }
          },
          {
            "name": "return_token_stats",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "title": "Include token stats (aggregates) in the response.",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenDetailsWithStatsV0"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v0/tokens/metadata": {
      "post": {
        "tags": [
          "v0"
        ],
        "summary": "Get Tokens Metadata",
        "operationId": "get_tokens_metadata_v0_tokens_metadata_post",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "return_token_stats",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "title": "Include token stats (aggregates) in the response.",
              "default": false
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TokenKey"
                },
                "maxItems": 1000,
                "examples": [
                  [
                    {
                      "chain": "eth",
                      "address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"
                    },
                    {
                      "chain": "base",
                      "address": "0x940181a94a35a4569e4529a3cdfb74e38fd98631"
                    }
                  ]
                ],
                "title": "Tokens Keys"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TokenDetailsWithStatsV0"
                  },
                  "title": "Response Get Tokens Metadata V0 Tokens Metadata Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v0/tokens/holders/{chain}/{token_address}": {
      "get": {
        "tags": [
          "v0"
        ],
        "summary": "Get Token Holders",
        "operationId": "get_token_holders_v0_tokens_holders__chain___token_address__get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "chain",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ChainIdV0"
            }
          },
          {
            "name": "token_address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Token Address"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/HoldersLimit",
              "default": 80
            }
          },
          {
            "name": "timestamp",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "ge": 0,
              "title": "The unix timestamp in seconds."
            }
          },
          {
            "name": "refresh",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "title": "If true, bypass cache and force a refresh to latest data.",
              "default": false
            }
          },
          {
            "name": "return_metadata",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "title": "If true, include address metadata in the response.",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TokenHolderV0"
                  },
                  "title": "Response Get Token Holders V0 Tokens Holders  Chain   Token Address  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v0/tokens/map/{chain}/{token_address}": {
      "get": {
        "tags": [
          "v0"
        ],
        "summary": "Get Token Map",
        "operationId": "get_token_map_v0_tokens_map__chain___token_address__get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "chain",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ChainIdV0"
            }
          },
          {
            "name": "token_address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Token Address"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/HoldersLimit",
              "default": 80
            }
          },
          {
            "name": "timestamp",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "ge": 0,
              "title": "Timestamp"
            }
          },
          {
            "name": "refresh",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "title": "If true, bypass cache and force a refresh to latest data.",
              "default": false
            }
          },
          {
            "name": "use_magic_nodes",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "title": "If true, use magic nodes in map computation and include them in the response.",
              "default": true
            }
          },
          {
            "name": "use_time_nodes",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "title": "If true, compute time nodes (temporal groupings of transfers through CEX/DEX/whitelisted contracts) and include them in the cluster computation.",
              "default": true
            }
          },
          {
            "name": "return_nodes",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Return Nodes"
            }
          },
          {
            "name": "return_relationships",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Return Relationships"
            }
          },
          {
            "name": "return_clusters",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Return Clusters"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MapDataV0"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v0/tokens/metrics/{chain}/{token_address}": {
      "get": {
        "tags": [
          "v0"
        ],
        "summary": "Get Token Metrics",
        "operationId": "get_token_metrics_v0_tokens_metrics__chain___token_address__get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "chain",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ChainIdV0"
            }
          },
          {
            "name": "token_address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Token Address"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MapMetricsV0"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v0/tokens/screenshot/{chain}/{token_address}": {
      "get": {
        "tags": [
          "v0"
        ],
        "summary": "Get Token Screenshot",
        "operationId": "get_token_screenshot_v0_tokens_screenshot__chain___token_address__get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "chain",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ChainIdV0"
            }
          },
          {
            "name": "token_address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Token Address"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScreenshotV0"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v0/addresses/metadata/{address}": {
      "get": {
        "tags": [
          "v0"
        ],
        "summary": "Get Address Metadata",
        "operationId": "get_address_metadata_v0_addresses_metadata__address__get",
        "security": [
          {
            "APIKeyHeader": []
          }
        ],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Address"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressMetadataV0"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v0/addresses/metadata": {
      "post": {
        "tags": [
          "v0"
        ],
        "summary": "Get Addresses Metadata Batch",
        "operationId": "get_addresses_metadata_batch_v0_addresses_metadata_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddressMetadataBatchRequestV0"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AddressMetadataV0"
                  },
                  "type": "array",
                  "title": "Response Get Addresses Metadata Batch V0 Addresses Metadata Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    },
    "/v0/relationships/subgraph": {
      "post": {
        "tags": [
          "v0"
        ],
        "summary": "Get Subgraph Relationships",
        "operationId": "get_subgraph_relationships_v0_relationships_subgraph_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubgraphRequestV0",
                "examples": [
                  {
                    "addresses": [
                      "0xb93b36f305464761abdbd01d7731d4ba496fb6fb",
                      "0x55fc36e37ee5c04df5803a9a48b9134b26dd167c"
                    ],
                    "context_token_key": {
                      "chain": "eth",
                      "address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GroupedTransferV0"
                  },
                  "type": "array",
                  "title": "Response Get Subgraph Relationships V0 Relationships Subgraph Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AccountAddressDetails": {
        "properties": {
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "degree": {
            "type": "integer",
            "title": "Degree"
          },
          "is_supernode": {
            "type": "boolean",
            "title": "Is Supernode"
          },
          "is_contract": {
            "type": "boolean",
            "title": "Is Contract"
          },
          "is_cex": {
            "type": "boolean",
            "title": "Is Cex"
          },
          "is_dex": {
            "type": "boolean",
            "title": "Is Dex"
          },
          "is_paid_label": {
            "type": "boolean",
            "title": "Is Paid Label",
            "default": false
          },
          "entity_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Id"
          },
          "inward_relations": {
            "type": "integer",
            "title": "Inward Relations"
          },
          "outward_relations": {
            "type": "integer",
            "title": "Outward Relations"
          },
          "first_activity_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Activity Date"
          }
        },
        "type": "object",
        "required": [
          "degree",
          "is_supernode",
          "is_contract",
          "is_cex",
          "is_dex",
          "inward_relations",
          "outward_relations"
        ],
        "title": "AccountAddressDetails"
      },
      "AccountAddressWithDetailsWithMapContextV0": {
        "properties": {
          "address": {
            "type": "string",
            "title": "Address"
          },
          "address_details": {
            "$ref": "#/components/schemas/AccountAddressDetails"
          },
          "is_shown_on_map": {
            "type": "boolean",
            "title": "Is Shown On Map"
          }
        },
        "type": "object",
        "required": [
          "address",
          "address_details",
          "is_shown_on_map"
        ],
        "title": "AccountAddressWithDetailsWithMapContextV0"
      },
      "AccountAddressWithHolderDataWithMapContextV0": {
        "properties": {
          "address": {
            "type": "string",
            "title": "Address"
          },
          "address_details": {
            "$ref": "#/components/schemas/AccountAddressDetails"
          },
          "holder_data": {
            "$ref": "#/components/schemas/HolderData"
          },
          "is_shown_on_map": {
            "type": "boolean",
            "title": "Is Shown On Map"
          }
        },
        "type": "object",
        "required": [
          "address",
          "address_details",
          "holder_data",
          "is_shown_on_map"
        ],
        "title": "AccountAddressWithHolderDataWithMapContextV0"
      },
      "AddressMetadataBatchRequestV0": {
        "properties": {
          "addresses": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 2500,
            "minItems": 1,
            "title": "Addresses"
          }
        },
        "type": "object",
        "required": [
          "addresses"
        ],
        "title": "AddressMetadataBatchRequestV0"
      },
      "AddressMetadataV0": {
        "properties": {
          "address": {
            "type": "string",
            "title": "Address"
          },
          "address_details": {
            "$ref": "#/components/schemas/AccountAddressDetails"
          }
        },
        "type": "object",
        "required": [
          "address",
          "address_details"
        ],
        "title": "AddressMetadataV0"
      },
      "ChainDetailsV0": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ChainIdV0"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "dexscreener_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dexscreener Id"
          },
          "coingecko_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Coingecko Id"
          }
        },
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "title": "ChainDetailsV0"
      },
      "ChainIdV0": {
        "type": "string",
        "enum": [
          "eth",
          "base",
          "solana",
          "tron",
          "bsc",
          "sonic",
          "ton",
          "avalanche",
          "polygon",
          "monad",
          "hyperevm",
          "arbitrum",
          "robinhood",
          "arc"
        ],
        "title": "ChainIdV0"
      },
      "ClusterDataV0": {
        "properties": {
          "share": {
            "type": "number",
            "title": "Share"
          },
          "amount": {
            "type": "number",
            "title": "Amount"
          },
          "holder_count": {
            "type": "integer",
            "title": "Holder Count"
          },
          "holders": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Holders"
          },
          "magic_node_count": {
            "type": "integer",
            "title": "Magic Node Count"
          },
          "magic_nodes": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Magic Nodes"
          },
          "time_node_count": {
            "type": "integer",
            "title": "Time Node Count"
          },
          "time_nodes": {
            "items": {
              "$ref": "#/components/schemas/ClusterTimeNodeV0"
            },
            "type": "array",
            "title": "Time Nodes"
          }
        },
        "type": "object",
        "required": [
          "share",
          "amount",
          "holder_count",
          "holders",
          "magic_node_count",
          "magic_nodes",
          "time_node_count",
          "time_nodes"
        ],
        "title": "ClusterDataV0"
      },
      "ClusterTimeNodeV0": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id"
          },
          "address": {
            "type": "string",
            "title": "Address"
          }
        },
        "type": "object",
        "required": [
          "id",
          "address"
        ],
        "title": "ClusterTimeNodeV0"
      },
      "GroupedTransferDataV0": {
        "properties": {
          "total_value": {
            "type": "number",
            "title": "Total Value"
          },
          "total_transfers": {
            "type": "integer",
            "title": "Total Transfers"
          },
          "first_date": {
            "type": "integer",
            "title": "First Date"
          },
          "last_date": {
            "type": "integer",
            "title": "Last Date"
          },
          "token_key": {
            "$ref": "#/components/schemas/TokenKey"
          }
        },
        "type": "object",
        "required": [
          "total_value",
          "total_transfers",
          "first_date",
          "last_date",
          "token_key"
        ],
        "title": "GroupedTransferDataV0"
      },
      "GroupedTransferV0": {
        "properties": {
          "from_address": {
            "type": "string",
            "title": "From Address"
          },
          "to_address": {
            "type": "string",
            "title": "To Address"
          },
          "rel_type": {
            "type": "string",
            "const": "GROUPED_TRANSFER",
            "title": "Rel Type",
            "default": "GROUPED_TRANSFER"
          },
          "data": {
            "$ref": "#/components/schemas/GroupedTransferDataV0"
          }
        },
        "type": "object",
        "required": [
          "from_address",
          "to_address",
          "data"
        ],
        "title": "GroupedTransferV0"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "HolderData": {
        "properties": {
          "amount": {
            "type": "number",
            "title": "Amount"
          },
          "rank": {
            "type": "integer",
            "title": "Rank"
          },
          "share": {
            "type": "number",
            "title": "Share"
          }
        },
        "type": "object",
        "required": [
          "amount",
          "rank",
          "share"
        ],
        "title": "HolderData"
      },
      "HoldersLimit": {
        "type": "integer",
        "enum": [
          80,
          250,
          500
        ],
        "title": "HoldersLimit"
      },
      "MapDataV0": {
        "properties": {
          "metadata": {
            "$ref": "#/components/schemas/MapMetadataV0"
          },
          "metrics": {
            "$ref": "#/components/schemas/MapMetricsV0"
          },
          "nodes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NodesDataV0"
              },
              {
                "type": "null"
              }
            ]
          },
          "relationships": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/GroupedTransferV0"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Relationships"
          },
          "clusters": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ClusterDataV0"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clusters"
          }
        },
        "type": "object",
        "required": [
          "metadata",
          "metrics"
        ],
        "title": "MapDataV0"
      },
      "MapMetadataV0": {
        "properties": {
          "dt_update": {
            "type": "string",
            "title": "Dt Update"
          },
          "ts_update": {
            "type": "integer",
            "title": "Ts Update"
          }
        },
        "type": "object",
        "required": [
          "dt_update",
          "ts_update"
        ],
        "title": "MapMetadataV0"
      },
      "MapMetricsV0": {
        "properties": {
          "supply_stats": {
            "$ref": "#/components/schemas/SupplyStatsV0"
          },
          "scores": {
            "$ref": "#/components/schemas/MapScoresV0"
          }
        },
        "type": "object",
        "required": [
          "supply_stats",
          "scores"
        ],
        "title": "MapMetricsV0"
      },
      "MapScoresV0": {
        "properties": {
          "bubblemaps_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bubblemaps Score"
          },
          "gini_index": {
            "type": "number",
            "title": "Gini Index"
          },
          "herfindahl_hirschman_index": {
            "type": "number",
            "title": "Herfindahl Hirschman Index"
          },
          "nakamoto_coefficient": {
            "type": "integer",
            "title": "Nakamoto Coefficient"
          }
        },
        "type": "object",
        "required": [
          "gini_index",
          "herfindahl_hirschman_index",
          "nakamoto_coefficient"
        ],
        "title": "MapScoresV0"
      },
      "NodesDataV0": {
        "properties": {
          "top_holders": {
            "items": {
              "$ref": "#/components/schemas/AccountAddressWithHolderDataWithMapContextV0"
            },
            "type": "array",
            "title": "Top Holders"
          },
          "magic_nodes": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AccountAddressWithDetailsWithMapContextV0"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Magic Nodes"
          },
          "time_nodes": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TimeNodeV0"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Nodes"
          }
        },
        "type": "object",
        "required": [
          "top_holders"
        ],
        "title": "NodesDataV0"
      },
      "ScreenshotV0": {
        "properties": {
          "image_url": {
            "type": "string",
            "title": "Image Url"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "title": "Updated At"
          }
        },
        "type": "object",
        "required": [
          "image_url",
          "updated_at"
        ],
        "title": "ScreenshotV0"
      },
      "SubgraphRequestV0": {
        "properties": {
          "addresses": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 1000,
            "minItems": 2,
            "title": "Addresses"
          },
          "context_token_key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenKey"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "addresses"
        ],
        "title": "SubgraphRequestV0"
      },
      "SupplyStatsV0": {
        "properties": {
          "cexs": {
            "type": "number",
            "title": "Cexs"
          },
          "dexs": {
            "type": "number",
            "title": "Dexs"
          },
          "contracts": {
            "type": "number",
            "title": "Contracts"
          },
          "fresh_wallets": {
            "type": "number",
            "title": "Fresh Wallets"
          },
          "top_10_adjusted": {
            "type": "number",
            "title": "Top 10 Adjusted"
          },
          "bundles": {
            "type": "number",
            "title": "Bundles"
          }
        },
        "type": "object",
        "required": [
          "cexs",
          "dexs",
          "contracts",
          "fresh_wallets",
          "top_10_adjusted",
          "bundles"
        ],
        "title": "SupplyStatsV0"
      },
      "TimeNodeV0": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id"
          },
          "address": {
            "type": "string",
            "title": "Address"
          },
          "relationships": {
            "items": {
              "$ref": "#/components/schemas/GroupedTransferV0"
            },
            "type": "array",
            "title": "Relationships"
          }
        },
        "type": "object",
        "required": [
          "id",
          "address",
          "relationships"
        ],
        "title": "TimeNodeV0"
      },
      "TokenAggregates": {
        "properties": {
          "transfers_count": {
            "type": "integer",
            "title": "Transfers Count"
          },
          "min_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Date"
          },
          "max_date": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Date"
          }
        },
        "type": "object",
        "required": [
          "transfers_count"
        ],
        "title": "TokenAggregates"
      },
      "TokenDetailsV0": {
        "properties": {
          "token_key": {
            "$ref": "#/components/schemas/TokenKey"
          },
          "metadata": {
            "$ref": "#/components/schemas/TokenMetadata"
          }
        },
        "type": "object",
        "required": [
          "token_key",
          "metadata"
        ],
        "title": "TokenDetailsV0"
      },
      "TokenDetailsWithStatsV0": {
        "properties": {
          "token_key": {
            "$ref": "#/components/schemas/TokenKey"
          },
          "metadata": {
            "$ref": "#/components/schemas/TokenMetadata"
          },
          "stats": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenAggregates"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "token_key",
          "metadata"
        ],
        "title": "TokenDetailsWithStatsV0"
      },
      "TokenHolderV0": {
        "properties": {
          "address": {
            "type": "string",
            "title": "Address"
          },
          "address_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountAddressDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "holder_data": {
            "$ref": "#/components/schemas/HolderData"
          }
        },
        "type": "object",
        "required": [
          "address",
          "holder_data"
        ],
        "title": "TokenHolderV0"
      },
      "TokenKey": {
        "properties": {
          "chain": {
            "$ref": "#/components/schemas/ChainIdV0"
          },
          "address": {
            "type": "string",
            "title": "Address"
          }
        },
        "type": "object",
        "required": [
          "chain",
          "address"
        ],
        "title": "TokenKey"
      },
      "TokenMetadata": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "symbol": {
            "type": "string",
            "title": "Symbol"
          },
          "is_indexed": {
            "type": "boolean",
            "title": "Is Indexed"
          },
          "img_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Img Url"
          }
        },
        "type": "object",
        "required": [
          "name",
          "symbol",
          "is_indexed"
        ],
        "title": "TokenMetadata"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "APIKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-ApiKey"
      }
    }
  }
}