# Web Technology Fingerprinting API > Detect technologies, JS library vulnerabilities, analytics tags, ecommerce and payment platforms, TCF strings, ads.txt/security.txt, web manifests, favicon hashes, user-agents, crawlers and cookie categories from caller-supplied HTML, headers and scripts. Each paid operation uses a fixed USDC price on Base with the x402 exact scheme. Unpaid GET, HEAD, and POST return 402 payment terms (POST validates the body only after payment terms are satisfied). A request that carries payment-signature is not yet charged: settlement happens only after a successful (2xx) result. HTTP 4xx/5xx are not charged. Coverage bodies with status complete, partial, or failed all return HTTP 200 and are charged at the full listed price. Settled 2xx responses include a payment-response header; 4xx/5xx do not. Follow https://www.brainiac.software/agent-instructions.txt for install, payment pins, idempotency, and billing rules. - Product: https://www.brainiac.software/api/web-technology - Docs: https://www.brainiac.software/api/web-technology/docs - OpenAPI: https://www.brainiac.software/api/web-technology/openapi.json - Contact: support@brainiac.software (https://www.brainiac.software/contact) ## Operations ### POST /api/v1/web-technology/technology-detect $0.04 USDC. Detect CMS, frameworks, analytics, CDN and widgets from caller-supplied HTML, headers, cookies, scripts and meta with confidence and evidence. Inputs: url?, html?, headers?, cookies?, scriptUrls?, meta? Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-technology-detect Example request: ```json { "html": "" } ``` Example response: ```json { "technologies": [ { "name": "MySQL", "categories": [ "Databases" ], "version": null, "confidence": 100, "evidence": [ { "type": "implies", "match": "WordPress" } ], "implies": [] }, { "name": "PHP", "categories": [ "Programming languages" ], "version": null, "confidence": 100, "evidence": [ { "type": "implies", "match": "WordPress" } ], "implies": [] }, "…" ], "sources": [ { "source": "webappanalyzer technology rules", "url": "https://github.com/enthec/webappanalyzer", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "DOM and JS-variable patterns are skipped (no browser).", "Rules are GPL-3.0; see src/data/web-technology/LICENSES.md.", "…" ] } ``` ### POST /api/v1/web-technology/js-library-vuln-detect $0.04 USDC. Identify front-end JS libraries from script URLs or contents via Retire.js extractors and list known vulnerabilities. Inputs: scripts Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-js-library-vuln-detect Example request: ```json { "scripts": [ { "url": "https://code.jquery.com/jquery-1.8.1.min.js" } ] } ``` Example response: ```json { "findings": [ { "library": "jquery", "version": "1.8.1", "detectedBy": "filename", "vulnerabilities": [ { "severity": "medium", "identifiers": { "summary": "Selector interpreted as HTML", "CVE": [ "CVE-2012-6708" ], "bug": "11290", "githubID": "GHSA-2pqj-h3vj-pqgw" }, "below": "1.9.0b1", "info": [ "http://bugs.jquery.com/ticket/11290", "http://research.insecurelabs.org/jquery/test/", "…" ] }, { "severity": "medium", "identifiers": { "summary": "Versions of jQuery prior to 1.9.0 are vulnerable to Cross-Site Scripting (XSS). The load method fails to recognize and …", "CVE": [ "CVE-2020-7656" ], "githubID": "GHSA-q4m3-2j7h-f7xw" }, "below": "1.9.0", "atOrAbove": "1.2.1", "info": [ "https://github.com/advisories/GHSA-q4m3-2j7h-f7xw", "https://nvd.nist.gov/vuln/detail/CVE-2020-7656", "…" ] }, "…" ] } ], "sources": [ { "source": "Retire.js jsrepository-v4.json", "url": "https://github.com/RetireJS/retire.js", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Vulnerability data is from the vendored Retire.js snapshot only.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/analytics-tag-inventory $0.02 USDC. Extract GA4, UA, GTM, Google Ads, Meta, LinkedIn, TikTok, Microsoft UET and Hotjar tag IDs from HTML. Inputs: html Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-analytics-tag-inventory Example request: ```json { "html": "gtag('config','G-ABC123XYZ9'); gtag('config','G-ABC123XYZ9'); GTM-K9X7ZQ" } ``` Example response: ```json { "tags": [ { "vendor": "Google Analytics 4", "id": "G-ABC123XYZ9", "count": 2 }, { "vendor": "Google Tag Manager", "id": "GTM-K9X7ZQ", "count": 1 } ], "sources": [ { "source": "Vendored web-technology snapshot", "url": "https://www.brainiac.software/api/v1/web-technology", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Tags loaded only through GTM containers are not visible in page HTML.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/ecommerce-platform-detect $0.03 USDC. Classify the ecommerce platform from technology detection results in the Ecommerce category. Inputs: url?, html?, headers?, cookies?, scriptUrls?, meta? Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-ecommerce-platform-detect Example request: ```json { "headers": { "x-shopify-stage": "production" } } ``` Example response: ```json { "platform": "Shopify", "confidence": 100, "alternatives": [], "evidence": [ { "type": "headers", "key": "x-shopify-stage", "match": "production" } ], "sources": [ { "source": "webappanalyzer Ecommerce category", "url": "https://github.com/enthec/webappanalyzer", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "DOM/JS patterns skipped. Confidence from pattern matches only.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/payment-provider-detect $0.03 USDC. Detect payment processors and checkout widgets from the Payment processors technology category. Inputs: url?, html?, headers?, cookies?, scriptUrls?, meta? Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-payment-provider-detect Example request: ```json { "scriptUrls": [ "https://js.stripe.com/v3/" ] } ``` Example response: ```json { "providers": [ { "name": "Stripe", "confidence": 100, "evidence": [ { "type": "scriptSrc", "match": "js.stripe.com" } ] } ], "sources": [ { "source": "webappanalyzer Payment processors category", "url": "https://github.com/enthec/webappanalyzer", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Providers loaded only inside cross-origin iframes are not visible.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/tech-stack-diff $0.02 USDC. Diff two technology-detect results for added, removed and version-changed technologies. Inputs: before?, after?, beforeInput?, afterInput? Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-tech-stack-diff Example request: ```json { "before": { "technologies": [ { "name": "WordPress", "version": "6.4.3" }, { "name": "Fastly", "version": null } ] }, "after": { "technologies": [ { "name": "WordPress", "version": "6.5.2" }, { "name": "Cloudflare", "version": null } ] } } ``` Example response: ```json { "added": [ "Cloudflare" ], "removed": [ "Fastly" ], "versionChanged": [ { "name": "WordPress", "from": "6.4.3", "to": "6.5.2" } ], "unchanged": 0, "sources": [ { "source": "Vendored web-technology snapshot", "url": "https://www.brainiac.software/api/v1/web-technology", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Diff keys by technology name; version changes require both versions known.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/tcf-consent-string-decode $0.03 USDC. Decode an IAB Europe TCF v2.x transparency and consent string into purposes, vendors and publisher restrictions. Inputs: tcString Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-tcf-consent-string-decode Example request: ```json { "tcString": "CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA" } ``` Example response: ```json { "version": 2, "created": "2022-04-20T22:00:00.000Z", "lastUpdated": "2022-04-20T22:00:00.000Z", "cmpId": 31, "cmpVersion": 640, "consentScreen": 1, "consentLanguage": "EN", "vendorListVersion": 126, "tcfPolicyVersion": 2, "isServiceSpecific": true, "useNonStandardStacks": false, "purposeOneTreatment": false, "publisherCC": "DE", "purposeConsents": [], "purposeLegitimateInterests": [], "specialFeatureOptins": [], "vendorConsents": [], "vendorLegitimateInterests": [], "publisherRestrictions": [], "segments": [ "core" ], "sources": [ { "source": "IAB Europe TCF v2 technical specifications", "url": "https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Global Vendor List is not bundled; vendor IDs are returned without names.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/ads-txt-validate $0.02 USDC. Validate ads.txt records and variables, optionally cross-checking DIRECT seller IDs against sellers.json. Inputs: adsTxt, sellersJson?, ownDomain? Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-ads-txt-validate Example request: ```json { "adsTxt": "google.com, pub-123, DIRECT, f08c47fec0942fa0\ngoogle.com, pub-1, PARTNER\ngoogle.com, pub-123, DIRECT, f08c47fec0942fa0\nCONTACT=ads@example.com\n" } ``` Example response: ```json { "records": 2, "errors": [ { "line": 2, "error": "invalid_relationship", "text": "google.com, pub-1, PARTNER" } ], "warnings": [ { "line": 3, "warning": "duplicate_record", "text": "google.com, pub-123, DIRECT, f08c47fec0942fa0" } ], "variables": { "CONTACT": [ "ads@example.com" ] }, "sellerCrossCheck": [], "sources": [ { "source": "IAB Tech Lab ads.txt 1.1 / sellers.json 1.0", "url": "https://iabtechlab.com/ads-txt/", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Validates syntax and optional sellers.json ID presence; does not fetch remote ads.txt.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/security-txt-validate $0.02 USDC. Validate security.txt Contact/Expires and optional fields per RFC 9116, including expiry and Canonical checks. Inputs: content, servedAt?, now? Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-security-txt-validate Example request: ```json { "content": "Contact: mailto:sec@example.com\nExpires: 2028-01-01T00:00:00Z\n", "servedAt": "https://example.com/.well-known/security.txt", "now": "2026-11-14T00:00:00Z" } ``` Example response: ```json { "valid": true, "fields": { "Contact": [ "mailto:sec@example.com" ], "Expires": "2028-01-01T00:00:00Z" }, "errors": [], "warnings": [ "expires_more_than_1_year" ], "sources": [ { "source": "RFC 9116 security.txt", "url": "https://www.rfc-editor.org/rfc/rfc9116", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "PGP cleartext signatures are detected and stripped but not cryptographically verified.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/web-manifest-audit $0.02 USDC. Validate a web app manifest against W3C installability checks for start_url, scope, display and icons. Inputs: manifest, manifestUrl, documentUrl Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-web-manifest-audit Example request: ```json { "manifest": { "name": "App", "start_url": "/", "display": "standalone", "icons": [ { "src": "/icon-192.png", "sizes": "192x192" }, { "src": "/icon-512.png", "sizes": "512x512", "purpose": "maskable" } ] }, "manifestUrl": "https://example.com/manifest.json", "documentUrl": "https://example.com/" } ``` Example response: ```json { "errors": [], "warnings": [], "resolved": { "start_url": "https://example.com/", "scope": "https://example.com/" }, "installabilityHints": { "has192": true, "has512": true }, "sources": [ { "source": "W3C Web Application Manifest", "url": "https://www.w3.org/TR/appmanifest/", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Installability hints are advisory; browser policies differ.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/favicon-hash $0.01 USDC. Compute Shodan-style MurmurHash3 and SHA-256 of a favicon from raw base64 bytes. Inputs: faviconBase64 Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-favicon-hash Example request: ```json { "faviconBase64": "aGVsbG8gZmF2aWNvbg==" } ``` Example response: ```json { "mmh3": 508473084, "sha256": "0cd40fb326290c6e0b1663631472dc26d2c7732c8c3b96991d3a615aac2adc1a", "shodanQuery": "http.favicon.hash:508473084", "sources": [ { "source": "Vendored web-technology snapshot", "url": "https://www.brainiac.software/api/v1/web-technology", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "MurmurHash3 x86 32-bit over Python base64.encodebytes text; matches common Shodan tooling.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/user-agent-parse $0.02 USDC. Parse a User-Agent with uap-core patterns into browser, OS and device, optionally overriding with Client Hints. Inputs: userAgent, clientHints? Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-user-agent-parse Example request: ```json { "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36", "clientHints": { "sec-ch-ua-platform-version": "\"15.0.0\"" } } ``` Example response: ```json { "browser": { "family": "Chrome", "major": "124", "minor": "0", "patch": "0" }, "os": { "family": "Windows", "major": "11" }, "device": { "family": "Other", "type": "desktop" }, "reducedUa": true, "clientHintsApplied": [ "platformVersion" ], "sources": [ { "source": "uap-core regexes", "url": "https://github.com/ua-parser/uap-core", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Parsed with Apache-2.0 uap-core patterns; not the AGPL ua-parser-js package.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/crawler-identify $0.02 USDC. Match crawler-user-agents patterns and optionally verify Googlebot IPs against vendored Googlebot CIDR ranges. Inputs: userAgent, ip? Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-crawler-identify Example request: ```json { "userAgent": "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)", "ip": "66.249.66.1" } ``` Example response: ```json { "isCrawler": true, "matchedPattern": "Googlebot\\/", "operator": "Google", "ipVerified": true, "spoofSuspected": false, "sources": [ { "source": "crawler-user-agents", "url": "https://github.com/monperrus/crawler-user-agents", "retrievedAt": "2026-11-14", "status": "ok" }, { "source": "Googlebot IP ranges", "url": "https://developers.google.com/static/search/apis/ipranges/googlebot.json", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Only Googlebot IP ranges are bundled for verification; other operators return ipVerified null.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ``` ### POST /api/v1/web-technology/cookie-inventory-classify $0.03 USDC. Categorise cookies using exact and wildcard matches against the Open Cookie Database. Inputs: cookies Docs: https://www.brainiac.software/api/web-technology/docs#web-technology-cookie-inventory-classify Example request: ```json { "cookies": [ { "name": "_ga", "domain": ".example.com" }, { "name": "_ga_ABC123" }, { "name": "sessionid" } ] } ``` Example response: ```json { "cookies": [ { "name": "_ga", "domain": ".example.com", "category": "Analytics", "platform": "Google Analytics", "retention": "2 years", "matchedBy": "exact" }, { "name": "_ga_ABC123", "category": "Analytics", "platform": "Google Analytics", "retention": "2 years", "matchedBy": "wildcard" }, "…" ], "summary": { "Analytics": 2, "Marketing": 1 }, "sources": [ { "source": "Open Cookie Database", "url": "https://github.com/jkwakman/Open-Cookie-Database", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Classification uses Open Cookie Database name/wildcard matches only; attribute auditing is separate.", "Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…" ] } ```