4 min readUpdated Mar 2, 2026

EventFeedTile Documentation

Overview

The EventFeedTile is a component designed to display a dynamic list of global events based on user-defined search queries and time spans. It is integrated with the GDELT event API, allowing users to filter events by keywords over specified periods. The tile supports features like searching, loading states, error handling, and dynamically generated results.

Purpose

The primary purpose of the EventFeedTile is to provide users with an intuitive interface to search and filter global events. Users can input keywords to fetch relevant events and view a brief summary of each event, including title, source domain, occurrence date, and a sentiment score.

Settings

The configurable settings for the EventFeedTile are specified in the tile.config object. Below is a detailed explanation of the available settings.

Settings Breakdown

  1. defaultQuery

    • Input Type: String
    • Description: This setting represents the initial search query that populates the search input field when the tile is rendered. Changing this value modifies the default query displayed to the user.
    • Default Value: An empty string "".
  2. defaultTimespan

    • Input Type: String (Dropdown option)
    • Description: This setting defines the default timespan for the events to be fetched, from the following options:
      • 15min (15 minutes)
      • 1h (1 hour)
      • 1d (24 hours)
      • 7d (7 days)
      • 1m (30 days)
    • Changing this setting affects the predefined filter applied to the search results. For example, setting this to 7d will only return events from the past week.
    • Default Value: "1d".

How It Works

Data Expectations

The EventFeedTile expects the following data structure from the API response:

json
{
  "data": [
    {
      "url": "https://example.com/event",
      "title": "Sample Event Title",
      "seendate": "2023-10-10T00:00:00Z",
      "tone": -0.5
    },
    ...
  ]
}

AI Integrations

Currently, there are no specific AI integrations directly within the EventFeedTile. However, the sentiment analysis represented by the tone field could potentially be enhanced using AI-based sentiment analysis services to provide richer insights on event data in future iterations.

Billing Impacts

Utilizing the EventFeedTile may have billing implications based on API call limits and the number of requests made to the GDELT service. Furthermore, frequent updates and searches may incur additional costs if the API’s pricing model is based on usage metrics.

Use Cases & Examples

Use Cases

  1. News Aggregation Platform

    • A news aggregation platform can use the EventFeedTile to allow users to search for global occurrences by events, providing real-time updates directly from different news sources.
  2. Research and Academic Studies

    • Researchers studying global trends and events can use this component to filter events based on specific keywords and time spans, aiding in the collection of data for their analyses.
  3. Crisis Management

    • Emergency services can implement the EventFeedTile to monitor real-time data about global events, allowing them to react faster to crises by searching for specific emergencies, such as natural disasters.

Example Configuration

Scenario: A news platform wants to configure the EventFeedTile to show latest sports events related to football, allowing searches for recent activities from the last month.

Configuration Data:

json
{
  "config": {
    "defaultQuery": "football",
    "defaultTimespan": "1m"
  }
}

Usage: