---
updatedAt: 2026-10-31T08:03:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Get Ticketing Sales Details

This API is used to get ticket sales data between passed dates.

Path parameters 
eventUrl

Response
Details / Check response object

Authentication required - ✅

Role wise accessibility 
Super Admin - ✅
Admin - ✅
Staff - ❌
Attendee - ❌
Exhibitor - ❌
Speaker - ❌

Modules
Display - ❌
Portal - ❌
Host - ✅

Here is the description of response attributes, which returns in the form of a JSON array.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attribute
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        **saleDate** 
      </td>

      <td style={{ textAlign: "left" }}>
        Timestamp of ticketing sale.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **numberOfTicketSold** 
      </td>

      <td style={{ textAlign: "left" }}>
        Number of tickets sold for the day.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **totalSale** 
      </td>

      <td style={{ textAlign: "left" }}>
        The total amount of tickets sold for the day.
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/host/event/{eventUrl}/getTicketingSalesGraphDetails": {
      "get": {
        "summary": "Get Ticketing Sales Details",
        "description": "This API is used to get ticket sales data between passed dates.\n\nPath parameters \neventUrl\n\nResponse\nDetails / Check response object\n\nAuthentication required - ✅\n\nRole wise accessibility \nSuper Admin - ✅\nAdmin - ✅\nStaff - ❌\nAttendee - ❌\nExhibitor - ❌\nSpeaker - ❌\n\nModules\nDisplay - ❌\nPortal - ❌\nHost - ✅",
        "operationId": "get-ticketing-sales-details",
        "parameters": [
          {
            "name": "eventUrl",
            "in": "path",
            "required": true,
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "Specify start date if you want to get ticketing sales details from some date.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "Specify end date if you want to get ticketing sales details till some date.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "dataType",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "TICKET",
                "ADDON"
              ],
              "default": "TICKET"
            }
          },
          {
            "name": "recurringEventId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "eventUrl",
            "in": "query",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n  {\n    \"saleDate\": 1639699200000,\n    \"numberOfTicketSold\": 1,\n    \"totalSale\": 0\n  }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "saleDate": {
                        "type": "integer",
                        "example": 1639699200000,
                        "default": 0
                      },
                      "numberOfTicketSold": {
                        "type": "integer",
                        "example": 1,
                        "default": 0
                      },
                      "totalSale": {
                        "type": "integer",
                        "example": 0,
                        "default": 0
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"errorMessage\": \"Not authorized\",\n  \"errorCode\": \"4010101\",\n  \"developerMessage\": \"Not authorize to access\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorMessage": {
                      "type": "string",
                      "example": "Not authorized"
                    },
                    "errorCode": {
                      "type": "string",
                      "example": "4010101"
                    },
                    "developerMessage": {
                      "type": "string",
                      "example": "Not authorize to access"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"errorMessage\": \"Not Event Host\",\n  \"errorCode\": \"4060001\",\n  \"developerMessage\": \"Not Event Host\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorMessage": {
                      "type": "string",
                      "example": "Not Event Host"
                    },
                    "errorCode": {
                      "type": "string",
                      "example": "4060001"
                    },
                    "developerMessage": {
                      "type": "string",
                      "example": "Not Event Host"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```