{"uid":"cap_CWyDRO1XOcdMJBY8XmWNC","slug":"agentshelf-h1-extractor-1fea5671","name":"AgentShelf H1 Extractor","description":"Call when an agent needs h1 text extracted from a public page or HTML (SSRF-safe). Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/profile-h1 first.","url":"https://agentshelf.syntexa.ch/v1/profile-h1?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.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SX_bmPPM1rygplr_3E-Vl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the first H1 heading text from a public web page URL or raw HTML input, with SSRF protection.","exampleAgentPrompt":"Can you grab the H1 heading text from https://example.com for me?","exampleUseCases":[{"title":"Verify competitor page headline","prompt":"What's the main H1 heading on https://competitor.com/product — I want to see exactly how they're positioning their product."},{"title":"Check landing page heading","prompt":"Pull the H1 text from https://mybrand.com/landing to confirm it still reads 'Start Your Free Trial' after the latest deploy."},{"title":"Extract article title from HTML","prompt":"I have some raw HTML from a news article — can you extract the H1 heading text from it so I know the article title?"}],"resultDescription":"Returns the text content of the first H1 element found in the fetched page or provided HTML. If no H1 is present, likely returns an empty or null result. SSRF-safe fetch is performed server-side when a URL is provided.","failureModes":["URL is private/internal IP (SSRF protection rejects it)","No H1 element found in the page or HTML","URL is unreachable or returns a non-200 status","HTML input exceeds 200,000 character limit","URL is malformed or shorter than 8 characters","Payment failure or insufficient USDC balance"],"whenToPreferThis":"Use this endpoint when you need specifically the H1 heading element from a public web page or raw HTML, with built-in SSRF safety. Prefer the free sandbox endpoint /v1/sandbox/profile-h1 for testing or when cost matters. Choose this over document-title endpoints when you need the visible on-page heading rather than the browser tab title.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:47:58.267Z","isFirstParty":false,"canonicalSlug":"agentshelf-h1-extractor-1fea5671"}