Skip to Content
Authentication
Open in ChatGPTOpen in ClaudeUpdated November 29, 2026

Authentication

Send your API key as a bearer token on every request:

Authorization: Bearer YOUR_API_KEY

Keys start with sc_ followed by 32 letters and digits. The dashboard shows a new key once, right after you create it; we store only a fingerprint of it, so copy it then. Keys made before November 29, 2026 start with sc_live_ and keep working.

Keep your key secret. Anyone with the key can use your requests. If a key leaks, delete it in the dashboard under API keys and create a new one.

A missing or wrong key returns 401. Use a separate key for each app, so you can turn one off without touching the others.

In code

The examples on every page show the key as YOUR_API_KEY. Replace it with your key, or better, read it from an environment variable so it never ends up in your code or your repository.

curl "https://api.sellercomps.com/account/usage" \ -H "Authorization: Bearer YOUR_API_KEY"
export SELLERCOMPS_API_KEY="sc_..." curl "https://api.sellercomps.com/account/usage" -H "Authorization: Bearer $SELLERCOMPS_API_KEY"
import os, requests headers = {"Authorization": f"Bearer {os.environ['SELLERCOMPS_API_KEY']}"} print(requests.get("https://api.sellercomps.com/account/usage", headers=headers, timeout=30).json())
const headers = { Authorization: `Bearer ${process.env.SELLERCOMPS_API_KEY}` }; const res = await fetch("https://api.sellercomps.com/account/usage", { headers }); console.log(await res.json());

GET /account/usage is free, so it is a good first call to check that a key works.

In Google Sheets and AI assistants

Try it boxes in these docs

Each endpoint page has a Try it box that sends the call from your browser with your key. The key stays in the page (or in this browser tab, if you tick “Keep for this tab”) and is sent only to api.sellercomps.com, as the Authorization header. A successful call there uses a request like any other.

Keys in browsers and apps

Call the API from your server, not from a public web page or a mobile app: anything shipped to a browser or phone can be read by its users. If your front end needs prices, have it ask your own server, which calls SellerComps.