API

The Vetted Leads API

New leads, straight into your own software: your CRM, your sales tool, your scripts. On Enterprise, or pay as you go with a Developer balance, no plan needed.

Base address
https://vettedleads.app/api/v1

Every answer is JSON. The same data as the feed: searching is free, and unlocking spends contacts, from your Enterprise plan or your Developer balance (add credit at /developer).

Your key

On Enterprise, or once you have added credit on the Developer API page, make a key under Account, then API keys. It is shown once, so copy it then. Send it on every request as "Authorization: Bearer vl_...". Keep it on your server: never put it in a web page or an app people download. Revoke a key and it stops at its next request. Up to 5 keys at a time. On a team, the owner makes the keys, since a key spends the team's contacts.

A first request

New Shopify stores in the UK, newest first, 50 to a page:

Shell
curl "https://vettedleads.app/api/v1/leads?country=GB&platform=shopify" \
  -H "Authorization: Bearer $VETTED_LEADS_KEY"

Each lead comes with its trade, platform, country, registration day, its gaps and its unlock_cost, but no business name, website or email. Those come back when you unlock it. Ask for page=2 for the next 50.

Addresses

AddressWhat it does
GET /api/v1/leadsSearch new businesses, 50 a page. Free, and never shows a name, website or email.
GET /api/v1/leads/countCount the leads a search matches and price unlocking them. Free.
POST /api/v1/leads/unlockUnlock leads by id. Spends your contacts, never more than max_contacts; the same ids again never charge twice.
GET /api/v1/contactsThe contacts you and your team own, newest first, 50 a page. Free.
GET /api/v1/accountYour plan, contacts left and team. Free.
GET /api/v1/saved-searchesYour saved searches, each with its id. Free.
POST /api/v1/saved-searchesSave a search under a name. Spends nothing.

The full description, for Postman or a code generator: /api/v1/openapi.json.

Filters

On /leads and /leads/count as query parameters. An unknown value is refused with the list of what is allowed, never quietly ignored.

FilterValuesWhat it means
countrytextTwo-letter country code (NG, GB, US, ...) or the country's name. 'unknown' finds leads with no country.
industryconstruction and trades, professional services, health and medical, real estate and property, marketing and creative, technology and software, hospitality and travel, transport and logistics, education and training, nonprofit and community, fashion and apparel, health and beauty, food and drink, home and garden, electronics, jewellery and accessories, pets, baby and kids, sports and outdoors, automotive, otherThe business's trade.
platformshopify, woocommerce, wordpress, wix, squarespace, webflow, framer, customWhat the website is built on.
registered_within24h, 7d, 30d24h: up to 1 day old; 7d: up to 7 days old; 30d: up to 30 days old. Counted in real days from the moment the domain was registered.
registered_fromtextRegistered on or after this day (YYYY-MM-DD). Overrides registered_within.
registered_totextRegistered on or before this day (YYYY-MM-DD).
min_gaps4, 6, 8Only sites with at least this many gaps (things missing or broken on the site).
gapmeta_description, h1, canonical, og_image, json_ld, thin_copy, blog, responsive, table_layout, favicon, template_title, stale_copyright, jquery, alt_text, mixed_content, free_plan_host, slow_mobile, heavy_page, big_images, low_security, no_mail_server, mail_forward_only, no_dmarcOnly sites with this one gap. meta_description: No meta description; h1: Not exactly one H1; canonical: No canonical tag; og_image: No social preview image; json_ld: No structured data; thin_copy: Thin copy; blog: No blog linked; responsive: Not responsive; table_layout: Table based layout; favicon: No favicon; template_title: Unedited template title; stale_copyright: Copyright years behind; jquery: Unsupported jQuery; alt_text: Images with no alt text; mixed_content: Loads assets over http; free_plan_host: On a free platform subdomain; slow_mobile: Slow on a phone; heavy_page: Heavy homepage; big_images: Images could be smaller; low_security: Low security grade; no_mail_server: No mail server; mail_forward_only: Email only forwarded; no_dmarc: No DMARC record.
texttextWords matched against the trade and the platform.
has_emailtrue or falseOnly leads with at least one email.
has_socialstrue or falseOnly leads with social media links.
has_locationtrue or falseOnly leads whose country is known.
ready_to_spendtrue or falseOnly businesses whose own site shows signs it spends on growth: has ad tracking, uses paid marketing tools or trading 3+ years. On Enterprise only.
sortnewest, gapsnewest (default) or gaps (most gaps first).
saved_searchtextThe id of one of the user's saved searches (from saved_searches). Runs it as saved; give no other filters with it.
pagenumberPage number, from 1.

Unlocking

A lead costs 1 contact for its emails and 1 for its social links, as on the feed. Send lead ids from /leads, up to 1000 a call. max_contacts is required: the unlock is refused, and nothing charged, if it would cost more. A lead you or a teammate already own is free, so sending the same ids again after a timeout never charges twice.

Shell
curl -X POST "https://vettedleads.app/api/v1/leads/unlock" \
  -H "Authorization: Bearer $VETTED_LEADS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lead_ids":["<id from /leads>"],"max_contacts":2}'

Use /leads/count first to see what a whole search would cost. If a business asks us to remove it, it drops out of /contacts; read your contacts again from time to time and delete the ones that are gone.

Errors

Every error is { "error": { "code": ..., "message": ... } } with one of these statuses.

StatusCodeWhat to do
400invalid_requestAn argument is wrong. The message names it and what is allowed.
401unauthorizedNo key, or a key that is not valid or was revoked.
402insufficient_creditsNot enough contacts left for this unlock. Nothing was charged.
403plan_requiredThe API needs Enterprise or credit in your Developer balance. /api/v1/account still answers.
404not_foundNo saved search with that id on your account.
409over_max_contacts, conflictThe unlock would cost more than max_contacts, or something changed while it ran. Nothing was charged.
429rate_limitedMore than 120 requests a minute. Retry-After says when to try again.
429daily_limitThe unlock would pass 2,000 contacts spent through the API today. Nothing was charged. The day resets at 00:00 UTC.
500failed, unconfirmedOn unconfirmed the purchase may have gone through: read /api/v1/contacts before you try again.
503unavailableWe could not answer just now. Try again in a moment.

Limits

How many requests?

120 a minute and 10,000 a day per account. Unlocking through the API is limited to 2,000 contacts a day, so a lost key cannot spend a month in an afternoon. Need more? Write to us and we raise it for your account.

Can I use it from a browser?

No. Browsers are not let read the answers, so a key never ends up in a page where anybody could copy it.

Can I pass the leads on?

The leads you unlock are for your own business, as on the feed. Reselling or republishing them ends an account, the same rule as the terms. Talk to us first if you want to offer them to your own customers.

Sign in or join

No password to remember, and we never see one.