{"uid":"cap_pWZHcRgW7-fCkwgNQUqMy","slug":"scrapfly-top-news-api-f9905a85","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://scravfly.vercel.app/api/news/top","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.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qZ2sdDd7Ylt_StDTL8OR0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches top news articles matching a query, returning structured news data via a pay-per-request web scraping API.","exampleAgentPrompt":"Can you fetch the top news articles about artificial intelligence right now? I want to see what the biggest current stories are on that topic.","exampleUseCases":[{"title":"Monitoring competitor news coverage","prompt":"Pull the top news articles mentioning 'OpenAI' so I can see what's being reported about them today."},{"title":"Research briefing on a topic","prompt":"Get me the top news headlines about climate change — I need a quick overview of the biggest current stories on that subject."},{"title":"Financial news for investment research","prompt":"What are the top news stories about Tesla right now? I want to know what's making headlines before the market opens."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing structured news article data — likely including headlines, sources, URLs, and publication details for top news matching the query.","failureModes":["Empty or vague query returns no results or low-relevance articles","Query string missing causes 400/validation error","Payment failure on Base chain blocks request","Service unavailable due to upstream scraping issues","Rate limiting if called too frequently","Typos in query may return unrelated news"],"whenToPreferThis":"Choose this endpoint when you need programmatically fetched top news articles for a specific topic or keyword, especially in an autonomous agent context where pay-per-request via x402 on Base chain is acceptable. Prefer this over manual web browsing or general search APIs when you need structured news data that can be parsed and processed downstream.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:58:10.784Z","isFirstParty":false}