New York Times

New York Times

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect New York Times to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your New York Times API key to pull New York Times content into the PostHog Data warehouse.

Create a free developer account and register an app at the NYT Developer Network, then enable the APIs you want to sync (Article Search, Most Popular, Top Stories) on your app to get an API key.

Note: NYT enforces tight rate limits (≈10 requests/minute, 4,000/day), so syncs — especially Article Search — are intentionally throttled.

Configuration

OptionTypeRequired
API keypasswordYes
Article Search query (optional)textNo

Linking New York Times to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select New York Times
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
article_search

Articles matching a query and/or date window from the NYT Article Search API. Windowed by publication date and capped at 1000 results per query.

Incremental, Full refreshpub_date_id
most_popular_viewed

The most viewed New York Times articles over the last 7 days. Point-in-time snapshot.

Full refreshuri
most_popular_emailed

The most emailed New York Times articles over the last 7 days. Point-in-time snapshot.

Full refreshuri
most_popular_shared

The most shared New York Times articles over the last 7 days. Point-in-time snapshot.

Full refreshuri
top_stories

The current top stories on the New York Times home section. Point-in-time snapshot.

Full refreshuri