纽约时报实时API提供了详细的新闻内容访问,涵盖美国政治、全球事件、商业和科学等多个领域。它提供结构化数据,如文章标题、发布日期、作者信息、内容摘要以及图像和视频等多媒体资产 该API旨在无缝集成,使用JSON作为标准格式,确保与现代网络应用程序的兼容性。它包括针对关键主题的专业术语,如政治发展(选举、最高法院裁决)、经济指标(市场趋势、财政政策)和全球问题(冲突、国际协议) 开发者需要通过API密钥进行身份验证,并必须遵守请求负载管理的速率限制。输出使用明确定义的JSON模式组织,封装了元数据、文章内容和分类标签。这种结构允许高效实现,使在数字平台中整合和展示全面的新闻内容变得更容易
[{"articles":[{"title":"Police Track Steps Suspect in C.E.O.\u2019s Killing Took After Arriving in New York","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"Investigators released images of a man they believe killed Brian Thompson, the C.E.O. of one of the country\u2019s largest health insurers, outside a Midtown hotel."},{"title":"Torrent of Hate for Health Insurance Industry Follows C.E.O.\u2019s Killing","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"The death of a UnitedHealthcare executive has unleashed Americans\u2019 frustrations with an industry that often denies coverage and reimbursement for claims."},{"title":"House Blocks Release of Ethics Report on Gaetz as Republicans Close Ranks","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"In largely party-line votes, the House turned back measures that would have made public the results of the Ethics Committee\u2019s investigation into Matt Gaetz."},{"title":"Pete Hegseth and His \u2018Battle Cry\u2019 for a New Christian Crusade","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"The veteran has praised the brutal religious military campaigns of the past and has called for a Christian approach to governing."},{"title":"Biden Team Considers Blanket Pardons Before Trump\u2019s Promised \u2018Retribution\u2019","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"White House officials believe President-elect Trump\u2019s choices for top law enforcement jobs indicate that he will pursue revenge against his perceived enemies."},{"title":"In First Post-Election Speech, Obama Calls for \u2018Building Coalitions\u2019","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"\u201cPurity tests are not a recipe for long-term success,\u201d former President Obama said in the speech in Chicago."},{"title":"Rebels Storm Another Major City in Syria","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"In another startling setback for President Bashar al-Assad, government forces retreated from the city of Hama after rebels advanced on it."},{"title":"New York City Approves a Plan to Create 80,000 New Homes","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"The City Council passed a major housing plan known as 'City of Yes.' Experts and elected officials say it is only a first step to address the housing crisis."},{"title":"Jordan Neely\u2019s Father Sues Daniel Penny, Accusing Him of Assault","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"Andre Zachery claims that Mr. Penny, using a chokehold on a subway train last year, caused his son\u2019s death through 'negligence, carelessness and recklessness.'"},{"title":"Kindergartners Are \u2018Critical but Stable\u2019 a Day After a California School Shooting","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"Two boys, ages 5 and 6, were rushed to hospitals on Wednesday after they were shot by a gunman on their rural school campus in Northern California."},{"title":"Amnesty International Accuses Israel of Genocide in Gaza","publication_date":"Dec. 5, 2024","author":"Not specified","summary":"Israel rejected the charge \u2014 the first of its kind by a major human rights organization \u2014 saying it was 'based on lies.'"}]}]
curl --location --request POST 'https://zylalabs.com/api/5673/new+york+times+real+time+api/7393/news' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[{"articles":[{"title":"Biden Team Considers Blanket Pardons Before Trump\u2019s Promised \u2018Retribution\u2019","publication_date":"Dec. 5, 2024","author":"Not specified","abstract":"White House officials believe President-elect Trump\u2019s choices for top law enforcement jobs indicate that he will pursue revenge against his perceived enemies."},{"title":"Trump\u2019s Cabinet Will Be an Embarrassment of Wretches","publication_date":"Not specified","author":"Frank Bruni","abstract":"An opinion piece discussing the implications of Trump's cabinet selections."},{"title":"Pete Hegseth Fights to Keep His Nomination Alive","publication_date":"Not specified","author":"Not specified","abstract":"Also, the police chased leads in the New York manhunt for a C.E.O.\u2019s killer, rebels stormed a major city in Syria and more news."}]}]
curl --location --request POST 'https://zylalabs.com/api/5673/new+york+times+real+time+api/7394/search+articles' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"keyword":"Required"}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
纽约时报实时API提供访问广泛的新闻文章、分析和多媒体内容,涵盖各种主题,包括美国政治、国际事务、商业和科学
纽约时报实时API的数据以JSON格式结构化,包括文章标题、发布日期、作者姓名、内容摘要以及相关的多媒体元素,如图像和视频
要使用纽约时报实时API,您需要通过API密钥进行身份验证,并注意速率限制以管理请求量
是的,《纽约时报》实时API允许您使用标签过滤文章进行分类,使您能够根据特定主题或类别检索内容
您可以通过向API端点发送HTTP请求将纽约时报实时API集成到您的Web应用程序中,处理返回的JSON数据,并根据您的设计在应用程序中显示它
POST新闻接口返回最新新闻文章的集合,包括文章标题、出版日期、作者姓名和内容摘要。这些数据提供了各类当前事件的全面概述
POST搜索文章端点允许用户输入特定关键词或短语来搜索文章 用户可以通过指定搜索词来自定义请求以获取符合其标准的相关文章
响应数据以结构化的JSON格式组织 每个响应包含一个文章数组 每篇文章包含标题 发布日期 作者 和摘要等字段 便于解析和显示
POST搜索文章端点提供与特定关键词相关的文章访问,包括其发布日期、作者和摘要。这使用户能够找到有关各种主题或事件的目标信息
POST News端点返回的响应数据中的关键字段包括“标题”、“发布日期”、“作者”和“摘要”。这些字段提供了有关每篇文章的基本信息,便于轻松集成到应用程序中
用户可以通过解析 JSON 响应来提取相关字段,例如文章标题和摘要,从而利用返回的数据。这些信息可以在应用程序或网站中显示,以便让用户了解当前事件
典型的用例包括将实时新闻更新集成到应用程序中 创建新闻聚合平台 以及开发用于研究或分析各种主题和类别的时事的工具
数据准确性通过《纽约时报》采用的严格编辑标准和事实核查过程得以维持这确保通过API提供的新闻文章可靠且最新
服务级别:
100%
响应时间:
284ms
服务级别:
100%
响应时间:
7,928ms
服务级别:
100%
响应时间:
14,201ms
服务级别:
100%
响应时间:
61ms
服务级别:
100%
响应时间:
55ms
服务级别:
100%
响应时间:
9,844ms
服务级别:
100%
响应时间:
479ms
服务级别:
100%
响应时间:
3,936ms
服务级别:
100%
响应时间:
1,284ms
服务级别:
100%
响应时间:
402ms
服务级别:
100%
响应时间:
2,680ms
服务级别:
100%
响应时间:
341ms
服务级别:
100%
响应时间:
1,124ms
服务级别:
100%
响应时间:
3,497ms
服务级别:
100%
响应时间:
1,811ms
服务级别:
100%
响应时间:
1,104ms
服务级别:
100%
响应时间:
203ms
服务级别:
100%
响应时间:
802ms
服务级别:
100%
响应时间:
819ms
服务级别:
100%
响应时间:
1,302ms