Skip to main content
The Spyglass API gives you the same brand, creative, and landing-page data the app runs on. Four endpoints, one bearer key, JSON in and out.

Get a key

  1. Open Settings → API in the dashboard.
  2. Click Create key and give it a name you’ll recognize later.
  3. Copy the key. It starts with sg_live_ and is shown once — we store only a hash, so if you lose it you’ll need to create another.
Keys are private to the person who created them, and scoped to the team they were created for. If you leave that team, the key stops working.

Your first call

Every endpoint is brand-scoped except search, so start by resolving a brand.
Take the id and ask what that brand is running:

What you can ask for

Full parameters and response schemas are in the API reference.

Before you build

Three things worth knowing up front, because they shape how you write the client:
  • Calls cost credits, per row returned. Bound every call with limit or count. See Billing.
  • Nothing is paginated. count is the number of rows in this response, not a total. See Conventions.
  • It’s server-to-server. There’s no CORS, so calls must come from your backend, not a browser.