> ## Documentation Index
> Fetch the complete documentation index at: https://docs.airgraphic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Preview a brand URL

> Extracts public logo, palette, and font hints from a brand website.



## OpenAPI

````yaml /openapi.json get /api/brand-preview
openapi: 3.1.0
info:
  title: AirGraphic API
  version: '2026-05-19'
  description: >-
    Generate on-brand infographics and audience-native memes from source
    context.
servers:
  - url: https://airgraphic.io
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags:
  - name: Generations
    description: Create and poll infographic jobs.
  - name: Brands
    description: Preview brand identity from a public website.
paths:
  /api/brand-preview:
    get:
      tags:
        - Brands
      summary: Preview a brand URL
      description: Extracts public logo, palette, and font hints from a brand website.
      parameters:
        - name: url
          in: query
          required: true
          schema:
            type: string
            format: uri
      responses:
        '200':
          description: Brand preview.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandPreview'
        '400':
          description: Missing or invalid URL.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    BrandPreview:
      type: object
      properties:
        fonts:
          type: array
          items:
            type: string
        primaryFont:
          type: string
        logo:
          type: string
          format: uri
        palette:
          type: array
          items:
            type: string
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        code:
          type: string

````