{"uid":"cap_Zqkngq9-DlLDl6gAmhyt4","slug":"delx-commerce-page-links-summary-html-regex-extract-388f105b","name":"Delx Commerce — Page Links Summary (HTML Regex Extract)","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/page-links-summary?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","description":"Input field: html."},"limit":{"type":"integer","description":"Input field: limit."}}},"responseSchema":{"type":"json","example":{"ok":true,"note":"Local HTML regex extract; not a browser","count":2,"links":["https://example.com","/about"],"schema":"delx/util-page-links-summary/v1","truncated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WVVFIe_XqDY62WV7eBkSU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all hyperlinks from raw HTML using regex, returning a deduplicated list of URLs up to an optional limit.","exampleAgentPrompt":"Here's the raw HTML I fetched from a page — can you extract all the links from it, up to 50, and give me the list?","exampleUseCases":[{"title":"Crawl seed URLs from homepage","prompt":"I've got the raw HTML from the homepage I just fetched — pull out all the links so I can decide which pages to crawl next, limit it to 100 URLs."},{"title":"Audit internal vs external links","prompt":"Here's the HTML of our product page — extract all the links from it (limit to 200) so I can check which ones are internal and which go to external domains."},{"title":"Extract navigation menu links","prompt":"I downloaded this HTML and I need a clean list of all the hrefs in it — up to 30 links — so I can build a sitemap from the navigation structure."}],"resultDescription":"Returns a JSON object with: `ok` boolean, a `note` clarifying that extraction is regex-based (not browser-rendered), `count` of links found, a `links` array of extracted URL strings, the schema identifier `delx/util-page-links-summary/v1`, and a `truncated` boolean indicating whether the result was capped by the limit parameter.","failureModes":["Malformed or empty HTML input may return an empty links array with count 0","JavaScript-rendered content will not be extracted since this is regex-based, not a headless browser","Very large HTML strings may hit request size limits","Limit parameter set to 0 or negative values may produce unexpected behavior","Relative URLs (e.g. /about) are returned as-is without being resolved to absolute URLs"],"whenToPreferThis":"Choose this endpoint when you already have raw HTML content in memory and need a fast, cheap ($0.002 USDC), no-signup link extraction without spinning up a headless browser. Ideal for pipeline steps in an agent crawl loop where you've already fetched HTML and need to enumerate links for further processing. Not suitable if you need JavaScript-rendered links or full page rendering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:42:28.576Z","isFirstParty":false,"canonicalSlug":"delx-commerce-page-links-summary-html-regex-extract-388f105b"}