{"uid":"cap_R-KLqgOrtAEh6DncOj_CL","slug":"agentdiet-news-extractor-68391217","name":"AgentDiet News Extractor","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.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_RgIKOVIoBCkHUC1BhwV4b","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 using a search query, returning compressed, token-efficient structured data via a pay-per-call micropayment endpoint.","exampleAgentPrompt":"Search for the latest news about 'AI regulation in Europe' and give me a compressed, token-efficient summary — I need it to fit cleanly into my context window without eating up my token budget.","exampleUseCases":[{"title":"Token-efficient news briefing for agents","prompt":"Pull the latest news on 'Federal Reserve interest rate decisions' and compress it down so it fits in my agent's context window — I want the key facts without all the bloat."},{"title":"RAG pipeline news ingestion","prompt":"Fetch and distill news articles about 'climate tech startups' for my RAG pipeline — I need structured, compressed data with minimal tokens so I can process more articles per run."},{"title":"Real-time topic monitoring for AI workflow","prompt":"Get me a compressed news extract on 'OpenAI product announcements' — something my agent can read quickly without consuming half my context limit."}],"resultDescription":"Returns a JSON object with a 'data' field containing the extracted news content, a 'status' field indicating success, and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) — quantifying how much token bloat was removed relative to the raw source.","failureModes":["Missing or empty 'query' parameter returns empty or unhelpful results","Invalid 'type' or 'method' values in the input object cause schema validation errors","Payment not settled in USDC on Base results in 402 Payment Required response","Rate limiting or upstream news source unavailability returns error status","Query too broad or ambiguous may return low-relevance extracted content"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to fetch news content but must preserve context window budget — the built-in compression (up to 91%+ token reduction) makes it far superior to raw web scraping or unprocessed news APIs for LLM pipelines. Ideal for RAG architectures, agentic workflows with tight token limits, and B2A/A2A scenarios where micropayment-per-call pricing ($0.01 USDC) is preferable to subscription models.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:19.741Z","isFirstParty":false,"canonicalSlug":"agentdiet-news-extractor-68391217"}