{"uid":"cap_T_2TEQ0buwmKAFGau4usc","slug":"lilambd-random-colors-api-e0ab4531","name":"lilambd Random Colors API","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/colors/random?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"count":{"type":"string","description":"How many (max 50)"}},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[],"count":0,"attribution":"source licence line"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_40yzFPr7Gy81VunMUmOdp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns one or more random colors with attribution metadata","exampleAgentPrompt":"Can you fetch me 5 random colors from the lilambd API to use as inspiration for my design project?","exampleUseCases":[{"title":"Random palette for UI design","prompt":"Give me 8 random colors I can use as a starting palette for a new app interface I'm building."},{"title":"Single random color for art prompt","prompt":"Pick one random color for me — I want to use it as the base tone for a generative art piece."},{"title":"Bulk random colors for data visualization","prompt":"Fetch 20 random colors so I can assign distinct colors to each category in my chart."}],"resultDescription":"A JSON object containing an array of color data entries, a count of colors returned, and an attribution string crediting the source license.","failureModes":["count parameter exceeds 50 — may return error or be capped","count parameter is not a valid string-encoded integer — may cause bad request","payment not provided or rejected — 402 Payment Required response","network or server error — 5xx response with no color data"],"whenToPreferThis":"Choose this endpoint when you need one or more randomly sampled colors on demand without specifying any constraints, and when a source attribution/license line is useful or required. It suits creative, generative, and design workflows where unpredictability and variety are desirable rather than a curated or theme-constrained palette.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:51.111Z","isFirstParty":false,"canonicalSlug":"lilambd-random-colors-api-e0ab4531"}