Skip to main content

Overview

GDELT Cloud supports multiple authentication methods depending on your use case:
MethodUse CaseWhere
Session AuthWeb dashboard, interactive useBrowser
API KeysProgrammatic access, automationREST API, MCP Server

Session Authentication

Session authentication is used when accessing GDELT Cloud through the web dashboard.

How It Works

1

Login

Navigate to gdeltcloud.com/auth/sign-in and enter your credentials.
2

Session created

Upon successful login, a secure session cookie is created and stored in your browser.
3

Automatic authentication

All dashboard features and internal API calls are automatically authenticated using this session.
Sessions are powered by Supabase Auth and include automatic token refresh for seamless long-term use.

Session Security

  • Sessions expire after 7 days of inactivity
  • HTTPS-only cookies prevent interception
  • CSRF protection on all state-changing operations
  • Optional two-factor authentication (coming soon)

API Key Authentication

API keys provide programmatic access to the Developer API (/api/v1/*). Required for all v1 endpoints.

Key Format

gdelt_sk_<64-hex-characters>
Example: gdelt_sk_a1b2c3d4e5f6... (64 hex chars after the prefix)

Usage

Include the key as a Bearer token in every request:
Authorization: Bearer gdelt_sk_your_api_key_here
curl "https://gdeltcloud.com/api/v1/media-events?days=1" \
  -H "Authorization: Bearer gdelt_sk_your_api_key_here"

Plan Requirements

PlanAPI AccessMonthly QURPM
Free / Scout
Analyst10,00030
ProfessionalUnlimited120

Authentication Errors

HTTPCodeMeaning
401MISSING_API_KEYNo Authorization header
401INVALID_API_KEYWrong format or revoked key
403API_ACCESS_DENIEDPlan does not include API access
429RATE_LIMITEDPer-minute RPM exceeded
429QUOTA_EXCEEDEDMonthly QU limit reached
Generate and manage API keys in Dashboard → Settings → API Keys. See API Keys for full details.