White-Label SERP Tracking API for Agency Dashboards
A white-label rank tracking API lets an agency show clients rankings under its own brand without exposing the data vendor. With TrackSERPs you have two routes: build your own dashboard from the REST API, which needs a write-enabled plan, or use the hosted branded share links, PDFs and email digests, which need Pro or Agency. Both run on queued checks that take about 10-20 minutes.
Key facts
- HTTP status 202 Accepted means a request was accepted for processing but the processing has not been completed.Source: rfc-editor.org
- The OpenAPI Specification is a language-agnostic interface description for HTTP APIs, so tools and people can understand a service without its source code.Source: spec.openapis.org
- WCAG 2.2 success criterion 1.4.3 requires a text contrast ratio of at least 4.5:1 for normal-size text, the threshold white-label brand colours are checked against.Source: w3.org
Two meanings of white-label, and which one you need
Agencies searching for a white-label rank tracking API usually mean one of two things, and the build is different for each.
- Branded pages from the vendor. You configure a logo and colour, and the vendor hosts the report your client opens. Fast to launch, but the page lives on the vendor's domain.
- Your own product on top of the vendor's data. Your developers pull rankings through an API, store them, and render them inside your client portal. More work, and nothing about it reveals where the data comes from.
TrackSERPs supports both, and they do not depend on each other. The first is a plan feature that starts at Pro. The second needs an API key from a plan with write access, which starts at Growth. This page is about the second route, with the first covered where it helps you decide. For the standard API reference, endpoints and the async model, start with the rank tracking API page; here we stay on what is specific to agencies.
One constraint shapes everything. Checks are queued, and a new one takes roughly 10 to 20 minutes. Starting a check returns 202 Accepted, the HTTP status for work accepted but not yet finished, and the results arrive later. A white-label dashboard built on TrackSERPs is therefore a dashboard of stored results that refresh on a schedule, never a "type a keyword, see the SERP" tool.
The data model you are building on
TrackSERPs organises an agency account in four levels.
| Level | What it is | API visibility |
|---|---|---|
| Account | Your agency workspace: credits, plan, API keys, branding | GET /account, GET /account/usage |
| Folder | A client container, with an optional client name and colour in the app | Set at project creation only |
| Project | One domain, one location, one language, a device list and a schedule | Create, read and update (no delete endpoint) |
| Keyword | A phrase with optional device override, tags and tracked URLs | Upsert, list, archive |
Two limits of that model matter before you design your own.
Folders are write-only through the API. You create or reuse a folder by sending folder_name (exact name match, created if missing) or folder_id when you create a project. There is no endpoint to list folders, and a project response carries id, name, domain, location_code, location_name, language_code, devices, schedule, keywords_count, last_run_at, paused_reason and estimated_monthly_credits, but no folder. So keep your own table:
create table client_projects (
client_id uuid not null, -- your client
project_id text not null, -- TrackSERPs proj_... id
domain text not null,
location_code int not null,
primary key (client_id, project_id)
);
Everything your dashboard does (which projects a client may see, which to sync) reads that table. Folders still earn their place for the people who use the TrackSERPs app, such as your analysts, because they group projects and scope client viewers.
One project is one location and one language. A client who sells in three cities is three projects. That is deliberate, because location pins the check, and it is why per-client cost scales with locations as well as keywords.
Provisioning a client in one call
curl -X POST https://api.trackserps.com/v1/projects \
-H "Authorization: Bearer ts_test_demo1234_exampleexampleexampleexample1234" \
-H "Idempotency-Key: onboard-brightsmile-dental-2026-11" \
-H "Content-Type: application/json" \
-d '{
"name": "Bright Smile Dental - Austin",
"domain": "brightsmile-dental.example",
"folder_name": "Bright Smile Dental",
"location_code": 2840,
"devices": ["desktop", "mobile"],
"schedule": "weekly",
"keywords": ["dentist austin", "emergency dentist near me"]
}'
The response is the project object. Creating a project starts no run; the weekly schedule picks it up, or you can call POST /projects/{project_id}/runs. Use a deterministic Idempotency-Key, as above, so a retried onboarding job cannot create the client twice. Insert the mapping row in the same transaction that stores the returned id. The sample uses code 2840, the United States; find a city with GET /locations?q=Austin.
A new project needs a write-enabled plan, and 403 plan_required also comes back when the plan's project or folder limit is reached. Starter allows 3 folders and 10 projects; Growth, Pro and Agency are unlimited.
Keys, tenants and who can see what
An agency has two separate access problems, and the API solves only one.
Your staff and tools talking to TrackSERPs is the API key problem. Keys carry scopes (rankings:read, projects:write, keywords:write, runs:write, shares:write, webhooks:write), an optional project restriction, an IP allowlist and an expiry. A restricted key answers 404 not_found for projects outside its list, which avoids confirming that an ID exists.
Your clients seeing their own data is your application's problem. The API has no concept of an end customer. So:
- Run one server-side key (or a few, by function: a read-only key for the dashboard, a write key for provisioning). Keys per plan are 1, 3, 10 and 25 from Starter to Agency, so a key per client does not scale.
- Authenticate clients in your own system. On every request, check that the project ID is in that client's rows in your mapping table before you query.
- Never place a key in browser code or a mobile app. Anyone who opens developer tools could read it.
- Use project-restricted keys for contractors, or for a third-party reporting tool that should see one client only. That is what the restriction is for.
If your clients should log in to TrackSERPs itself instead, use client viewer seats. They are read-only logins scoped to the folders you choose, available on Growth (10), Pro (50) and Agency (no cap), and not on Starter. They are the hosted alternative to your own dashboard, not an addition to it.
Syncing data into your own store
The pattern that works is: webhook in, pull, store, serve from your database.
- Register a webhook for
run.completed(andrun.failed) withPOST /webhooks. It needs thewebhooks:writescope, a public HTTPS URL and a plan with webhook endpoints: 2 on Growth, 5 on Pro, 20 on Agency, none on Starter. - When
run.completedarrives, verify theTrackSERPs-Signatureheader (HMAC-SHA256 over the timestamp, a dot and the raw body, five-minute tolerance), answer 200 quickly, and enqueue a sync fordata.project_id. - The sync reads
GET /projects/{project_id}/rankings/latest(paginate withnext_cursor) and upserts the rows. Once a night, or after a backfill, useGET /projects/{project_id}/rankings/historyfor the date range. It is capped at 400 days and counts as 5 calls. - The dashboard reads only your database. Page views make zero API calls.
The event id is stable across retries, so record it and skip duplicates. Failed deliveries retry up to 8 attempts over about two days.
This design is cheaper as well as faster. Reads cost no credits, but each request counts against a monthly call allowance of 100,000 on Growth, 500,000 on Pro and 2,000,000 on Agency. As a hypothetical: if every dashboard page view made three live API calls, 40,000 views a month would use 120,000 calls and exhaust Growth. Serving from your own store removes that coupling. Your sync, by contrast, is a few thousand calls a month. Twenty-five projects each pulling latest rankings once a week, plus a nightly bulk-history pull per project at 5 calls each, is roughly 3,900 calls a month.
Pulling data for a monthly client report
A useful client report needs five reads, all free of credits and all covered by rankings:read.
| Question the client asks | Endpoint | Notes |
|---|---|---|
| Where do we rank now? | GET /projects/{project_id}/rankings/latest | device, tag and limit filters; include=competitors adds competitor ranks |
| What moved this month? | GET /projects/{project_id}/rankings/history?start=&end= | Returns per-keyword delta and an improved, declined, unchanged summary |
| Who overtook us on this term? | GET /projects/{project_id}/keywords/{keyword_id}/serp/compare?from=&to= | Labels each result up, down, same, new or dropped |
| How do we compare with rivals? | GET /projects/{project_id}/share-of-voice?from=&to=&weighted=volume | Daily series for your domain and tracked competitors |
| Are we cited in AI Overviews? | ai_overview on the ranking rows | present, cited and cited_url |
Tags are the cheap way to slice a report. Tag keywords as brand, service or location when you upsert them, then pass tag=service to get a section of the report from one call. Share of voice is computed from stored results at no credit cost, and weighted=volume weights by monthly search volume rather than treating every keyword equally. Competitors are added with the competitors endpoints, from stored top-100 results, so adding one does not trigger new checks.
A backfill worker
New dashboards start empty. Use bulk history to fill them, one project at a time, so a large agency does not trip the per-minute limit:
async function backfill(projectId, start, end) {
let cursor = null;
do {
const qs = new URLSearchParams({ start, end, limit: "100", ...(cursor ? { cursor } : {}) });
const res = await fetch(
`https://api.trackserps.com/v1/projects/${projectId}/rankings/history?${qs}`,
{ headers: { Authorization: `Bearer ${process.env.TRACKSERPS_API_KEY}` } },
);
if (res.status === 429) {
await new Promise((r) => setTimeout(r, Number(res.headers.get("Retry-After") ?? 30) * 1000));
continue;
}
const page = await res.json();
for (const kw of page.keywords) {
for (const point of kw.series) await upsertPoint(projectId, kw.keyword_id, point);
}
cursor = page.next_cursor;
} while (cursor);
}
Each page costs 5 calls, so a 400-day backfill of a 300-keyword project at 100 keywords a page is three pages and 15 calls. Run the projects in sequence and the 120 to 600 requests per minute that plans allow per key will not be an issue. One request covers at most 400 days, so keep what you pull instead of re-reading it.
What you can brand without writing code
Before you commit to building, know what the hosted route gives you. On Pro and Agency, account branding lets you set:
- An agency logo shown on share links, on the PDF cover and in client emails.
- A brand colour, applied only if it has at least 4.5:1 contrast against white text, the WCAG minimum for normal text. A colour that fails is ignored, not adjusted.
- A sender name used in the From header and greeting of client digest emails.
- A switch to hide "Powered by TrackSERPs" in the footer of share links and emails.
Branding is account-wide, and the TrackSERPs app interface itself is never rebranded. On Starter and Growth the settings page does not apply, so shared pages and emails carry TrackSERPs branding.
Share links
Each project can have a public read-only link, served from r.trackserps.com. The API manages it with GET and PUT /projects/{project_id}/share (scope shares:write): enable or disable it, set a password of 8 to 256 characters (or null to remove it), or regenerate to invalidate the old URL.
curl -X PUT https://api.trackserps.com/v1/projects/cmwc0f1yp0005rqk7w1plnab1/share \
-H "Authorization: Bearer ts_test_demo1234_exampleexampleexampleexample1234" \
-H "Content-Type: application/json" \
-d '{"enabled": true, "password": "a-long-client-password", "regenerate": false}'
The response returns enabled, url and password_protected. The page shows KPI tiles with sparklines, a rank-band chart, a share-of-voice chart when competitors are tracked, and an AI Overview citation count. Whether the logo and colour appear depends on the plan above. You can generate and rotate links from your provisioning code on any write-enabled plan; only the branding is gated to Pro and Agency.
PDFs and email digests
PDFs come from the app, not the API. Exporting a project queues a job that opens the project's report page in a headless browser and prints it to A4, so the PDF has the same logo, colour and footer setting as the share page. There is no endpoint to request one. If you need PDFs from your own system, render your own HTML to PDF from the data you stored.
Email digests are set per project. A project can send to selected team members, to client recipients you enter, or both, and the client email uses your sender name. They are configured in the app, and are the quickest way to give a client something recurring while your own dashboard is still being built.
Decision table: hosted branding or your own dashboard
| Hosted branded reports | Your own dashboard on the API | |
|---|---|---|
| Time to first client report | Same day | Weeks of development |
| Plan needed | Pro or Agency | Growth or above (write access) |
| Client sees your domain | No, r.trackserps.com | Yes |
| Layout control | Fixed | Complete |
| Join with analytics or CRM data | No | Yes |
| From the app | Your own renderer | |
| Ongoing engineering | None | Sync, storage, auth, UI |
| Client logins in TrackSERPs | Viewer seats | Not needed |
Many agencies end up with both: hosted reports and digests for smaller retainers, and a custom view for the few clients who want rankings next to their revenue. Nothing stops you running them from the same projects.
Cost math by agency size
One credit buys one keyword check on one device. A project's monthly estimate is credits per run times runs per month, 52/12 for weekly and 365/12 for daily. All figures below use those formulas against the plan allowances in the plan definitions.
| Agency | Setup | Credits per run | Credits per month | Smallest plan that fits |
|---|---|---|---|---|
| Small | 12 clients, 60 keywords each, desktop, weekly | 720 | 3,120 | Growth (3,390) |
| Mid | 25 clients, 40 keywords each, desktop and mobile, weekly | 2,000 | about 8,667 | Agency (18,750); Pro's 8,550 falls about 117 short |
| Large | 5 clients daily plus 20 clients weekly, 40 keywords, desktop daily, both devices weekly | 200 daily, 1,600 weekly | about 13,000 | Agency |
Three things follow.
- Devices double the bill. The mid agency's 8,667 would be about 4,334 on desktop only, which fits Pro. Track mobile only where it differs from desktop.
- Daily is expensive. A daily schedule uses about seven times the credits of a weekly one (365 runs a year against 52). Reserve it for terms that earn it, and set the schedule per project.
- Pro's white-label flag may not be what you buy Pro for. On the small agency, Growth is enough if you build your own dashboard. You pay up to Pro only for the hosted branding.
If you fall short mid-month, top-up credit packs exist. Prices and the plan comparison are on the pricing page, and credits stay the only unit you need to forecast. Check the dry-run endpoint (POST /projects/{project_id}/runs?dry_run=true) before large manual runs; it returns what the run would hold and does not charge.
Reading the estimate before you promise anything
Project and keyword responses include estimated_monthly_credits, and a keyword upsert returns before and after figures plus the account's monthly_allowance. Surface those in your onboarding tool. A salesperson adding 200 keywords to a client should see the credit impact before saying yes, not discover it on the invoice.
Limits to state plainly to your own clients
- No real-time claims. A new check takes about 10 to 20 minutes, and results reused from earlier the same UTC day are returned immediately, still costing a credit. Tell clients "updated weekly", not "live".
- No custom domain for hosted reports.
- No PDF or folder-listing endpoints. Plan around them as above.
- Test keys never touch real data. A
ts_test_key returns demo data and spends nothing, so use it for development and CI. Run one live project before demoing to a client.
Where to go next
Start with a test key and the provisioning call above, then wire a webhook to your sync. The REST API quickstart lists every endpoint with request and response shapes, and the webhooks guide covers signatures and retries. Packaging for a team that prefers TypeScript is in the Node SDK page. To see what a hosted client report looks like before you decide, open the sample client report; for how agencies organise folders and seats, see the agency rank tracker overview.
Frequently asked questions
Do I need the white-label plan feature to build my own dashboard?
Can the API generate a white-label PDF?
Can I put reports on my own domain?
Should I create one API key per client?
How do I list the projects in a client folder through the API?
How many clients can one plan cover?
Are client viewer seats needed if I build my own dashboard?
Sources & references
- RFC 9110 section 15.3.3: 202 Accepted(checked 2026-11-11)
- OpenAPI Specification 3.1.0(checked 2026-11-11)
- WCAG 2.2: Contrast (Minimum)(checked 2026-11-11)