{"uid":"cap_B_BW1KPLlI8_ST4ho-1Vg","slug":"agentshelf-syntexa-extract-link-rel-preconnect-hrefs-from-page-or-html-6eee9716","name":"AgentShelf Syntexa - Extract link[rel=preconnect] hrefs from page or HTML","description":"Call when an agent needs link rel=preconnect hrefs extracted from a public page or HTML (SSRF-safe). Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/profile-rel-preconnect first.","url":"https://agentshelf.syntexa.ch/v1/profile-rel-preconnect?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_NV-y8o2upO0R4mwbMTWhO","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 all href values from link[rel=preconnect] elements in a public webpage or raw HTML string, returning them as a list.","exampleAgentPrompt":"Can you pull all the link rel=preconnect hrefs from https://example.com so I can see which third-party domains the page warms up connections to?","exampleUseCases":[{"title":"Audit third-party connection origins","prompt":"I want to see every domain that example.com preconnects to — can you extract all the link rel=preconnect hrefs from that page for me?"},{"title":"Analyze preconnect hints from raw HTML","prompt":"I have this HTML snippet from our site — can you parse it and give me all the link rel=preconnect href values it contains?"},{"title":"Performance dependency mapping","prompt":"Can you fetch https://shop.mybrand.com and list all the preconnect link hrefs so I can audit which CDNs and APIs we're loading?"}],"resultDescription":"A list of href values from all link[rel=preconnect] elements found in the provided URL or HTML input, enabling the caller to identify which external origins the page establishes early TCP/TLS connections with.","failureModes":["URL is not publicly accessible or returns non-200 status","HTML exceeds 200,000 character limit","URL shorter than 8 characters or longer than 2048 characters","No link[rel=preconnect] elements found (empty result)","SSRF attempt blocked by safety filter","Payment of $0.005 USDC not completed or rejected","Malformed HTML that cannot be parsed"],"whenToPreferThis":"Use this endpoint when you specifically need to extract link[rel=preconnect] href values from a live URL or raw HTML, and your agent is operating in a paid context (x402). Prefer the free sandbox endpoint POST /v1/sandbox/profile-rel-preconnect when available. Ideal for auditing third-party dependencies, performance diagnostics, or building resource-hint maps of websites.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:19.245Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-extract-link-rel-preconnect-hrefs-from-page-or-html-6eee9716"}