StatPilot API
Look up any brand by its domain and get its Meta advertising momentum: new ads launched, month-over-month growth and estimated spend. Built for Clay and other enrichment tools.
Machine-readable spec: https://stripe-growth-watch.lovable.app/api/v1/openapi.json
Pricing
$25 per 1,000 requests
- 2,000 API requests a month
- Look up any brand by domain, URL, Meta page id or name
- Search and page through the full advertiser list
- Works with Clay's HTTP API enrichment and any HTTP client
- Up to 2 keys, revocable anytime
- Cancel anytime from your billing portal
$20 per 1,000 requests
- 5,000 API requests a month
- Look up any brand by domain, URL, Meta page id or name
- Search and page through the full advertiser list
- Works with Clay's HTTP API enrichment and any HTTP client
- Up to 5 keys, revocable anytime
- Cancel anytime from your billing portal
Every request counts toward the monthly allowance, including lookups with no match. It resets on the 1st of each month (UTC).
Authentication
Every request needs an API key. Create a free StatPilot account, pick an API plan, then create keys on your API access page. Keys start with sp_live_. Send one in either header:
Authorization: Bearer sp_live_YOUR_KEY # or X-API-Key: sp_live_YOUR_KEY
Each key can make 60 requests a minute. Responses include X-RateLimit-Remaining and X-RateLimit-Reset; over the limit you get 429 with a Retry-After header. Responses also include X-Quota-Limit, X-Quota-Remaining and X-Quota-Reset for your monthly allowance. Keep keys on the server: don't put them in browser code.
Look up an advertiser
Pass one of domain, url, page_id or name. Domains are matched without https://, www. or paths, so https://www.chomps.com/shop works. A miss returns 200 with "found": false, so enrichment tools don't treat it as an error.
Brands outside our dataset are fetched live. If a brand isn't in the monthly snapshot, we pull its running ads from the Meta Ad Library and score them with the same model: live ads, launches in the last 30 days vs the 30 before, growth status and estimated spend. These come back with "source": "live" and "rank": null. A live fetch usually takes 10 to 40 seconds. The request waits up to wait seconds (default 20, max 25). If the fetch isn't done by then, you get 202 with "live": { "status": "processing" }: repeat the same request about 15 seconds later to get the result. Results are cached for 7 days.
A live brand uses 10 requests the first time your account asks for it in a 7-day window, whether or not it's found. Repeat lookups of it cost 1, and so do brands in our dataset. Pass live=false to skip live fetches.
Meta's Ad Library only lists a US brand's running ads, not the ones it has stopped. So for live brands, first ad seen is the oldest ad still running, and growth compares running ads by launch date. The researched snapshot can see further back, so its numbers can differ.
curl "https://stripe-growth-watch.lovable.app/api/v1/advertisers/lookup?domain=cityswoon.com" \ -H "Authorization: Bearer sp_live_YOUR_KEY"
{
"found": true,
"advertiser": {
"page_id": "548355225549884",
"rank": 1,
"name": "CitySwoon",
"domain": "cityswoon.com",
"url": "https://cityswoon.com/speed-dating-boston-virtual-online-2435",
"product": "speed dating events",
"category": "Apps",
"vertical": "dating_apps",
"lists": [
"heavy"
],
"status": "accelerating",
"mom_growth_pct": 5350,
"ads_last_30d": 109,
"ads_prior_30d": 2,
"live_ads": 131,
"total_ads": 150,
"est_daily_spend_usd": {
"low": 2000,
"mid": 4100,
"high": 8100,
"confidence": "good"
},
"est_monthly_spend_usd": {
"low": 60000,
"mid": 123000,
"high": 243000
},
"first_ad_seen": "2021-03-01",
"first_ad_seen_is_minimum": true,
"age_days": 2075,
"creative_angle": "Meet real people; skip the swiping loop",
"funnel": "event signup/ticketing",
"ad_library_url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&view_all_page_id=548355225549884",
"data_notes": [
"Meta only lists this brand's newest ads, so it started advertising before the date shown and 30-day counts are minimums.",
"Established brand advertising from a new page."
],
"snapshot_date": "2026-11-05"
},
"other_matches": []
}Search and list
| list | all (default), heavy or young |
| category | Software, Home & Auto, Fashion, Apps, Fitness & Outdoors, Food & Drink, Supplements, Beauty, Health & Recovery, Kids, Pets, Hobbies & Games, Sports nutrition, Tech & Gadgets |
| status | accelerating, new, stable, declining or unknown |
| q | Search name, domain, product or vertical |
| min_daily_spend | Minimum estimated daily spend midpoint, in USD |
| sort | momentum (default), spend, launches or growth |
| limit, offset | Page size 1–100 (default 25) and offset. Use next_offset for the next page. |
curl "https://stripe-growth-watch.lovable.app/api/v1/advertisers?category=Beauty&sort=spend&limit=10" \
-H "Authorization: Bearer sp_live_YOUR_KEY"
# { "data": [ ...advertisers ], "total": 135, "limit": 10, "offset": 0, "next_offset": 10 }Other endpoints
One advertiser by Meta page id. Unknown ids return 404.
The snapshot date, number of advertisers and the allowed filter values.
Use it in Clay
- Subscribe to the API plan and create a key named "Clay" on your API access page.
- In your Clay table, add an enrichment and choose HTTP API.
- Method
GET, endpointhttps://stripe-growth-watch.lovable.app/api/v1/advertisers/lookup?domain=followed by your domain column (insert it with Clay's/column picker). - Add a header
Authorizationwith valueBearer sp_live_YOUR_KEY. - Run it on a few rows, then map the fields you want into columns, for example
found,advertiser.status,advertiser.mom_growth_pctandadvertiser.est_monthly_spend_usd.mid. - Keep Clay's rate limit at or under 60 requests a minute per key. Rows without a match come back with
found: false. Each row Clay runs uses one request from your monthly allowance (10 for brands fetched live), so test on a small batch first. - Add
&wait=25to the endpoint so live fetches have the most time to finish. Rows that come back withlive.status=processingjust need running again a minute later. The result is cached by then, and the rerun costs 1 request.
Fields
| page_id | Meta page id. Stable; use it to fetch the advertiser again. |
| rank | Momentum rank: accelerating brands first, then new launches by ad velocity. |
| name, domain, url | Brand name, its website's domain and the brand URL. |
| product, category, vertical | What they sell, our category, and the research data's finer vertical. |
| lists | "heavy" (50+ live ads) and/or "young" (first Meta ad in the last 6 months). |
| status | accelerating, new, stable, declining or unknown. |
| mom_growth_pct | Change in new ads launched, last 30 days vs the 30 before. Null for new launches. |
| ads_last_30d, ads_prior_30d | New ads launched in each 30-day window. |
| live_ads, total_ads | Ads running now, and all ads seen for the brand. |
| est_daily_spend_usd | Estimated daily Meta spend: low, mid and high, plus confidence (good, fair, rough). |
| est_monthly_spend_usd | The daily estimate x 30. |
| first_ad_seen, first_ad_seen_is_minimum | Earliest ad we could see. When the minimum flag is true, the brand started earlier. |
| age_days | Days from first_ad_seen to the snapshot. |
| creative_angle, funnel | The pitch in their ads and where the ads send people. Null when unreliable. |
| ad_library_url | The brand's live ads in Meta's Ad Library. |
| data_notes | Plain-language caveats about this row's data. |
| snapshot_date | When the data was collected. |
Spend is estimated from each brand's live ads, scaled down for big advertisers whose ads mostly run on small test budgets. Spend estimates are just estimates and not verified numbers; confidence says how reliable the ad count behind them is.
Errors
Errors return JSON with a code and a message:
{ "error": { "code": "invalid_api_key", "message": "This API key is invalid or has been revoked." } }| 400 | invalid_parameter, missing_parameter |
| 401 | missing_api_key, invalid_api_key |
| 403 | subscription_inactive: the key's API plan has lapsed |
| 404 | not_found (by page id) |
| 202 | processing: a live lookup is still running; repeat the request |
| 429 | rate_limited (per minute), monthly_quota_exceeded |
| 500 / 503 | internal_error, unavailable, live_lookup_failed: retry with backoff |