G
GlobalEventBase
Guides

Getting Started

Start building with GlobalEventBase API in minutes.

GlobalEventBase API provides a simple interface to access global event data. Whether you're building a dashboard, a calendar app, or an analytical tool, our API gives you the data you need.

Prerequisites

You can access the API using any HTTP client. We'll use curl in the examples below, but you can use fetch, axios, or any other library in your preferred language.

Base URL

All API requests should be made to:

https://globaleventbase.com/api

Make Your First Request

Let's fetch the latest events happening in the United States. Open your terminal and run:

curl "https://globaleventbase.com/api/events?country=US"

Analyze the Response

You will receive a JSON response containing a list of events. Here's a simplified structure of what you can expect:

{
  "page": 1,
  "size": 20,
  "total": 150,
  "items": [
    {
      "id": 123,
      "ts": "2023-10-27T10:00:00Z",
      "raw_payload": {
        "title": "Tech Conference 2023",
        "location": "San Francisco, CA"
        // ... more details
      }
    }
    // ... more items
  ]
}

Next Steps

Now that you've made your first request, explore more advanced features:

Check out the Event API for detailed endpoint documentation.

On this page