Getting Started

This guide will help you set up and make your first API request.

1. Base URL

All API requests should be made to:

https://api.dicetickets.com/v1

2. Authentication

To interact with the API, you need an API key.

  • Sign up at DiceTickets
  • Go to the API Keys section.
  • Generate and copy your API key.

Include the API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

3. Making Your First Request

Here’s an example request to fetch available events:

curl -X GET "https://api.dicetickets.com/v1/events" 
-H "Authorization: Bearer YOUR_API_KEY" 
-H "Content-Type: application/json"

4. Response Example

{
  "events": [
    "id": "12345",
    "name": "Music Festival 2025",
    "date": "2025-08-15",
    "location": "Los Angeles, CA"
  }]
}

5. Next Steps