Skip to main content
branding reads the look of a page: its colors, fonts, type scale, spacing, button and input styles, and its logo and brand images.

Make a request

Get an API key in the Quickstart. This request reads the look of a home page.

Read the response

data.branding is an object. This is the real response for that page.
Colors are hex values. A field the page does not show is left out, so check that a field is there before you use it.

Options

Limits and errors

  • The page is read in a browser and never from a stored copy, so the call takes a few seconds.
  • A PDF comes back as Markdown only. Asking for branding on a PDF returns 400 invalidRequest.
  • A page that answers with a 404 or 410 status, or cannot be read, costs nothing.

Price

$1 per 1,000 pages, the same as any page. branding adds nothing.