{"uid":"cap_H19iMb32aoD7_5IbPMG7X","slug":"css-meta-charset-extractor-0ee9e74b","name":"CSS Meta Charset Extractor","description":"Call when an agent needs meta charset values via meta[charset] from a public page or HTML (SSRF-safe). Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/css-meta-charset first.","url":"https://agentshelf.syntexa.ch/v1/css-meta-charset?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.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e4NoKxXeCamWMUBU0hrpE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the meta charset value from the meta[charset] element of a public webpage or raw HTML string","exampleAgentPrompt":"Can you extract the meta charset value from https://example.com — I need to know what character encoding that page declares in its HTML head?","exampleUseCases":[{"title":"Verify site character encoding compliance","prompt":"Check what character encoding is declared on https://myshop.com — I need to confirm it's using UTF-8 in the meta charset tag before we migrate the database."},{"title":"Parse charset from raw HTML snippet","prompt":"I have this raw HTML from a legacy site — can you pull out the meta charset value from it so I know what encoding to expect when processing the content?"},{"title":"Audit third-party page encoding","prompt":"What charset does https://partner-site.org declare in its meta tag? I want to make sure their pages are compatible with our text processing pipeline."}],"resultDescription":"Returns the value of the meta[charset] attribute found in the HTML head of the given URL or raw HTML string, such as 'UTF-8' or 'ISO-8859-1'. If no charset meta tag is found, the response will indicate absence.","failureModes":["URL is unreachable or returns a non-200 HTTP status — fetch fails","URL points to an internal or private network address — rejected by SSRF protection","HTML does not contain a meta[charset] element — returns empty or null result","HTML input exceeds 200,000 character limit — request rejected","URL string shorter than 8 characters or longer than 2048 characters — validation error","Malformed HTML that cannot be parsed — may return null or empty result","Payment of $0.009 USDC not provided — 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to extract specifically the meta[charset] value from a public webpage or a raw HTML string in a safe, SSRF-protected way. Prefer the free sandbox endpoint POST /v1/sandbox/css-meta-charset first if available. Choose this over general HTML scrapers when you only need the charset metadata and want a lightweight, purpose-built extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:47:33.419Z","isFirstParty":false,"canonicalSlug":"css-meta-charset-extractor-0ee9e74b"}