{"uid":"cap_HE-AnrbdVt9f0JmGPID6E","slug":"agentshelf-syntexa-ch-xpath-image-alt-extractor-8fe1be59","name":"agentshelf.syntexa.ch XPath Image Alt Extractor","description":"Call when an agent needs alt attributes of //img via //img/@alt from a public page or HTML (SSRF-safe). Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/xpath-img-alt first.","url":"https://agentshelf.syntexa.ch/v1/xpath-img-alt?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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_54pDTpEjQuOhvv_-eEB5N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts alt attribute values from all img elements on a public webpage or HTML snippet using XPath (//img/@alt), SSRF-safe.","exampleAgentPrompt":"Can you pull out all the image alt text from https://example.com/about — I want to see what descriptions every img tag has on that page?","exampleUseCases":[{"title":"SEO image alt audit","prompt":"Go to https://myblog.com/homepage and extract all the image alt attributes — I need to review whether our images have proper alt text for SEO."},{"title":"Accessibility compliance check","prompt":"Fetch all img alt values from this HTML snippet I have and tell me which images are missing alt descriptions so I can fix accessibility issues."},{"title":"Competitor image metadata research","prompt":"Scrape the alt text from every image on https://competitor.com/products and give me the full list so I can see how they label their product photos."}],"resultDescription":"Returns a list of alt attribute values extracted from all img elements found on the given page or HTML, using the XPath expression //img/@alt. Results may be empty strings where images lack alt attributes.","failureModes":["URL is not publicly accessible or returns a non-200 status","SSRF-blocked URL (private IP ranges, localhost) rejected for security","HTML content exceeds 200,000 character limit","URL string shorter than 8 characters or longer than 2048 characters","Page has no img elements, returning empty array","Malformed HTML that cannot be parsed","Network timeout fetching the remote URL"],"whenToPreferThis":"Use this endpoint when you need to extract specifically the alt attributes from img elements on a public webpage or HTML string. It is purpose-built for XPath-based alt text extraction and is SSRF-safe. Prefer the free sandbox POST /v1/sandbox/xpath-img-alt endpoint first if available; use this paid version when the sandbox is unavailable or rate-limited. Choose this over general HTML scrapers when you specifically need structured alt attribute data rather than full page content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:56.187Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-xpath-image-alt-extractor-8fe1be59"}