{"uid":"cap_1_fRejDdktwsAkyIonQSi","slug":"agentdiet-news-extractor-d07cbd8f","name":"AgentDiet News Extractor","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/news-extractor?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"query":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_29sQVSWKA7g8rLfKyXmGl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts and distills news content from the web via a query parameter, compressing it for token-efficient agent consumption","exampleAgentPrompt":"Search for the latest news about AI regulation and give me the extracted content, keeping it as compressed as possible so it fits in my context window.","exampleUseCases":[{"title":"Compressed news briefing for agent","prompt":"Pull the latest news about the Federal Reserve interest rate decisions and give me the distilled version — I need it compact enough to fit into my agent's context window without wasting tokens."},{"title":"Topic monitoring for research pipeline","prompt":"Fetch current news articles about climate change policy and extract the key content so I can analyze trends without burning through my context limit."},{"title":"Breaking news extraction for automation","prompt":"Get me the latest breaking news on the US election and extract the content in a compressed format I can pass to downstream agents in my workflow."}],"resultDescription":"Returns a JSON object with a 'data' field containing extracted news content, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) achieved during extraction.","failureModes":["Missing or empty 'query' parameter returns empty or error data","Invalid HTTP method returns schema validation error","Payment not settled in USDC on Base results in 402 payment required","Network timeout when fetching source news pages","Query returns no matching news articles, yielding empty data object"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to fetch and extract news content while aggressively minimizing token usage — particularly in A2A or MCP pipeline contexts where context window cost matters. It is purpose-built for agent-to-agent workflows with built-in compression metrics, making it superior to generic scraping APIs when token efficiency is the primary constraint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:52.645Z","isFirstParty":false,"canonicalSlug":"agentdiet-news-extractor-d07cbd8f"}