---
updatedAt: 2026-09-27T12:25:14.000Z
agentTools:
  projectIndex: https://api-docs.aevo.xyz/llms.txt
---

# GET /builder/stats

Return aggregate fill statistics for the authenticated builder.

# OpenAPI definition

```json
{
  "components": {
    "parameters": {
      "PeriodQuery": {
        "name": "period",
        "in": "query",
        "description": "Builder stats period.",
        "required": true,
        "schema": {
          "type": "string",
          "example": "24h",
          "enum": [
            "24h",
            "7d",
            "30d"
          ]
        }
      }
    },
    "schemas": {
      "builder_id_response": {
        "title": "builder_id_response",
        "type": "string",
        "description": "Builder ID. Eg. `builder_0123456789abcdef`",
        "example": "builder_0123456789abcdef"
      },
      "builder_name_response": {
        "title": "builder_name_response",
        "type": "string",
        "description": "Builder display name. Eg. `Example Builder`",
        "example": "Example Builder"
      },
      "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"
      },
      "fee_account_response": {
        "title": "fee_account_response",
        "type": "string",
        "description": "Builder fee account. Eg. `0xE9b3a48d15BE316A8e34FAd53fFDFDddf0C3D24b`",
        "example": "0xE9b3a48d15BE316A8e34FAd53fFDFDddf0C3D24b"
      },
      "fees_response": {
        "title": "fees_response",
        "type": "string",
        "description": "Fees paid for the trade. Eg. `12.23`",
        "example": "12.23"
      },
      "fills_response": {
        "title": "fills_response",
        "type": "string",
        "description": "Number of builder fills. Eg. `12`",
        "example": "12"
      },
      "instrument_response": {
        "title": "instrument_response",
        "type": "string",
        "description": "Instrument name. Eg. `ETH-PERP`",
        "example": "ETH-PERP"
      },
      "period_response": {
        "title": "period_response",
        "type": "string",
        "description": "Builder stats period. Eg. `24h`",
        "enum": [
          "24h",
          "7d",
          "30d"
        ]
      },
      "status_response": {
        "title": "status_response",
        "type": "string",
        "description": "Builder status. Eg. `ACTIVE`",
        "enum": [
          "ACTIVE",
          "SUSPENDED",
          "DISABLED"
        ]
      },
      "timestamp_response": {
        "title": "timestamp_response",
        "type": "string",
        "description": "Timestamp in UNIX in nanoseconds. Eg. `1680249600000000000`",
        "example": "1680249600000000000"
      },
      "unique_traders_response": {
        "title": "unique_traders_response",
        "type": "string",
        "description": "Number of unique trader accounts. Eg. `10`",
        "example": "10"
      },
      "volume_response": {
        "title": "volume_response",
        "type": "string",
        "description": "Volume in USDC terms. Eg. `12.23`",
        "example": "12.23"
      }
    },
    "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": {
    "/builder/stats": {
      "get": {
        "summary": "GET /builder/stats",
        "tags": [
          "Private API"
        ],
        "security": [
          {
            "api_key": [],
            "api_secret": []
          }
        ],
        "operationId": "GetBuilderStats",
        "description": "Return aggregate fill statistics for the authenticated builder.",
        "responses": {
          "200": {
            "description": "Builder fill statistics.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "GetBuilderStats200Response",
                  "type": "object",
                  "properties": {
                    "builder_id": {
                      "$ref": "#/components/schemas/builder_id_response"
                    },
                    "builder_name": {
                      "$ref": "#/components/schemas/builder_name_response"
                    },
                    "fee_account": {
                      "$ref": "#/components/schemas/fee_account_response"
                    },
                    "status": {
                      "$ref": "#/components/schemas/status_response"
                    },
                    "period": {
                      "$ref": "#/components/schemas/period_response"
                    },
                    "volume": {
                      "$ref": "#/components/schemas/volume_response"
                    },
                    "fees": {
                      "$ref": "#/components/schemas/fees_response"
                    },
                    "unique_traders": {
                      "$ref": "#/components/schemas/unique_traders_response"
                    },
                    "fills": {
                      "$ref": "#/components/schemas/fills_response"
                    },
                    "markets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "instrument": {
                            "$ref": "#/components/schemas/instrument_response"
                          },
                          "volume": {
                            "$ref": "#/components/schemas/volume_response"
                          },
                          "fees": {
                            "$ref": "#/components/schemas/fees_response"
                          },
                          "fills": {
                            "$ref": "#/components/schemas/fills_response"
                          }
                        },
                        "required": [
                          "instrument",
                          "volume",
                          "fees",
                          "fills"
                        ]
                      }
                    },
                    "series": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "timestamp": {
                            "$ref": "#/components/schemas/timestamp_response"
                          },
                          "volume": {
                            "$ref": "#/components/schemas/volume_response"
                          },
                          "fees": {
                            "$ref": "#/components/schemas/fees_response"
                          }
                        },
                        "required": [
                          "timestamp",
                          "volume",
                          "fees"
                        ]
                      }
                    }
                  },
                  "required": [
                    "builder_id",
                    "builder_name",
                    "fee_account",
                    "status",
                    "period",
                    "volume",
                    "fees",
                    "unique_traders",
                    "fills"
                  ]
                }
              }
            }
          },
          "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/PeriodQuery"
          }
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Aevo REST API",
      "url": "https://api.aevo.xyz"
    }
  ],
  "tags": [
    {
      "description": "Private APIs require authentication",
      "name": "Private API"
    }
  ],
  "x-stoplight": {
    "id": "gl4g3krom0lvw"
  }
}
```