{"uid":"cap_1SBLoZv0hZahRQFQ8rEmF","slug":"scrapfly-top-news-api-154e2c92","name":"ScrapFly Top News API","description":"69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.","url":"https://scrapfly.vercel.app/api/news/top?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Input query"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MxlYhZtGadc0Vd2JIcbJC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the top news articles matching a given query, powered by ScrapFly's web scraping infrastructure","exampleAgentPrompt":"Pull the top news articles about 'AI regulation' using ScrapFly's news endpoint and show me what's trending right now.","exampleUseCases":[{"title":"Daily briefing on a topic","prompt":"What are the top news stories about climate change today? Give me a quick briefing with the latest headlines."},{"title":"Competitive intelligence monitoring","prompt":"Fetch the top news articles mentioning 'OpenAI' so I can see what press coverage they're getting right now."},{"title":"Research for a market report","prompt":"Pull the top news results for 'electric vehicles battery supply chain' — I need to see what's being reported this week for a market analysis I'm writing."}],"resultDescription":"Returns a success flag and a data object containing top news articles matching the submitted query — likely including headlines, article metadata, and source information scraped from news sources via ScrapFly's infrastructure.","failureModes":["Empty or vague query returns no results or low-quality matches","Query string too long or malformed returns a validation error","Scraping target temporarily blocked leads to empty or partial results","Network timeout if upstream news sources are slow to respond","Payment not processed (x402 flow fails) results in 402 error before scraping begins"],"whenToPreferThis":"Use this endpoint when you need real-time or near-real-time top news articles for a specific topic or keyword, especially in an agent context where you want to pay per request without a subscription. Prefer it over general web search endpoints when you specifically want news-formatted content. It is distinct from full-page scrapers because it is purpose-built to surface top news results for a query.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:44:55.499Z","isFirstParty":false,"canonicalSlug":"scrapfly-top-news-api-154e2c92"}