{"uid":"cap_lzUkApQJhFJ0TazBzaxyC","slug":"agentshelf-profile-meta-charset-extractor-54eaf95d","name":"AgentShelf Profile Meta Charset Extractor","description":"Call when an agent needs meta charset values extracted from a public page or HTML (SSRF-safe). Send JSON fields html (string). Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/profile-meta-charset first.","url":"https://agentshelf.syntexa.ch/v1/profile-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 name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\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.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JsW3Wc1ZFHlOXpxyzlfbe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts meta charset values from a public URL or raw HTML string, with SSRF protection.","exampleAgentPrompt":"Can you extract the meta charset value declared in the HTML of https://example.com for me?","exampleUseCases":[{"title":"Check page encoding before scraping","prompt":"Before I start scraping this site, can you tell me what character encoding is declared in the meta charset tag at https://www.bbc.com?"},{"title":"Validate charset in raw HTML snippet","prompt":"I have this HTML snippet I just fetched — can you pull out the meta charset value from it so I know how to decode the content properly? Here's the HTML: <!DOCTYPE html><html><head><meta charset=\"UTF-8\"><title>Test</title></head><body></body></html>"},{"title":"Audit site encoding declarations","prompt":"I'm auditing a list of sites for encoding issues — can you extract the meta charset from https://legacy-site.example.org so I can log what encoding it claims to use?"}],"resultDescription":"Returns the character encoding value declared in the HTML page's meta charset tag (e.g. 'UTF-8', 'ISO-8859-1'), parsed either from a fetched public URL or a provided raw HTML string.","failureModes":["URL is unreachable or returns non-200 status — extraction fails","No meta charset tag present in the HTML — returns empty or null result","SSRF-blocked URL (private IP ranges, localhost) — request rejected for security","HTML input exceeds 200,000 character limit — request rejected","URL shorter than 8 characters or longer than 2048 — validation error","Malformed HTML with no parseable head section — charset cannot be extracted"],"whenToPreferThis":"Choose this endpoint when you need to programmatically determine the character encoding declared in a webpage's meta charset tag, either by providing a public URL (SSRF-safe fetch) or raw HTML. Prefer the free sandbox endpoint (/v1/sandbox/profile-meta-charset) for testing or low-volume use before paying $0.005 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:43:52.733Z","isFirstParty":false,"canonicalSlug":"agentshelf-profile-meta-charset-extractor-54eaf95d"}