---
updatedAt: 2026-07-07T08:28:31.000Z
agentTools:
  projectIndex: https://api-docs.aevo.xyz/llms.txt
---

# GET /account/stats

Returns the account's statistics of volume and pnl

# OpenAPI definition

```json
{
  "components": {
    "parameters": {
      "AssetQueryOptional": {
        "name": "asset",
        "in": "query",
        "description": "Name of underlying asset.",
        "required": false,
        "schema": {
          "type": "string",
          "example": "ETH"
        }
      },
      "CampaignNameQueryOptional": {
        "name": "campaign_name",
        "in": "query",
        "description": "The name of a campaign",
        "required": false,
        "schema": {
          "type": "string",
          "example": "BTC Campaign"
        }
      },
      "EndTimeQueryOptional": {
        "name": "end_time",
        "in": "query",
        "description": "Entries created after (>) end time are excluded in UNIX timestamp in nanoseconds. Defaults to current time.",
        "required": false,
        "schema": {
          "type": "integer",
          "example": 1675036800000000000
        }
      },
      "StartTimeQueryOptional": {
        "name": "start_time",
        "in": "query",
        "description": "Entries created prior (<) to start time are excluded in UNIX timestamp in nanoseconds. Defaults to `0`",
        "required": false,
        "schema": {
          "type": "integer",
          "example": 1672531200000000000
        }
      }
    },
    "schemas": {
      "error_400_response": {
        "title": "error_400_response",
        "type": "string",
        "description": "Error message. Eg. `ERR_MALFORMED_REQUEST`",
        "example": "ERR_MALFORMED_REQUEST"
      },
      "error_401_response": {
        "title": "error_401_response",
        "type": "string",
        "description": "Error message. Eg. `UNAUTHORIZED`",
        "example": "UNAUTHORIZED"
      },
      "error_429_response": {
        "title": "error_429_response",
        "type": "string",
        "description": "Error message. Eg. `RATE_LIMIT_EXCEEDED`",
        "example": "RATE_LIMIT_EXCEEDED"
      },
      "error_500_response": {
        "title": "error_500_response",
        "type": "string",
        "description": "Error message. Eg. `INTERNAL_ERROR`",
        "example": "INTERNAL_ERROR"
      },
      "options_volume_response": {
        "title": "options_volume_response",
        "type": "string",
        "description": "Options Volume in USDC terms. Eg. `12.23`",
        "example": "12.23"
      },
      "perp_volume_response": {
        "title": "perp_volume_response",
        "type": "string",
        "description": "Perpetuals Volume in USDC terms. Eg. `12.23`",
        "example": "12.23"
      },
      "pnl_response": {
        "title": "pnl_response",
        "type": "string",
        "description": "Profit and loss. Signed float string. Eg. `12.23`",
        "example": "12.23"
      },
      "ranking_response": {
        "title": "ranking_response",
        "type": "string",
        "description": "Ranking. Eg. ``",
        "example": ""
      },
      "username_response": {
        "title": "username_response",
        "type": "string",
        "description": "Account's auto-generated username based on their Ethereum address. Eg. `officially-evolved-terrier`",
        "example": "officially-evolved-terrier"
      }
    },
    "securitySchemes": {
      "api_key": {
        "in": "header",
        "name": "AEVO-KEY",
        "type": "apiKey"
      },
      "api_secret": {
        "in": "header",
        "name": "AEVO-SECRET",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "contact": {
      "email": "ken@ribbon.finance",
      "name": "Ribbon Finance",
      "url": "https://ribbon.finance"
    },
    "description": "Aevo",
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Aevo REST API",
    "version": "1.0.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/account/stats": {
      "get": {
        "summary": "GET /account/stats",
        "tags": [
          "Private API"
        ],
        "security": [
          {
            "api_key": [],
            "api_secret": []
          }
        ],
        "operationId": "GetAccountStats",
        "description": "Returns the account's statistics of volume and pnl",
        "responses": {
          "200": {
            "description": "Account statistics.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "GetAccountStats200Response",
                  "type": "object",
                  "properties": {
                    "account_statistics": {
                      "type": "object",
                      "properties": {
                        "daily": {
                          "type": "object",
                          "properties": {
                            "ranking": {
                              "$ref": "#/components/schemas/ranking_response"
                            },
                            "options_volume": {
                              "$ref": "#/components/schemas/options_volume_response"
                            },
                            "perp_volume": {
                              "$ref": "#/components/schemas/perp_volume_response"
                            },
                            "pnl": {
                              "$ref": "#/components/schemas/pnl_response"
                            },
                            "username": {
                              "$ref": "#/components/schemas/username_response"
                            }
                          },
                          "required": [
                            "ranking",
                            "options_volume",
                            "perp_volume",
                            "pnl",
                            "username"
                          ]
                        },
                        "weekly": {
                          "type": "object",
                          "properties": {
                            "ranking": {
                              "$ref": "#/components/schemas/ranking_response"
                            },
                            "options_volume": {
                              "$ref": "#/components/schemas/options_volume_response"
                            },
                            "perp_volume": {
                              "$ref": "#/components/schemas/perp_volume_response"
                            },
                            "pnl": {
                              "$ref": "#/components/schemas/pnl_response"
                            },
                            "username": {
                              "$ref": "#/components/schemas/username_response"
                            }
                          },
                          "required": [
                            "ranking",
                            "options_volume",
                            "perp_volume",
                            "pnl",
                            "username"
                          ]
                        },
                        "monthly": {
                          "type": "object",
                          "properties": {
                            "ranking": {
                              "$ref": "#/components/schemas/ranking_response"
                            },
                            "options_volume": {
                              "$ref": "#/components/schemas/options_volume_response"
                            },
                            "perp_volume": {
                              "$ref": "#/components/schemas/perp_volume_response"
                            },
                            "pnl": {
                              "$ref": "#/components/schemas/pnl_response"
                            },
                            "username": {
                              "$ref": "#/components/schemas/username_response"
                            }
                          },
                          "required": [
                            "ranking",
                            "options_volume",
                            "perp_volume",
                            "pnl",
                            "username"
                          ]
                        },
                        "all_time": {
                          "type": "object",
                          "properties": {
                            "ranking": {
                              "$ref": "#/components/schemas/ranking_response"
                            },
                            "options_volume": {
                              "$ref": "#/components/schemas/options_volume_response"
                            },
                            "perp_volume": {
                              "$ref": "#/components/schemas/perp_volume_response"
                            },
                            "pnl": {
                              "$ref": "#/components/schemas/pnl_response"
                            },
                            "username": {
                              "$ref": "#/components/schemas/username_response"
                            }
                          },
                          "required": [
                            "ranking",
                            "options_volume",
                            "perp_volume",
                            "pnl",
                            "username"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "GenericErrorResponse",
                  "type": "object",
                  "properties": {
                    "error": {
                      "$ref": "#/components/schemas/error_400_response"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "GenericErrorResponse",
                  "type": "object",
                  "properties": {
                    "error": {
                      "$ref": "#/components/schemas/error_401_response"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Rate limit exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "GenericErrorResponse",
                  "type": "object",
                  "properties": {
                    "error": {
                      "$ref": "#/components/schemas/error_429_response"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "GenericErrorResponse",
                  "type": "object",
                  "properties": {
                    "error": {
                      "$ref": "#/components/schemas/error_500_response"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/StartTimeQueryOptional"
          },
          {
            "$ref": "#/components/parameters/EndTimeQueryOptional"
          },
          {
            "$ref": "#/components/parameters/AssetQueryOptional"
          },
          {
            "$ref": "#/components/parameters/CampaignNameQueryOptional"
          }
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Aevo REST API",
      "url": "https://api.aevo.xyz"
    }
  ],
  "tags": [
    {
      "description": "Private APIs require authentication",
      "name": "Private API"
    }
  ],
  "x-stoplight": {
    "id": "gl4g3krom0lvw"
  }
}
```