
GNews
Connect GNews to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your GNews API key to pull worldwide news articles into the PostHog Data warehouse.
You can find your API key in your GNews dashboard.
The Search query drives the articles table (keyword search), and the Category drives the top_headlines table. GNews caps every query at 1000 articles, and free plans return fewer results per request with truncated content.
Configuration
| Option | Type | Required |
|---|---|---|
API key | password | Yes |
Search query | text | Yes |
Category | select | Yes |
Language (optional) | text | No |
Country (optional) | text | No |
Linking GNews to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select GNews
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import