{"uid":"cap_MM7oh9JgjBgo1Dycg0h_m","slug":"codepulse-brand-palette-extractor-cf7ca329","name":"CodePulse Brand Palette Extractor","description":"Parses CSS hex and rgb colors on a target website to resolve brand colors.","url":"https://codepulse-api.hahavoid0.workers.dev/brand/palette","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Website URL to extract colors from"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"colors":["#38bdf8","#0f172a"]},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b5ysQ3A150WL-v5Vl0ABk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the dominant brand color palette from any website URL","exampleAgentPrompt":"Can you pull the brand color palette from https://stripe.com and give me the hex codes?","exampleUseCases":[{"title":"Brand kit replication for landing page","prompt":"I'm building a landing page that should match Notion's brand — can you extract the hex color codes from https://notion.so so I can use them in my design?"},{"title":"Competitor brand color audit","prompt":"I need to audit the color schemes of our top three competitors. Start by extracting the brand palette from https://linear.app."},{"title":"Design system consistency check","prompt":"Can you grab the color palette from https://shopify.com? I want to see what hex codes they're using so I can compare it against our own design system."}],"resultDescription":"Returns a JSON object containing an array of hex color codes (e.g. ['#38bdf8', '#0f172a']), a supported flag indicating whether the site's palette could be determined, a confidence level (e.g. 'high'), a data_as_of timestamp, any warnings, and a disclaimer. Colors represent the dominant brand colors extracted from the page.","failureModes":["URL is unreachable or returns non-200 status — may return supported: false or empty colors array","Website uses heavy JavaScript rendering that prevents static scraping — lower confidence or empty result","URL points to a non-visual or plain-text resource — colors array may be empty","Paywalled or bot-protected pages may block extraction — warnings field will indicate issues","Malformed URL input — likely returns validation error"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract a website's brand color palette without an API key, paying only $0.01 USDC per call. Prefer it over manual inspection or full browser automation when you just need hex color codes from a public-facing site. Ideal for design pipelines, brand audits, and competitive research where you need colors from arbitrary URLs at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:37.002Z","isFirstParty":false}