最新消息 API

最新新闻API是一个基于网络的API,允许开发者访问来自多种来源的最近新闻文章
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

关于API:

该API允许用户访问关于健康、技术、体育、娱乐等广泛主题的最新新闻。API为开发者提供了一个简单易用的接口,以便获取新闻数据。近期新闻API的主要优点之一是它确保用户始终可以访问到最新的信息。这使其成为创建与新闻相关的应用程序的理想工具,例如新闻聚合器、新闻小部件或自定义新闻源。


近期新闻API可以用于多种目的,例如构建新网站、移动应用或任何其他需要新闻数据的应用程序。它可以与其他API集成,以提供额外的数据,如天气、财务数据或社交媒体数据。

总的来说,近期新闻API是任何希望跟上最新新闻和事件的人的宝贵资源。它提供了丰富的信息,可用于创建引人入胜且信息丰富的与新闻相关的应用程序。

API 文档

端点


要使用此端点,您只需运行它,它将返回50条当前新闻项



                                                                            
GET https://zylalabs.com/api/1108/%e6%9c%80%e6%96%b0%e6%b6%88%e6%81%af+api/969/%e8%8e%b7%e5%8f%96%e4%ba%94%e5%8d%81%e6%9d%a1%e6%96%b0%e9%97%bb
                                                                            
                                                                        

测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        [
    {
        "title": "American runner won't defend Olympic title, officials reject her appeal after fall",
        "link": "https:\/\/www.cbc.ca\/sports\/olympics\/summer\/athletics\/athing-mu-appeal-denied-usa-track-and-field-1.7245845",
        "image": "https:\/\/i.cbc.ca\/1.7245868.1719329234!\/fileImage\/httpImage\/image.jpg_gen\/derivatives\/16x9_620\/mu-athing-240624-1180.jpg",
        "pubDate": "Tue, 25 Jun 2024 11:29:31 EDT",
        "source": "cbc",
        "category": "Sport"
    },
    {
        "title": "England ultimate rich list revealed with Kane, Bellingham and Co earning salaries as much as \u00a3410,000-per-week",
        "link": "https:\/\/www.thesun.co.uk\/sport\/26838509\/england-ultimate-rich-list-bellingham-kane-wages\/",
        "image": "https:\/\/www.thesun.co.uk\/wp-content\/uploads\/2024\/03\/england-head-coach-gareth-southgate-911189981_68d30a.jpg",
        "pubDate": "Tue, 25 Jun 2024 15:35:57 +0000",
        "source": "thesun",
        "category": "Sport"
    },
    {
        "title": "The Notebook star Gena Rowlands has Alzheimer,s, son says: \u2018She,s in full dementia,",
        "link": "https:\/\/www.independent.co.uk\/arts-entertainment\/films\/news\/the-notebook-gena-rowlands-dementia-b2568642.html",
        "image": "https:\/\/static.independent.co.uk\/2024\/06\/25\/16\/GettyImages-513005362.jpg?width=1200&auto=webp",
        "pubDate": "Tue, 25 Jun 2024 15:28:34 GMT",
        "source": "independent",
        "category": "Entertainment"
    },
    {
        "title": "Huge blaze rips through building as ten fire engines rush to the scene",
        "link": "https:\/\/www.mirror.co.uk\/news\/uk-news\/breaking-huge-blaze-rips-through-33105729",
        "image": "https:\/\/i2-prod.mirror.co.uk\/incoming\/article12272344.ece\/ALTERNATES\/s615\/SPP_SAH_WL180326_02JPG.jpg",
        "pubDate": "Tue, 25 Jun 2024 15:30:00 +0000",
        "source": "dailymirror",
        "category": "UK"
    },
    {
        "title": "Man Utd \u2018submit opening bid, for perfect Kobbie Mainoo partner as INEOS given hope of deal",
        "link": "https:\/\/www.express.co.uk\/sport\/football\/1915264\/Man-Utd-transfer-news-Kobbie-Mainoo-INEOS",
        "image": "https:\/\/cdn.images.express.co.uk\/img\/dynamic\/67\/590x\/1915264_1.jpg",
        "pubDate": "Tue, 25 Jun 2024 16:37:00 +0100",
        "source": "dexpress",
        "category": "Sport"
    },
    {
        "title": "Why the Trump Campaign Is Suddenly Saying Biden Is on Drugs",
        "link": "https:\/\/slate.com\/news-and-politics\/2024\/06\/trump-biden-debate-cnn-jake-tapper-camp-david-drugs.html?via=rss",
        "image": "https:\/\/compote.slate.com\/images\/20854745-d2a4-413f-9455-f0e4ad020001.jpeg?crop=1560%2C1040%2Cx0%2Cy0",
        "pubDate": "Tue, 25 Jun 2024 15:36:39 GMT",
        "source": "slate",
        "category": "World"
    },
    {
        "title": "ICC a tool of \u2018Western hybrid war, \u2013 Moscow",
        "link": "https:\/\/www.rt.com\/russia\/599959-icc-western-hybrid-warfare\/",
        "image": "https:\/\/mf.b37mrtl.ru\/files\/2024.06\/thumbnail\/667ae126203027580462308e.jpg",
        "pubDate": "Tue, 25 Jun 2024 15:31:45 +0000",
        "source": "rt",
        "category": "World"
    },
    {
        "title": "UN-backed contingent of foreign police arrives in Haiti as Kenya-led force prepares to face gangs",
        "link": "https:\/\/www.yahoo.com\/news\/un-backed-contingent-foreign-police-141438785.html",
        "image": "https:\/\/media.zenfs.com\/en\/video.associatedpressfree.com\/1b635aa29e5179bced090848f46027f2",
        "pubDate": "2024-06-25T14:14:38Z",
        "source": "yahoo",
        "category": "Video"
    },
    {
        "title": "Arizona election worker accused of stealing security keys that access vote-counting machines",
        "link": "https:\/\/www.yahoo.com\/news\/arizona-election-worker-accused-stealing-150437814.html",
        "image": "https:\/\/media.zenfs.com\/en\/the_independent_577\/d5996ad9dd96bc3055e59c248ab93533",
        "pubDate": "2024-06-25T15:04:37Z",
        "source": "yahoo",
        "category": "Video"
    },
    {
        "title": "3 Energy Giants Set to Soar With Record Jet Fuel Demand",
        "link": "https:\/\/finance.yahoo.com\/news\/3-energy-giants-set-soar-114500664.html",
        "image": "https:\/\/media.zenfs.com\/en\/zacks.com\/6189c8e67ce9b0c634a8e0ee773b4e80",
        "pubDate": "2024-06-25T11:45:00Z",
        "source": "yahoo",
        "category": "Video"
    },
    {
        "title": "Trump spiritual adviser says he asked her what God thought about presidential run",
        "link": "https:\/\/www.yahoo.com\/news\/trump-spiritual-advisor-says-asked-112728956.html",
        "image": "https:\/\/media.zenfs.com\/en\/the_independent_577\/830ae8c4baf6f11024f830f31e42491b",
        "pubDate": "2024-06-25T14:15:44Z",
        "source": "yahoo",
        "category": "Video"
    },
    {
        "title": "Trump Stooge Fumbles When Asked About Trump,s Penchant for Violence",
        "link": "https:\/\/www.yahoo.com\/news\/trump-stooge-fumbles-asked-trump-144040090.html",
        "image": "https:\/\/media.zenfs.com\/en\/the_new_republic_521\/3a5ceb8830dbbc5c59a2a553a574c6b3",
        "pubDate": "2024-06-25T14:40:40Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "Man spotted on surveillance video looking through windows in DeKalb County neighborhood",
        "link": "https:\/\/www.yahoo.com\/news\/man-spotted-surveillance-video-looking-145515205.html",
        "image": "https:\/\/media.zenfs.com\/en\/wsb_cox_articles_232\/8e3bcdaf75891a37bfea6352678401c4",
        "pubDate": "2024-06-25T14:55:15Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "Maryland couple among 1,300 who died on pilgrimage in sweltering Mecca",
        "link": "https:\/\/www.yahoo.com\/news\/maryland-couple-among-1-300-145759458.html",
        "image": "https:\/\/media.zenfs.com\/en\/the_guardian_765\/13f4517a1f20644991da1dd807dee94c",
        "pubDate": "2024-06-25T14:57:59Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "What is the 'Take It Down' Act? Texas bill seeks to ban deepfake revenge porn online",
        "link": "https:\/\/www.yahoo.com\/news\/down-act-texas-bill-seeks-150805159.html",
        "image": "",
        "pubDate": "2024-06-25T15:08:05Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "Calloway sentenced to prison for second high-speed chase",
        "link": "https:\/\/www.yahoo.com\/news\/calloway-sentenced-prison-second-high-150827721.html",
        "image": "https:\/\/media.zenfs.com\/en\/the-daily-reporter\/6605793b895bcb836320c05183eb80d0",
        "pubDate": "2024-06-25T15:08:27Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "MEGA pet adoption event returning to Jacksonville Fairgrounds with statewide participation June 28-29",
        "link": "https:\/\/www.yahoo.com\/lifestyle\/mega-pet-adoption-event-returning-150832854.html",
        "image": "https:\/\/media.zenfs.com\/en\/wjax_cox_articles_158\/84b35aebc2033e39c921154f983f2640",
        "pubDate": "2024-06-25T15:08:32Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "Calm, conservative, confident: What GOP senators want in Trump,s vice presidential pick",
        "link": "https:\/\/www.yahoo.com\/news\/calm-conservative-confident-gop-senators-152302799.html",
        "image": "https:\/\/media.zenfs.com\/en\/oklahoma_voice_articles_544\/ffd0477770ac53a5d78ba9e312ebfd68",
        "pubDate": "2024-06-25T15:23:02Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "Hillary Clinton: waste of Biden,s debate time to rebut Trump \u2018nonsense,",
        "link": "https:\/\/www.yahoo.com\/news\/hillary-clinton-waste-biden-debate-152325922.html",
        "image": "https:\/\/media.zenfs.com\/en\/the_guardian_765\/1d74295d1e18f3f3819a4e0f86309203",
        "pubDate": "2024-06-25T15:23:25Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "As Team Trump eyes revenge, who'll end up on the enemies list?",
        "link": "https:\/\/www.yahoo.com\/news\/team-trump-eyes-revenge-wholl-152444252.html",
        "image": "https:\/\/media.zenfs.com\/en\/msnbc_articles_593\/c645049686385e4cc736e44e4b5a4935",
        "pubDate": "2024-06-25T15:24:44Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "I,ve hiked in some of the most extreme heat in the world \u2013 this is how I stay safe",
        "link": "https:\/\/www.independent.co.uk\/travel\/walking-trekking\/hiking-extreme-heat-tips-b2565786.html",
        "image": "https:\/\/static.independent.co.uk\/2024\/06\/25\/14\/Alice-Morrison-MDS2.jpg?width=1200&auto=webp",
        "pubDate": "Tue, 25 Jun 2024 15:27:56 GMT",
        "source": "independent",
        "category": "Travel"
    },
    {
        "title": "Olympic Maude Charron headlines Canada's weightlifting team at Paris Games",
        "link": "https:\/\/www.cbc.ca\/sports\/golf\/brooke-henderson-alena-sharp-canada-olympic-team-paris-1.7245841",
        "image": "https:\/\/i.cbc.ca\/1.7245863.1719329126!\/fileImage\/httpImage\/image.jpg_gen\/derivatives\/16x9_620\/tokyo-olympics-weightlifting-women.jpg",
        "pubDate": "Tue, 25 Jun 2024 11:31:02 EDT",
        "source": "cbc",
        "category": "Sport"
    },
    {
        "title": "German court jails a man who set off an 18-hour hostage standoff at Hamburg Airport",
        "link": "https:\/\/abcnews.go.com\/International\/wireStory\/german-court-jails-man-set-off-18-hour-111395149",
        "image": "https:\/\/s.abcnews.com\/images\/US\/abc_news_default_2000x2000_update_16x9_992.jpg",
        "pubDate": "Tue, 25 Jun 2024 05:45:28 -0400",
        "source": "abcnews",
        "category": "World"
    },{"_note":"Response truncated for documentation purposes"}]
                                                                                                                                                                                                                    
                                                                                                    

获取五十条新闻 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/1108/%e6%9c%80%e6%96%b0%e6%b6%88%e6%81%af+api/969/%e8%8e%b7%e5%8f%96%e4%ba%94%e5%8d%81%e6%9d%a1%e6%96%b0%e9%97%bb' --header 'Authorization: Bearer YOUR_API_KEY' 


    

要使用此端点,您只需运行它,它将返回100条当前新闻项



                                                                            
GET https://zylalabs.com/api/1108/%e6%9c%80%e6%96%b0%e6%b6%88%e6%81%af+api/970/%e8%8e%b7%e5%8f%96%e4%b8%80%e7%99%be%e6%9d%a1%e6%96%b0%e9%97%bb
                                                                            
                                                                        

测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        [
    {
        "title": "Davina McCall sizzles in a hot pink sequinned mini dress ahead of The Masked Singer final\u00a0",
        "link": "https:\/\/www.dailymail.co.uk\/tvshowbiz\/article-11766623\/Davina-McCall-sizzles-hot-pink-sequinned-mini-dress-ahead-Masked-Singer-final.html",
        "image": "https:\/\/i.dailymail.co.uk\/1s\/2023\/02\/18\/17\/67830103-0-image-a-6_1676741731149.jpg",
        "pubDate": "Sat, 18 Feb 2023 17:37:53 GMT",
        "source": "dailymail",
        "category": "Entertainment"
    },
    {
        "title": "Video: Scarlett Moffatt has announces she is pregnant with her first child",
        "link": "https:\/\/www.dailymail.co.uk\/video\/tvshowbiz\/video-2880629\/Video-Scarlett-Moffatt-announces-pregnant-child.html",
        "image": "",
        "pubDate": "Sat, 18 Feb 2023 17:31:46 +0000",
        "source": "dailymail",
        "category": "Video"
    },
    {
        "title": "Kidnapped woman held against will for year broke free and ran to a gas station for help",
        "link": "https:\/\/www.mirror.co.uk\/news\/us-news\/kidnapped-woman-held-against-year-29250903",
        "image": "https:\/\/i2-prod.mirror.co.uk\/incoming\/article29250908.ece\/ALTERNATES\/s615\/0_Parillo3.jpg",
        "pubDate": "Sat, 18 Feb 2023 17:36:08 +0000",
        "source": "dailymirror",
        "category": "USA"
    },
    {
        "title": "The week in classical: Benjamin Grosvenor, RLPO\/ Wong; Kirill Gerstein, LPO\/ Szeps-Znaider; Seong-Jin Cho \u2013 review",
        "link": "https:\/\/www.theguardian.com\/music\/2023\/feb\/18\/benjamin-grosvenor-rlpo-review-philharmonic-hall-royal-liverpool-philharmonic-orchestra-kahchun-wong-mussorgsky-bells-kirill-gerstein-lpo-london-philharmonic-nikolaj-szeps-znaider-royal-festival-hall-seong-jin",
        "image": "https:\/\/i.guim.co.uk\/img\/media\/364ba0d78ce51e4397aeb45a1c518104a672a144\/0_0_4240_2545\/master\/4240.jpg?width=460&quality=85&auto=format&fit=max&s=1d3220bf08ec6816e52abea03924e825",
        "pubDate": "Sat, 18 Feb 2023 12:30:38 GMT",
        "source": "theguardian",
        "category": "Entertainment"
    },
    {
        "title": "Manor Solomon stuns Brighton to keep Fulham,s European ambitions on track",
        "link": "https:\/\/www.theguardian.com\/football\/2023\/feb\/18\/brighton-fulham-premier-league-match-report",
        "image": "https:\/\/i.guim.co.uk\/img\/media\/1e41a976c86a696ad21e16ac23c30fb7444b2732\/0_39_5664_3398\/master\/5664.jpg?width=460&quality=85&auto=format&fit=max&s=37175d343a4f564fda2dba3cb95f4480",
        "pubDate": "Sat, 18 Feb 2023 17:27:48 GMT",
        "source": "theguardian",
        "category": "Sport"
    },
    {
        "title": "Shiffrin's worlds: 1 gold, 2 silvers and 'every emotion'",
        "link": "https:\/\/abcnews.go.com\/Sports\/wireStory\/shiffrins-worlds-1-gold-2-silvers-emotion-97310518",
        "image": "https:\/\/s.abcnews.com\/images\/Sports\/wirestory_5e1aea10fc97d7ce8b3102c1882e8594_2x1_992.jpg",
        "pubDate": "Sat, 18 Feb 2023 12:39:22 -0500",
        "source": "abcnews",
        "category": "Sport"
    },
    {
        "title": "Leigh Wood vs Mauricio Lara LIVE: Stream, latest updates how to watch fight tonight",
        "link": "https:\/\/www.independent.co.uk\/sport\/boxing\/leigh-wood-mauricio-lara-live-stream-updates-b2284577.html",
        "image": "https:\/\/static.independent.co.uk\/2023\/02\/13\/10\/newFile-7.jpg?width=1200&auto=webp",
        "pubDate": "Sat, 18 Feb 2023 17:31:24 GMT",
        "source": "independent",
        "category": "Sport"
    },
    {
        "title": "TikTok sleuths' 'toxic' interest in Nicola Bulley condemned",
        "link": "https:\/\/news.yahoo.com\/tiktok-sleuths-toxic-interest-nicola-173302986.html",
        "image": "https:\/\/media.zenfs.com\/en\/the_telegraph_258\/692a3d6b33f1cc9b9582daba91dc3725",
        "pubDate": "2023-02-18T17:33:02Z",
        "source": "yahoo",
        "category": "USA"
    },
    {
        "title": "The week in classical: Benjamin Grosvenor, RLPO\/ Wong; Kirill Gerstein, LPO\/ Szeps-Znaider; Seong-Jin Cho \u2013 review",
        "link": "https:\/\/www.theguardian.com\/music\/2023\/feb\/18\/benjamin-grosvenor-rlpo-review-philharmonic-hall-royal-liverpool-philharmonic-orchestra-kahchun-wong-mussorgsky-bells-kirill-gerstein-lpo-london-philharmonic-nikolaj-szeps-znaider-royal-festival-hall-seong-jin",
        "image": "https:\/\/i.guim.co.uk\/img\/media\/364ba0d78ce51e4397aeb45a1c518104a672a144\/0_0_4240_2545\/master\/4240.jpg?width=460&quality=85&auto=format&fit=max&s=1d3220bf08ec6816e52abea03924e825",
        "pubDate": "Sat, 18 Feb 2023 12:30:38 GMT",
        "source": "theguardian",
        "category": "Entertainment"
    },
    {
        "title": "Partygate inquiry homes in on Abba evening at Boris Johnson,s flat",
        "link": "https:\/\/www.theguardian.com\/politics\/2023\/feb\/18\/partygate-inquiry-focus-abba-evening-boris-johnsons-flat",
        "image": "https:\/\/i.guim.co.uk\/img\/media\/82b3e1f848f5d2862d2433953dcc30e30ecb5f36\/0_0_3500_2101\/master\/3500.jpg?width=460&quality=85&auto=format&fit=max&s=00b4b4c2ca271ca6594556e9889ee447",
        "pubDate": "Sat, 18 Feb 2023 17:26:09 GMT",
        "source": "theguardian",
        "category": "UK"
    },
    {
        "title": "Banksy,s Valentine,s Day artwork to move to Margate,s Dreamland",
        "link": "https:\/\/www.theguardian.com\/artanddesign\/2023\/feb\/18\/banksy-valentines-day-mascara-artwork-move-margate-dreamland",
        "image": "https:\/\/i.guim.co.uk\/img\/media\/07ccdc8264d5bb4bd3a568b2e6f37050d746c705\/0_206_1435_861\/master\/1435.jpg?width=460&quality=85&auto=format&fit=max&s=4448ff9b6875f214c6baf327e022acf8",
        "pubDate": "Sat, 18 Feb 2023 17:35:10 GMT",
        "source": "theguardian",
        "category": "UK"
    },
    {
        "title": "The week in classical: Benjamin Grosvenor, RLPO\/ Wong; Kirill Gerstein, LPO\/ Szeps-Znaider; Seong-Jin Cho \u2013 review",
        "link": "https:\/\/www.theguardian.com\/music\/2023\/feb\/18\/benjamin-grosvenor-rlpo-review-philharmonic-hall-royal-liverpool-philharmonic-orchestra-kahchun-wong-mussorgsky-bells-kirill-gerstein-lpo-london-philharmonic-nikolaj-szeps-znaider-royal-festival-hall-seong-jin",
        "image": "https:\/\/i.guim.co.uk\/img\/media\/364ba0d78ce51e4397aeb45a1c518104a672a144\/0_0_4240_2545\/master\/4240.jpg?width=460&quality=85&auto=format&fit=max&s=1d3220bf08ec6816e52abea03924e825",
        "pubDate": "Sat, 18 Feb 2023 12:30:38 GMT",
        "source": "theguardian",
        "category": "Entertainment"
    },
    {
        "title": "Kathryn Newton looks pretty in purple at the Nerdist event for Ant-Man And The Wasp: Quantumania",
        "link": "https:\/\/www.dailymail.co.uk\/tvshowbiz\/article-11766579\/Kathryn-Newton-looks-pretty-purple-Nerdist-event-Ant-Man-Wasp-Quantumania.html",
        "image": "https:\/\/i.dailymail.co.uk\/1s\/2023\/02\/18\/17\/67829673-0-image-m-10_1676739825116.jpg",
        "pubDate": "Sat, 18 Feb 2023 17:31:27 GMT",
        "source": "dailymail",
        "category": "Entertainment"
    },
    {
        "title": "'Asbury Revival' marathon worship enters 10th day, similar services grow on other college campuses",
        "link": "https:\/\/www.foxnews.com\/us\/asbury-revival-marathon-worship-senters-10th-day-similar-services-grow-other-college-campuses",
        "image": "https:\/\/a57.foxnews.com\/static.foxnews.com\/foxnews.com\/content\/uploads\/2023\/02\/931\/523\/Asbury4.jpg?ve=1&tl=1",
        "pubDate": "Sat, 18 Feb 2023 17:34:45 GMT",
        "source": "foxnews",
        "category": "USA"
    },
    {
        "title": "Brentford 1-1 Crystal Palace: Vitaly Janelt's equaliser allows the Bees to snatch a point",
        "link": "https:\/\/www.dailymail.co.uk\/sport\/football\/article-11766545\/Brentford-1-1-Crystal-Palace-Vitaly-Janelts-equaliser-allows-Bees-snatch-point.html",
        "image": "https:\/\/i.dailymail.co.uk\/1s\/2023\/02\/18\/17\/67829917-0-image-a-93_1676740790501.jpg",
        "pubDate": "Sat, 18 Feb 2023 17:21:55 GMT",
        "source": "dailymail",
        "category": "Sport"
    },
    {
        "title": "From Apple Watches to Siri and the smartphones harvesting priceless information about our live",
        "link": "https:\/\/www.dailymail.co.uk\/news\/article-11766553\/From-Apple-Watches-Siri-smartphones-harvesting-priceless-information-live.html",
        "image": "https:\/\/i.dailymail.co.uk\/1s\/2023\/02\/18\/16\/67829119-0-image-m-37_1676738497109.jpg",
        "pubDate": "Sat, 18 Feb 2023 17:26:26 GMT",
        "source": "dailymail",
        "category": "USA"
    },
    {
        "title": "NATO doubles down: Highlights from the Munich Security Conference",
        "link": "https:\/\/www.rt.com\/news\/571709-munich-security-conference-highlights\/",
        "image": "https:\/\/mf.b37mrtl.ru\/files\/2023.02\/thumbnail\/63f0f9d92030275cd12aae67.jpg",
        "pubDate": "Sat, 18 Feb 2023 17:34:30 +0000",
        "source": "rt",
        "category": "World"
    },
    {
        "title": "A Chinese spy balloon, missiles and \u2018UFOs,: What we,ve learned about string of objects shot down by the US",
        "link": "https:\/\/www.independent.co.uk\/news\/world\/americas\/us-politics\/china-spy-balloon-shot-down-biden-b2285044.html",
        "image": "https:\/\/static.independent.co.uk\/2023\/02\/15\/11\/present%20and%20future%20of%20spy%20balloons%20Indycomp%20copy.jpg?width=1200&auto=webp",
        "pubDate": "Sat, 18 Feb 2023 17:21:58 GMT",
        "source": "independent",
        "category": "World"
    },
    {
        "title": "Kremlin critic missing amid prison transfer, allies say",
        "link": "https:\/\/www.independent.co.uk\/news\/world\/europe\/ap-russia-kremlin-estonia-ukraine-b2285052.html"},{"_note":"Response truncated for documentation purposes"}]
                                                                                                                                                                                                                    
                                                                                                    

获取一百条新闻 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/1108/%e6%9c%80%e6%96%b0%e6%b6%88%e6%81%af+api/970/%e8%8e%b7%e5%8f%96%e4%b8%80%e7%99%be%e6%9d%a1%e6%96%b0%e9%97%bb' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 最新消息 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

最新消息 API FAQs

每个端点返回近期新闻文章的列表,包括标题、出版日期、来源、类别和完整文章的链接等详细信息。 例如,“获取五十条新闻”端点提供具有这些属性的50条当前新闻项

响应数据中的关键信息字段包括“标题”(文章标题)“链接”(文章的URL)“图片”(缩略图URL)“发布时间”(出版日期)“来源”(新闻机构)和“类别”(文章主题)

响应数据被组织为一个 JSON 数组,每个元素代表一篇新闻文章。每个文章对象包含标题、链接、图片、出版日期、来源和类别等属性的键值对

每个端点提供对各种新闻主题的访问,包括健康、科技、体育和娱乐。用户可以根据使用的端点检索50或100篇最近的文章

数据来源于多家声誉良好的新闻机构,确保了观点和主题的多样性。例子包括CBC、The Sun和SCMP,这些都丰富了新闻内容

目前 API 不支持用于过滤或排序新闻文章的可自定义参数 用户只能在两个端点之间选择一次检索 50 或 100 篇文章

典型的用例包括开发新闻聚合器 为网站或移动应用创建自定义新闻源 以及将新闻数据与其他API集成以增强内容 如天气或财经更新

通过与已建立的新闻来源合作,数据准确性得以维护,这些新闻来源定期更新内容 该API汇集了这些信息,确保用户获得最新和最可靠的新闻文章

一般常见问题

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 日之前提交请求,您的付款将在此时间范围内处理。


相关 API