{"uid":"cap_FKXIUue0JiTrLA9XB0pzH","slug":"kihustle-css-variable-extractor-d1b16153","name":"KiHustle CSS Variable Extractor","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/nexus/api/v1/css-variable-extractor?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"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_esMzFxZmux2JaFx23Aqcp","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 CSS custom properties (variables) from a given text or stylesheet string","exampleAgentPrompt":"Can you extract all the CSS variables from this stylesheet text: ':root { --primary-color: #3498db; --font-size-base: 16px; --spacing-md: 1rem; }'?","exampleUseCases":[{"title":"Design token audit from stylesheet","prompt":"I have a big CSS file with tons of custom properties scattered everywhere — can you extract all the CSS variables from this text so I can audit what design tokens we're using? Here's the CSS: ':root { --brand-blue: #0057ff; --brand-red: #ff3300; --text-lg: 24px; }'"},{"title":"Migrating CSS variables to a new system","prompt":"I'm refactoring our codebase and need a list of every CSS variable defined in this stylesheet string so I can map them to our new design system: 'body { --bg-color: #fff; --accent: coral; --border-radius: 4px; }'"},{"title":"Extracting theme tokens for documentation","prompt":"Pull out all the CSS custom properties from this theme snippet so I can document them for our component library: ':root { --color-primary: #6200ee; --color-secondary: #03dac6; --elevation-1: 0 1px 3px rgba(0,0,0,.2); }'"}],"resultDescription":"Returns a JSON object with a result field containing the extracted CSS variables (names and/or values) found in the submitted text, along with a success status indicator.","failureModes":["Empty or malformed input text returns a result with no variables found","Input text containing no CSS variables returns an empty result set","Malformed JSON request body may cause a processing error","Very large CSS text inputs may time out or return partial results"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract CSS custom property declarations (--variable-name: value) from raw CSS text or stylesheet strings. It is suitable for design token auditing, CSS refactoring workflows, or building tooling that needs to inventory CSS variables without running a full CSS parser locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:59:17.637Z","isFirstParty":false,"canonicalSlug":"kihustle-css-variable-extractor-d1b16153"}