{"uid":"cap_8_oAyrqixUlufn3xzXRIP","slug":"agentshelf-css-script-source-extractor-92a91a5f","name":"AgentShelf CSS/Script Source Extractor","description":"Call when an agent needs script sources via script[src] from a public page or HTML (SSRF-safe). Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/css-script-src first.","url":"https://agentshelf.syntexa.ch/v1/css-script-src?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 charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\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.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HI-ZmEHimSxgQqNjEx60-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all script[src] URLs from a public webpage or raw HTML content in an SSRF-safe manner","exampleAgentPrompt":"Can you pull all the script[src] URLs from https://example.com so I can see what external JavaScript files the page loads?","exampleUseCases":[{"title":"Third-party script audit for security","prompt":"I need to audit the external scripts loaded by https://shop.acme.com — can you extract all the script src URLs so I can check for any suspicious or unexpected third-party JavaScript?"},{"title":"JavaScript dependency discovery from raw HTML","prompt":"I have this HTML snippet from a competitor's page and I want to know which JavaScript libraries they're using — can you parse out all the script src attributes from it?"},{"title":"CSP policy generation preparation","prompt":"I'm building a Content Security Policy for https://myblog.example.com and need a full list of every script source the page currently loads — can you get those for me?"}],"resultDescription":"A JSON array or structured list of script[src] attribute values found within the page or HTML, representing all external and inline JavaScript source URLs referenced in script tags. The response is SSRF-safe, meaning server-side request forgery vectors are mitigated by the provider.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error or empty result","HTML input exceeds 200,000 character limit — request rejected","URL string shorter than 8 characters or longer than 2,048 characters — validation error","Page has no script[src] tags — returns empty list","SSRF-restricted URL (private IP ranges, localhost) — blocked by safety filter","Malformed HTML — parser may miss some tags or return partial results"],"whenToPreferThis":"Use this endpoint when you need to specifically extract script[src] URLs from a public webpage or arbitrary HTML string in an SSRF-safe way. It is purpose-built for JavaScript source discovery rather than general HTML parsing. Prefer the free POST /v1/sandbox/css-script-src endpoint first if available; fall back to this paid endpoint at $0.007 USDC when the sandbox is unavailable or rate-limited. Choose this over a full-page scraper when you only care about script sources, not full page content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:08.621Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-script-source-extractor-92a91a5f"}