{"uid":"cap_fGpiDJTM48CmXOhlchOGV","slug":"agentshelf-css-article-extractor-f6162061","name":"AgentShelf CSS Article Extractor","description":"Call when an agent needs article text via article from a public page or HTML (SSRF-safe). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/css-article first.","url":"https://agentshelf.syntexa.ch/v1/css-article?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DMNq2s9SY-FO5_PQ1N1MZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the main article text from a public web page URL or raw HTML using CSS-based parsing, with SSRF protection.","exampleAgentPrompt":"Can you grab the main article text from this page for me? Here's the URL: https://example.com/some-news-article — I just need the readable body content, not the navigation or ads.","exampleUseCases":[{"title":"Research article summarization pipeline","prompt":"Pull the article text from https://techcrunch.com/2024/01/15/some-article so I can summarize what it says about the latest AI funding round."},{"title":"Content archiving from raw HTML","prompt":"I've got the raw HTML of a blog post — can you extract just the article body text from it so I can store the clean content in my database?"},{"title":"Fact-checking article content","prompt":"Fetch the article text from https://reuters.com/world/some-story so I can cross-reference the claims it makes against my knowledge base."}],"resultDescription":"Returns the extracted main article text from the given URL or HTML, stripped of navigation, ads, and other page boilerplate, as clean readable text.","failureModes":["URL is unreachable or returns non-200 status — extraction fails","Page is behind a paywall or login wall — content not accessible","HTML is malformed or too short — no article content detected","URL blocked by SSRF safety rules (private IP ranges, internal hosts) — request rejected","HTML exceeds 200,000 character limit — input too large error","No recognizable article content found in page — empty or null result"],"whenToPreferThis":"Use this endpoint when an agent needs to extract clean article body text from a public web page URL or raw HTML snippet, especially when SSRF safety is required. Prefer this over general-purpose scrapers when you specifically need article-formatted content (news, blog posts, editorial pages). Try the free sandbox endpoint POST /v1/sandbox/css-article first to validate before incurring the $0.003 USDC charge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:01.056Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-article-extractor-f6162061"}