# lilambd Color Lookup API

> lilambd Color Lookup API is a paid API for AI agents from api.lilambd.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-02).

Looks up color data by name or hex value, returning structured color information and attribution

## Facts

- Endpoint: GET https://api.lilambd.com/colors/%7Bname_or_hex%7D?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lilambd-color-lookup-api-75d5c1a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OUePvz-W3R24_i2wVgubx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lilambd-color-lookup-api-75d5c1a9
```

Example prompt: What color data does lilambd have for 'cerulean' — can you look it up and tell me what comes back including the source attribution?

## When to prefer this

Use this endpoint when you need to look up structured color data by a human-readable color name or hex code and receive machine-readable results with source attribution. Best suited for creative, design, or data enrichment workflows that need color metadata with provenance. Prefer this over generic web searches when you need structured JSON color data with a clear attribution field.

## Known failure modes

- Color name not found — returns empty data array with count 0
- Invalid hex format in path parameter — may return empty results or error
- Service unavailable or payment failure — HTTP 402 if payment not processed correctly
- Ambiguous color names may return multiple or unexpected results

## How this service works

A crossing for play, feeling, language, science and computation — creating states that do not have names yet.

## Output

A JSON object containing a data array with color entries, a count of results, and an attribution string citing the data source licence. The data array contains structured color information corresponding to the queried name or hex value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "name_or_hex"
     ],
     "properties": {
      "name_or_hex": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [],
  "count": 0,
  "attribution": "source licence line"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lilambd-color-lookup-api-75d5c1a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lilambd.com](https://www.zero.xyz/host/api.lilambd.com/llms.txt)
