nytimes.com

Get access to comments from registered users on New York Times articles. NOTE: This API is deprecated.

🔑 oauth2 4 endpoints mediaopen_data
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (6 total)

pip install nytimes-python-sdk
npm install nytimes-typescript-sdk
npm install nytimes-sdk
# Maven: see https://github.com/konfig-sdks/nytimes-java-sdk
dotnet add package NYTimes.NET
golang-gcloud-sdk ✓ Official
# See https://github.com/nytimes/golang-gcloud-sdk
curl examples
Comments by URL
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/community/v3/user-content/url.json
Comments by User
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/community/v3/user-content/user.json
Recent User Comments
curl \
  # append ?api-key=$API_KEY to the URL \
  http://api.nytimes.com/svc/community/v3/user-content/recent.json
Endpoints (4 total)
GET
/user-content/url.json
Comments by URL
GET
/user-content/user.json
Comments by User
GET
/user-content/recent.json
Recent User Comments
GET
/user-content/by-date.json
Comments by Date
At a glance
Total SDKs6
Languages5
Endpoints4
Authoauth2
Categories2
http://api.nytimes.com/svc/community/v3