{"uid":"cap_QtVDMfjybTta7WCtYfX0E","slug":"agentshelf-css-header-extractor-d7224602","name":"AgentShelf CSS Header Extractor","description":"Call when an agent needs header text via header from a public page or HTML (SSRF-safe). Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/css-header first.","url":"https://agentshelf.syntexa.ch/v1/css-header?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.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CMmcg4LB39NEZxA5hOkV2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the primary header text (H1/H2 CSS header) from a public URL or raw HTML string, with SSRF protection.","exampleAgentPrompt":"Can you grab the main header text from https://example.com/product-page for me?","exampleUseCases":[{"title":"Competitor page header monitoring","prompt":"What is the main header on https://competitor.com/pricing right now? I want to know what headline they're leading with."},{"title":"Verify article headline from raw HTML","prompt":"I have this big chunk of HTML from an article — can you pull out just the main header text from it so I know what the piece is called?"},{"title":"Audit landing page headings","prompt":"Can you fetch the primary heading from https://mybrand.com/landing-spring-sale so I can check whether our campaign headline is live?"}],"resultDescription":"Returns the extracted header/heading text found in the page or HTML, typically the H1 or primary CSS-styled header element. The response is a text string representing the most prominent heading on the page.","failureModes":["URL is unreachable or returns non-200 status — extraction fails with an error","Provided HTML has no detectable header element — returns empty or null result","URL points to a private/internal address blocked by SSRF protection — request rejected","HTML content exceeds 200,000 character limit — input rejected","URL shorter than 8 characters or longer than 2048 characters — validation error","Page requires JavaScript rendering to display header — static extraction may return empty"],"whenToPreferThis":"Use this endpoint when you need to quickly extract just the primary header/heading text from a webpage or HTML blob, without needing full page content or metadata. Prefer this over general scrapers when header-only extraction is sufficient and cost efficiency matters. Use the unpaid sandbox POST /v1/sandbox/css-header first to test; fall back to this paid endpoint ($0.007 USDC) for production use or when the sandbox is unavailable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:11.113Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-header-extractor-d7224602"}