新闻文章提取API是您从任何新闻文章中提取重要细节的首选工具 通过其URL输入有效的URL 后 API将检索关键资讯 包括全文 标题 作者 出版日期和主图像 这使其非常适合将新闻内容集成到应用程序中的开发人员或提升内容分析工作流程的公司 该API旨在快速和准确地提供可靠的结果 凭借最小的努力 无论您是在创建新闻聚合平台 进行情感分析还是简化内容策划 该API都为您的项目提供了构建模块 通过易于阅读的JSON响应和强大的错误处理 它确保了顺畅的实施和使用 通过将此API集成到您的工作流程中 今天就释放结构化新闻文章数据的力量
发送一个GET请求,使用文章的URL作为参数,以检索结构化数据,包括标题、全文、作者、日期和图片
获取文章元数据 - 端点功能
| 对象 | 描述 |
|---|---|
请求体 |
[必需] Json |
{"author":["Rishi Iyengar"],"cl_content":"While the big-name dropouts have dented Facebook\u2019s stock price and prompted leadership to address some of the concerns, it\u2019ll take a lot more to stop the company\u2019s digital advertising juggernaut.\nFacebook generated $69.7 billion from advertising in 2019, more than 98% of its total revenue for the year. And most of those ad dollars don\u2019t come from companies like Starbucks\n(SBUX) and Coca Cola so much as the sprawling list of small and medium-sized businesses who use Facebook to attract customers and build their brands.\nFacebook has 8 million advertisers, it said earlier this year. Of those, the highest-spending 100 brands accounted for $4.2 billion in Facebook advertising last year, according to data from marketing research firm Pathmatics \u2013 or only about 6% of the platform\u2019s ad revenue. The last time Facebook shared that data itself was in April 2019, when COO Sheryl Sandberg said the top 100 advertisers represented \u201cless than 20%\u201d of total ad revenue.\n\u201cFacebook has an enormous number of advertiser clients,\u201d said Nicole Perrin, an analyst at eMarketer. \u201cThey\u2019re definitely pretty reliant on the long tail of small business advertisers.\u201d\nEven as Facebook confronts by far the largest advertiser boycott in its history, the sheer number of advertisers on its platform may insulate the company from too much financial fallout. At the same time, it remains an open question whether many big and small advertisers can afford to stay away from the powerful platform it built for very long.\nFacebook\u2019s relationship with advertisers: It\u2019s complicated\nFor all of Facebook\u2019s splashy investments in artificial intelligence and virtual reality products, the company \u2013 like many of its peers in Silicon Valley \u2013 remains an advertising business at heart. Its most lucrative innovation isn\u2019t helping friends and family connect to one another, but rather positioning itself as an essential tool for businesses of all sizes to connect with an unrivaled audience at the click of a button. It can offer marketers both scale and a ridiculous degree of targeting.\nPerhaps the most accurate description of Facebook\u2019s business came during a 2018 Senate hearing when CEO Mark Zuckerberg was asked how the company offers services to users for free. Zuckerberg responded: \u201cSenator, we run ads.\u201d\nAnd the revenue it brings in from those ads has grown along with Facebook\u2019s user base and reach. In 2009, the company\u2019s ad revenue for the entire year was around $761 million, according to data compiled by research firm eMarketer.\nBack then, Facebook had 350 million monthly users. Now, advertisers on its platform have access to 2.6 billion monthly users and another 1 billion on Instagram, which it bought for $1 billion in 2012. Facebook\u2019s advertising platform allows them to tailor the audience that sees their ads by age, gender, location and other characteristics \u2014 barring some notable exceptions \u2014 and track the performance of those ads in real time.\nIt\u2019s been a game changer, particularly for smaller businesses without the same deep pockets as bigger companies for splashy TV commercials. And it\u2019s effectively turned Facebook into one half of a digital advertising duopoly with rival Google. The two companies together accounted for more than half of all digital ad spending and nearly 30% of total media ad spending in the United States last year, according to eMarketer data. (TV ad spending shrunk from 37% of the total to 29% between 2009 and 2019.)\nBut Facebook has had a tense relationship with the advertising industry over the years, which has sometimes spilled out into the open.\nOne of the biggest controversies came in 2016, when the company admitted it had miscalculated \u2014 and in some cases, significantly overstated \u2014 several ad metrics, including video views and the organic reach for business pages. The incident illustrated how little accountability Facebook has. As one digital agency executive told CNN Business at the time: \u201cPeople trust Facebook because they are the only ones that have access to all of that data.\u201d\nIn 2018, several advertisers took Facebook to task over data privacy issues following the Cambridge Analytica scandal. And as recently as this January, months before the current ad boycott, some of the world\u2019s biggest advertisers called on Facebook and other tech companies to do more to prevent ads appearing next to violent content and hate speech.\nBut speaking out appeared to be easier than quitting the platform entirely. Despite the repeated pushback, Facebook\u2019s powerful ad machine kept rolling along.\nBusinesses can check out anytime they like but they can never leave\nAnd while the growing chorus of brands swearing off advertising is unlikely to kill its bottom line for now, the bad press appears to have rattled Facebook \u2014 it held a call with around 200 advertisers last week in which a company executive admitted that there was a \u201ctrust deficit\u201d it needs to address.\nThe big brands joining the boycott now have large marketing budgets and several other places to advertise (including television). Some are reportedly considering alternatives including Facebook rivals such as Google and Amazon or teen-friendly platforms such as TikTok and Snapchat.\nBut the millions of small businesses with smaller budgets may be less willing to cut the cord.\n\u201cI think it\u2019s relatively unlikely that small businesses [and] small brands will join the boycott, because they\u2019re the ones most reliant on Facebook for access to their customers,\u201d Perrin said.\nEven those brands who have joined the boycott may not abandon the platform for long. Many of the brands taking a stand have said they will only pause advertising on Facebook through the month of July. Not all of them have specified that they will stop ads on both Facebook and Facebook-owned Instagram, and most of them have accounts on both platforms with millions of followers where they can continue to share unpaid posts. Some of them have also said their advertising hiatus only applies to the US audience.\nFinally, as Perrin points out, many companies have likely been forced to dial back their advertising already this year because of coronavirus.\n\u201cOne thing to keep in mind is that this is happening in the middle of the pandemic, and brands have already really cut their ad spending across all kinds of channels, including Facebook,\u201d she said. \u201cIt\u2019s going to be impossible to ever parse out how much did this boycott cost versus how much did the pandemic cost, how much would these same advertisers have pulled back just because of the broader economy.\u201d\nMost stock quote data provided by BATS. US market indices are shown in real time, except for the S&P 500 which is refreshed every two minutes. All times are ET. Factset: FactSet Research Systems Inc. All rights reserved. Chicago Mercantile: Certain market data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved. Dow Jones: The Dow Jones branded indices are proprietary to and are calculated, distributed and marketed by DJI Opco, a subsidiary of S&P Dow Jones Indices LLC and have been licensed for use to S&P Opco, LLC and CNN. Standard & Poor\u2019s and S&P are registered trademarks of Standard & Poor\u2019s Financial Services LLC and Dow Jones is a registered trademark of Dow Jones Trademark Holdings LLC. All content of the Dow Jones branded indices Copyright S&P Dow Jones Indices LLC and/or its affiliates. Fair value provided by IndexArb.com. Market holidays and trading hours provided by Copp Clark Limited.","_note":"Response truncated for documentation purposes"}
curl --location --request POST 'https://zylalabs.com/api/5656/news+article+extractor+api/7365/fetch+article+metadata' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://es.wikipedia.org/wiki/Lionel_Messi"
}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
您可以通过提供新闻文章的URL提取全文标题作者发布日期和主要图片
要使用API,只需将有效的新闻文章URL输入到API请求中,它将以易于阅读的JSON格式返回提取的信息
是的,该API旨在为希望将新闻内容集成到其应用程序中的开发人员设计,适合新闻聚合平台和内容分析工作流
API提供以JSON格式结构化的数据,包括提取的文章细节,并且还包括强大的错误处理以确保顺利实施
是的,新闻文章提取器API旨在快速和准确地处理多个请求,提供可靠的结果
获取文章元数据端点返回结构化数据,包括文章标题、全文、作者、出版日期和主要图像,所有数据均以JSON格式呈现,便于集成
响应中的关键字段包括“作者”(作者数组) “cl_content”(文章全文) “标题”(文章标题) “日期”(出版日期) 和“图像”(主要图像的URL)
响应数据以JSON格式组织,每个键代表文章中特定的信息,便于在应用程序中解析和使用
该端点提供全面的信息,如文章标题、全文、作者、出版日期和主要图片,使详细内容分析和整合成为可能
用户可以通过向端点提供不同的文章网址来定制他们的请求,从而根据他们的特定需求提取各种文章
数据来源于在线公开可获取的新闻文章 确保用户可以从中获得广泛的主题和不同的视角信息
数据准确性通过强大的解析算法得以维持,该算法从结构良好的新闻文章中提取信息,并持续更新以处理文章格式的变化
典型的用例包括新闻聚合平台 内容策划工具 情感分析应用和需要结构化新闻内容进行分析的研究项目
Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]
此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
服务级别:
100%
响应时间:
2,721ms
服务级别:
100%
响应时间:
1,450ms
服务级别:
100%
响应时间:
2,560ms
服务级别:
100%
响应时间:
418ms
服务级别:
100%
响应时间:
2,769ms
服务级别:
100%
响应时间:
1,408ms
服务级别:
100%
响应时间:
1,434ms
服务级别:
100%
响应时间:
1,374ms
服务级别:
100%
响应时间:
1,134ms
服务级别:
100%
响应时间:
2,612ms