{"openapi":"3.0.3","info":{"title":"LumaStudio Web Audit, SEO/GEO, Shopify GMC/EAA, DNS & Tech Stack API","version":"1.2.0","description":"Fast, zero-browser, SSRF-safe REST API (12 endpoints): Shopify GMC & EU EAA WCAG 2.2 compliance, SEO meta/robots.txt, AI Search GEO (llms.txt), DNS SPF/DMARC, 75+ tech stack detection, B2B contact & social extractor, HTML-to-Markdown for LLMs/RAG, HTTP security headers grader, Shopify/JSON-LD product catalog extractor, reversible PII redaction, and payment gateway fee math."},"servers":[{"url":"https://lumastudio-api-hub.onrender.com"}],"paths":{"/api/full-audit":{"get":{"summary":"Full Website Audit (Shopify GMC/EAA + GEO/llms.txt + DNS SPF/DMARC + Tech Stack)","description":"Runs all 4 core audits concurrently and returns one unified JSON intelligence report.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/audit-shopify":{"get":{"summary":"Shopify Store GMC Schema, EU EAA / WCAG 2.2 & Mobile LCP Audit","description":"Audits MerchantReturnPolicy, OfferShippingDetails, Product JSON-LD, WCAG 2.2 accessibility tags, and mobile LCP bottlenecks.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/audit-seo":{"get":{"summary":"SEO Meta, Open Graph, Canonical & robots.txt Auditor","description":"Checks title/description lengths, canonicals, H1, OG/Twitter tags, noindex directives, and robots.txt crawl blocks.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/audit-geo":{"get":{"summary":"AI Search GEO & llms.txt Readiness Auditor","description":"Checks /llms.txt, /llms-full.txt, GPTBot/ClaudeBot/PerplexityBot crawl permissions in robots.txt, and structured data clarity.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/audit-dns":{"get":{"summary":"DNS SPF, DMARC & MX Email Deliverability Auditor","description":"Resolves real MX, SPF, and DMARC records and scores inbox deliverability & spoofing protection.","parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","example":"shopify.com"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/detect-tech":{"get":{"summary":"Website Tech Stack Detector (75+ Frameworks, CMS, Analytics & Payment Tools)","description":"Identifies CMS, ecommerce platforms, CDNs, analytics pixels, marketing automation, and JS frameworks without headless browsers.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/calc-fees":{"get":{"summary":"Payment Gateway & Marketplace Fee Calculator (Stripe, PayPal, Shopify, Gumroad, Etsy)","description":"Computes exact net payout or reverse gross price needed to hit a target margin.","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","example":"stripe_us"}},{"name":"amount","in":"query","required":true,"schema":{"type":"number","example":100}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","example":"forward"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/redact-pii":{"post":{"summary":"Reversible PII Redactor for LLM Prompts (Emails, Cards, Phones, SSNs, IPs, Keys)","description":"Replaces sensitive PII with deterministic placeholders and returns a vault map for safe LLM processing.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","example":"Contact alice@acme.com or +1-555-0199 regarding order #4421."}}}}}},"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/extract-contacts":{"get":{"summary":"B2B Contact Email, Phone & Social Profile Extractor (with /contact Fallback)","description":"Extracts public business emails (filtering junk/noreply), phone numbers, and LinkedIn/X/Instagram/GitHub/YouTube profiles.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/url-to-markdown":{"get":{"summary":"Clean HTML-to-Markdown Converter for LLMs & RAG Pipelines","description":"Strips scripts, styles, nav, and boilerplate and returns structured Markdown with word count and token estimate.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}},{"name":"maxChars","in":"query","required":false,"schema":{"type":"integer","example":15000}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/audit-headers":{"get":{"summary":"HTTP Security Headers & HTTPS Grader (HSTS, CSP, X-Frame-Options, Referrer-Policy)","description":"Scores 7 critical HTTP security headers (0-100, grade A-F) and returns exact remediation directives.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}}],"responses":{"200":{"description":"Structured JSON audit result"}}}},"/api/extract-products":{"get":{"summary":"Shopify & JSON-LD E-Commerce Product Catalog Extractor","description":"Extracts product titles, prices, availability, SKUs, and images from Shopify /products.json or schema.org Product JSON-LD.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"https://www.gymshark.com"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","example":20}}],"responses":{"200":{"description":"Structured JSON audit result"}}}}}}