{"uid":"cap_fCMWzKyaC-6KGSy_BvlTq","slug":"scrapfly-headlines-api-36895dab","name":"ScrapFly Headlines 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/crawl/headlines?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["topic"],"properties":{"count":{"type":"number","description":"count"},"topic":{"type":"string","description":"topic"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pBonM9lwAAUj4ldJG5oc1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current news headlines for a given topic, returning a structured list of headline data","exampleAgentPrompt":"Can you pull the latest 10 headlines about artificial intelligence so I can see what's trending in the news right now?","exampleUseCases":[{"title":"Daily news briefing for a topic","prompt":"Fetch me the top 5 headlines about electric vehicles today so I can include them in my morning briefing."},{"title":"Competitive intelligence monitoring","prompt":"Pull the latest 15 headlines about Tesla so I can see what the press is saying about them this week."},{"title":"Research assistant news sweep","prompt":"Get me the current headlines about climate policy — I need about 20 results to scan for relevant stories for my research report."}],"resultDescription":"Returns a success flag and a data object containing structured headline information for the requested topic, including article titles and potentially source or link metadata, up to the requested count.","failureModes":["Missing required 'topic' field returns a validation error","Invalid count value (non-numeric) may cause a 400 error","Topic with no current coverage may return empty headline list","Network or scraping timeout may return a failure response with success: false","Rate limits or payment failures on the x402 Base chain may block the request"],"whenToPreferThis":"Choose this endpoint when you need real-time or near-real-time news headlines aggregated by topic without managing your own web scraping infrastructure. It is best suited for agents that need to quickly surface trending news on a keyword or subject, and when you want a pay-per-call model via USDC on Base rather than a subscription news API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:44:27.622Z","isFirstParty":false,"canonicalSlug":"scrapfly-headlines-api-36895dab"}