{"uid":"cap_ZEZLQiA_vZuFTj8GRGOur","slug":"2s-news-search-api-3eafe9e1","name":"2s News Search API","description":"Live news search. Returns recent headlines with title, URL, snippet, publisher source, relative age, and a breaking-news flag — real-time coverage past any model training cutoff. Supports count (1-20), offset, country (2-letter), and freshness (pd=past day, pw=past week, pm=past month, py=past year). Use for current events, market-moving developments, monitoring, and \"what happened with X\" questions. For general web results see /api/search/web; for Hacker News specifically see /api/news/hn-top.","url":"https://2s.io/api/news/search","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["q"],"properties":{"q":{"type":"string","description":"News query."},"count":{"type":"integer","default":10,"maximum":20,"minimum":1},"offset":{"type":"integer","default":0,"maximum":9,"minimum":0},"country":{"type":"string","description":"2-letter country code, e.g. US."},"freshness":{"type":"string","description":"pd | pw | pm | py."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"q":"artificial intelligence","count":10,"offset":0}}},"response":{"data":{"ok":true,"meta":{"query":"artificial intelligence"},"items":[{"age":"2 days ago","url":"https://www.nytimes.com/2026/06/09/us/ai-lawyers-sanctioned-mississippi.html","title":"Judge Punishes 4 Lawyers After Catching Both Sides Using A.I. in Lawsuit - The New York Times","source":"www.nytimes.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/MCrNQ2NxJyuxEJk58vPy6Fc_VPFuJYiUcx7WCamOROA/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9zdGF0/aWMwMS5ueXQuY29t/L2ltYWdlcy8yMDI2/LzA2LzA5L211bHRp/bWVkaWEvMDl4cC1s/YXd5ZXJzLWdrd2wv/MDl4cC1sYXd5ZXJz/LWdrd2wtZmFjZWJv/b2tKdW1iby5qcGc","description":"A federal judge in Mississippi has punished all four lawyers on opposing sides in a civil trial and canceled the proceedings after some of them, relying on artificial intelligence, cited fake legal cases in court filings."},{"age":"2 days ago","url":"https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-fable-5-brings-mythos-to-the-masses-anthropics-next-frontier-model-is-state-of-the-art-on-nearly-all-tested-benchmarks","title":"Claude Fable 5 brings Mythos to the masses — Anthropic's new frontier model is 'state-of-the-art on nearly all tested benchmarks' | Tom's Hardware","source":"www.tomshardware.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/aHRIK2PGTYFwYsqasxPjbCrS7_jEYx1sj-VqDPgoXIE/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9jZG4u/bW9zLmNtcy5mdXR1/cmVjZG4ubmV0L2lB/dEpUNkFiOGdQdTNp/RFpxOWJDbkwtMTky/MC04MC5qcGc","description":"Artificial Intelligence Anthropic's Claude Mythos might be the best overall AI model for cybersecurity but cheaper models can attain similar results, research shows"},{"age":"2 days ago","url":"https://gizmodo.com/judge-cancels-whole-case-after-lawyers-admit-they-didnt-read-ai-generated-filings-2000769668","title":"Judge Cancels Whole Case After Lawyers Admit They Didn't Read AI-Generated Filings","source":"gizmodo.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/Gha_1ZerBFlO4HaGSuMNA6FMTn8mb2uSYVtUJFc2CCg/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9naXpt/b2RvLmNvbS9hcHAv/dXBsb2Fkcy8yMDI1/LzExL2dhdmVsLTEy/MDB4Njc1LmpwZw","description":"We're building a world in which you have to double-check your lawyers' work."},{"age":"2 days ago","url":"https://www.politico.com/news/2026/06/09/anthropic-makes-mythos-level-ai-model-available-to-the-public-00954829","title":"Anthropic releases a less-powerful version of its most advanced model - POLITICO","source":"www.politico.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/b8SLhrGweWnZQO18xXN6FzbWI6dmnUTIb-aSbw6-uy4/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly93d3cu/cG9saXRpY28uY29t/L2RpbXM0L2RlZmF1/bHQvcmVzaXplLzEy/MDAvcXVhbGl0eS85/MC9mb3JtYXQvanBn/P3VybD1odHRwcyUz/QSUyRiUyRnN0YXRp/Yy5wb2xpdGljby5j/b20lMkZjMCUyRmFk/JTJGZDcyN2EyY2I0/NjliOTY1YmRkYTgz/MGY1NTExNSUyRmh0/dHBzLWRlbGl2ZXJ5/LWdldHR5aW1hZ2Vz/LmNvbSUyRmRvd25s/b2FkcyUyRjIyNzE4/MDU2NzQ","description":"Anthropic on Tuesday unveiled a new “Mythos-class” model for general use, as concerns around the release of advanced artificial intelligence tools with powerful hacking capabilities deepen."},{"age":"16 hours ago","url":"https://www.fool.com/investing/2026/06/11/better-artificial-intelligence-ai-stock-marvell-te/","title":"Better Artificial Intelligence (AI) Stock: Marvell Technology vs. Broadcom | The Motley Fool","source":"www.fool.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/6Mf5FV6IaIB8ONQx4N0p7DT7FWjtwprlrkWUMY4OKFE/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9nLmZv/b2xjZG4uY29tL2lt/YWdlLz91cmw9aHR0/cHMlM0ElMkYlMkZn/LmZvb2xjZG4uY29t/JTJGZWRpdG9yaWFs/JTJGaW1hZ2VzJTJG/ODczNzk0JTJGcGVy/c29uLXNwZWNzLWlu/dGVncmF0ZWQtY2ly/Y3VpdC5qcGcmYW1w/O3c9MTIwMCZhbXA7/b3A9cmVzaXpl","description":"Investors looking to add one of these AI stocks to their portfolios right now have an easy choice to make."},{"age":"12 hours ago","url":"https://finance.yahoo.com/markets/stocks/articles/artificial-intelligence-ai-etf-showdown-165048345.html","title":"Artificial Intelligence (AI) ETF Showdown: Vanguard's VGT vs. the iShares SOXX","source":"finance.yahoo.com","breaking":false,"thumbnail":null,"description":"Compare portfolio diversity, volatility, and sector focus as these two tech ETFs take different approaches to growth and risk management."},{"age":"2 days ago","url":"https://www.nytimes.com/2026/06/09/technology/anthropic-ai-claude-fable-mythos.html","title":"Anthropic Releases ‘Safe’ Version of Its Mythos A.I. Technology - The New York Times","source":"www.nytimes.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/qToOg9uShQXYbLsR0jma9Y-nA1PVHiRnrF034GoQCEw/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9zdGF0/aWMwMS5ueXQuY29t/L2ltYWdlcy8yMDI2/LzA2LzA4L211bHRp/bWVkaWEvQklaLUNs/YXVkZS1GYWJsZS1o/bG1mL0JJWi1DbGF1/ZGUtRmFibGUtaGxt/Zi1mYWNlYm9va0p1/bWJvLmpwZw","description":"Anthropic’s logo at a company event. The start-up’s Mythos artificial intelligence system caused worries about the security of computer networks.Credit...Jason Henry for The New York Times"},{"age":"15 hours ago","url":"https://www.psychologytoday.com/us/blog/harnessing-hybrid-intelligence/202601/artificial-intelligence-for-inspired-action","title":"Artificial Intelligence for Inspired Action | Psychology Today","source":"www.psychologytoday.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/x_espun_wRLcl794GtPG7bYsRTq5LtZDrU5rFt93Vuw/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9jZG4y/LnBzeWNob2xvZ3l0/b2RheS5jb20vYXNz/ZXRzL3N0eWxlcy9t/YW51YWxfY3JvcF8x/XzkxXzFfMTUyOHg4/MDAvcHVibGljL3Rl/YXNlcl9pbWFnZS9i/bG9nX2VudHJ5LzIw/MjYtMDYvY2hhdGdw/dF9pbWFnZV9qdW5f/MTFfXzIwMjZfXzAz/XzQ5XzAyX3BtLnBu/Zy5qcGc_aXRvaz1X/UmJZdjZiUA","description":"Everything is connected and affected in an AI-mediated environment. To be proactive players, we must understand and deliberately influence how our hybrid environment impacts us."},{"age":"2 days ago","url":"https://www.theguardian.com/technology/2026/jun/09/anthropic-claude-mythos-ai-model","title":"Anthropic releases ‘safe’ version of Claude Mythos AI model to public | AI (artificial intelligence) | The Guardian","source":"www.theguardian.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/scWgA0RF-q7FbuSMNJUCDIxW-cGR0QujKYN1avZDhmc/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9pLmd1/aW0uY28udWsvaW1n/L21lZGlhL2MxZDg0/MmY4ZDFmMjhmMGE2/N2JlNGE0MGQ5MTIx/YzBiNTUzMGYwZTAv/NTU5XzBfNTU5MF80/NDc0L21hc3Rlci81/NTkwLmpwZz93aWR0/aD0xMjAwJmhlaWdo/dD02MzAmcXVhbGl0/eT04NSZhdXRvPWZv/cm1hdCZmaXQ9Y3Jv/cCZwcmVjcm9wPTQw/OjIxLG9mZnNldC14/NTAsb2Zmc2V0LXkw/Jm92ZXJsYXktYWxp/Z249Ym90dG9tJTJD/bGVmdCZvdmVybGF5/LXdpZHRoPTEwMHAm/b3ZlcmxheS1iYXNl/NjQ9TDJsdFp5OXpk/R0YwYVdNdmIzWmxj/bXhoZVhNdmRHY3Ra/R1ZtWVhWc2RDNXdi/bWMmZW5hYmxlPXVw/c2NhbGUmcz02MTEy/M2RlMmEyMDYzM2My/YzdjMTYwNDNiZjg2/N2UxNA","description":"Anthropic, the maker of the Claude artificial intelligence (AI) models, made a new version of its technology available to the general public on Tuesday while restricting its use in sensitive areas."},{"age":"16 hours ago","url":"https://abcnews.com/Technology/wireStory/skills-people-perform-ai-workplace-experts-133780408","title":"The skills people still perform better than AI, according to workplace experts - ABC News","source":"abcnews.com","breaking":false,"thumbnail":"https://imgs.search.brave.com/Uee0Y7c7Fa1Tc2k6OPpjylGDivfAsQVGKWLvQQKmGEg/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly9pLmFi/Y25ld3NmZS5jb20v/YS8zYzRhMWUxNy1k/MjljLTQ1YmYtODE4/Yy1lYWNkNWQ2ZmI1/NWQvd2lyZXN0b3J5/XzBjZTg4ZDQ0OGYw/YjdhODdjNzJiNjI0/MTMwNWE2MWYyXzE2/eDkuanBnP3c9MTYw/MA","description":"Many workers fear machines will supplant them as adoption of artificial intelligence accelerates"}],"total":null,"source":{"url":"https://brave.com/search/api/","license":"Brave Search API terms","provider":"Brave Search API"}},"meta":{"cost":{"usd":0.009,"tier":2},"caller":"x402","version":null,"endpoint":"news.search","settlement":{"txHash":"0xc5b46a3703dd678e956a93e0bdf0cafbb0d6a11f7c4f1b3e7546d65978f2e142","network":"eip155:8453","success":true}}}},"exampleRequest":{"q":"artificial intelligence","count":10,"offset":0},"tags":["x402"],"displayCostAmount":"0.009","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0225","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0225","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XZlz4SdrblQCE_MbUfOYm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0225","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search for recent news articles by keyword, country, and freshness using Brave Search as the underlying provider","exampleAgentPrompt":"Search for the latest news about quantum computing — give me 10 results from the past week, filtered to the US.","exampleUseCases":null,"resultDescription":"A JSON object with an 'ok' boolean, a 'meta' object echoing the query, an 'items' array of news articles (each with title, URL, description, source domain, age, breaking flag, and optional thumbnail), and a 'source' object crediting Brave Search API.","failureModes":["Missing required 'q' parameter returns a validation error","'count' exceeding 20 or 'offset' exceeding 9 returns a schema validation error","Invalid country code may return no results or an error","Payment not included or insufficient USDC causes 402 Payment Required","Query returns zero results when no news matches the given filters"],"whenToPreferThis":"Use this endpoint when an AI agent needs to retrieve current news articles by keyword without requiring API keys or subscriptions, especially in pay-per-call agentic workflows using x402 on Base or Solana. Prefer it over general web search endpoints when the task is specifically news-oriented and freshness/country filtering is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:47:28.700Z","isFirstParty":false}