{"uid":"cap_p5O4XoruEpPJYSZo23Dh_","slug":"agentshelf-profile-script-src-extractor-87b76cab","name":"AgentShelf Profile Script Src Extractor","description":"Call when an agent needs script src values extracted from a public page or HTML (SSRF-safe). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/profile-script-src first.","url":"https://agentshelf.syntexa.ch/v1/profile-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 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.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2gKb7gbd6oBLzcnbVCf0U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all script tag src attribute values from a public web page or raw HTML, with SSRF protection.","exampleAgentPrompt":"Can you extract all the script src values from https://example.com — I want to see every JavaScript file that page loads?","exampleUseCases":[{"title":"Third-party script audit for a website","prompt":"Check https://shop.acmecorp.com and give me a list of all the external JavaScript scripts it loads — I want to audit what third-party dependencies they're using."},{"title":"Security scan of unknown page","prompt":"I have this HTML snippet and I need to know what script sources it references — can you pull out all the script src values so I can check them for anything suspicious?"},{"title":"CSP policy builder","prompt":"Fetch https://myapp.io and extract all the script src URLs so I can build a Content Security Policy allowlist for those JavaScript resources."}],"resultDescription":"A list of src attribute values found in all script tags on the given page or HTML — these are the URLs or paths of JavaScript files referenced by the document. Returns an empty list if no script src values are present.","failureModes":["URL is unreachable or returns non-2xx status — extraction fails with an error","SSRF-blocked URL (private IP ranges, localhost) — rejected for security reasons","HTML exceeds 200,000 character limit — request rejected","URL string shorter than 8 characters — validation error","Page has no script tags with src attributes — returns empty list","Malformed HTML may cause incomplete extraction"],"whenToPreferThis":"Use this endpoint when you need to enumerate JavaScript resources (script src values) from a public webpage or HTML blob. It is SSRF-safe, making it appropriate for agent pipelines that accept user-supplied URLs. Prefer the free POST /v1/sandbox/profile-script-src first for development or testing. Choose this over generic CSS selector endpoints when specifically targeting script src attributes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:06.133Z","isFirstParty":false,"canonicalSlug":"agentshelf-profile-script-src-extractor-87b76cab"}