# Nightshift Labs Brand Identity Extractor

> Nightshift Labs Brand Identity Extractor is a paid API for AI agents from nightshift-x402.nightshift-labs.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-18).

Extracts brand identity metadata (name, colors, fonts, logos, social links) from a website URL

## Facts

- Endpoint: GET https://nightshift-x402.nightshift-labs.workers.dev/v1/web/brand?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nightshift-labs-brand-identity-extractor-e20aac3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n_AzOlPbfCmwcRNyX8kok

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 nightshift-labs-brand-identity-extractor-e20aac3f
```

Example prompt: Can you pull the brand colors, fonts, and logo from stripe.com so I can match their style in my mockup?

## When to prefer this

Use this endpoint when you need structured brand identity data (colors, fonts, logos, socials) from a live website URL and want a single-call, pay-per-use solution without setting up a scraper or design tool integration. Prefer it over manual inspection or generic web scrapers when you specifically need brand-focused metadata fields like dominant palette and font families.

## Known failure modes

- URL is unreachable or returns a non-200 status — extractor may return empty or partial results
- Site uses heavy client-side rendering (SPA) — fonts/colors loaded via JS may not be detected
- No logos found in JSON-LD or meta tags — logos array will be empty
- No social links discoverable in page metadata — social object will be empty
- Invalid or non-HTTP URL provided — request will fail validation

## How this service works

Brand kit from a website: site name, logo candidates (JSON-LD logo, header/home-link image, inline SVG logo, apple-touch-icon/favicons, og:image), theme-color, CSS brand variables (--primary/--brand/--accent), dominant colors ranked by CSS frequency (non-neutral first), fonts (Google Fonts + CSS font families, system fonts removed) and social profile links. No rendering; flags bot-protected pages.

## Output

A JSON object containing the brand's inferred name, font families (CSS and Google Fonts), logo URLs with source attribution, dominant non-neutral hex color codes, social media profile URLs keyed by domain, and the site's theme color if set.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "http(s) URL of the site (home page works best)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Stripe",
  "fonts": {
   "cssFamilies": [
    "sohne-var",
    "SourceCodePro"
   ],
   "googleFonts": []
  },
  "logos": [
   {
    "url": "https://images.stripeassets.com/…/favicon.svg",
    "source": "json-ld"
   }
  ],
  "colors": {
   "dominantNonNeutral": [
    "#635bff",
    "#32325d",
    "#533afd"
   ]
  },
  "social": {
   "github.com": "https://github.com/stripe"
  },
  "themeColor": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nightshift-labs-brand-identity-extractor-e20aac3f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nightshift-x402.nightshift-labs.workers.dev](https://www.zero.xyz/host/nightshift-x402.nightshift-labs.workers.dev/llms.txt)
