Find an API

Search public APIs with auth details & Postman guides

← All APIs

Times Newswire API

nytimes · Media

Media No Auth Free & Open media open_data

With the Times Newswire API, you can get links and metadata for Times articles and blog posts as soon as they are published on NYTimes.com. The Times Newswire API provides an up-to-the-minute stream of published items.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET GET /content.json
https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content.json?url=https://example.com

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content.json?url=https%3A%2F%2Fexample.com"
import requests
params = {
    "url": "https://example.com"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content.json",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content.json');
url.searchParams.set('url', 'https://example.com');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content.json")
	q := baseURL.Query()
	q.Set("url", "https://example.com")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content.json")
uri.query = URI.encode_www_form({
  "url" => "https://example.com"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content.json?" . http_build_query([
    "url" => "https://example.com"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET GET /content/{source}/{section}.json
https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}.json?limit=20&offset=0

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}.json?limit=20&offset=0"
import requests
params = {
    "limit": "20",
    "offset": "0"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}.json",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}.json');
url.searchParams.set('limit', '20');
url.searchParams.set('offset', '0');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}.json")
	q := baseURL.Query()
	q.Set("limit", "20")
	q.Set("offset", "0")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}.json")
uri.query = URI.encode_www_form({
  "limit" => "20",
  "offset" => "0"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}.json?" . http_build_query([
    "limit" => "20",
    "offset" => "0"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET GET /content/{source}/{section}/{time-period}.json
https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}/{time-period}.json?limit=20&offset=0

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}/{time-period}.json?limit=20&offset=0"
import requests
params = {
    "limit": "20",
    "offset": "0"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}/{time-period}.json",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}/{time-period}.json');
url.searchParams.set('limit', '20');
url.searchParams.set('offset', '0');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}/{time-period}.json")
	q := baseURL.Query()
	q.Set("limit", "20")
	q.Set("offset", "0")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}/{time-period}.json")
uri.query = URI.encode_www_form({
  "limit" => "20",
  "offset" => "0"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/nytimes.com/timeswire/3.0.0/content/{source}/{section}/{time-period}.json?" . http_build_query([
    "limit" => "20",
    "offset" => "0"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Times Newswire API?

Times Newswire API is a Media API. Developers commonly use media APIs for:

  • storing and delivering images, video, and audio
  • building digital asset management and media libraries
  • transcoding and optimising media for the web
  • adding video streaming and playback to your app
  • automating content tagging and metadata extraction

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Times Newswire API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide · Learn about API keys · What is REST?

Open documentation ↗