<- playbooks / 01 · visitor identificationAPI + MCP
Identify B2B website visitors IP →to company →to ICP contacts
Give MoltSets a visitor's IP address and you get back the company behind it, that company's firmographics, and the people there who match your ICP. All on the $27/month plan.
- steps
- 4
- API tools
- 3
- per month
- $27
This guide starts from an IP address you already have. It takes that IP to a company, checks the company against your ICP, and finds the right people there.
Before you start
Run through this list. If anything shows a warning, fix it before step 1 or your first call will fail.
$ moltsets doctor
checking your setup…
- [ ok ] account on a paid plan
- [ ok ] API key from app.moltsets.com
- [ ok ] visitor IPs (bots and office traffic filtered)
- [ ok ] written ICP (industries, sizes, revenue, countries, roles)
- [ ok ] results store (database table or spreadsheet)
endpoint POST https://api.moltsets.com/api/v1/tools/<tool_name>
auth Bearer token
[warn] no User-Agent header. Requests without one are rejected with 403.
$
How the pipeline works
Pick a visitor. Watch where it stops.
Each step only runs if the one before it passed its gate. Only confident, in-ICP matches spend a people search.
-
Step 01passed
Visitor IP
from your site
Visitor on /pricing
-
Step 02passed
ip_to_companydomain + percentage
acmeinfolabs.com · 0.92
Gate: top match 0.5 or higher
-
Step 03passed
search_companiesfirmographics by domain
IT services · 51-200 · ICP 3/4
Gate: ICP fit and 0.8 or higher
-
Step 04passed
search_peopleup to 5 ICP contacts
Jane Smith · Director of Marketing
Calls used3
$ 1 ICP contact found. Ready for your CRM.
-
Step 01passed
Visitor IP
from your site
Visitor on /integrations
-
Step 02passed
ip_to_companydomain + percentage
contoso.com · 0.62
Gate: top match 0.5 or higher
-
Step 03stored
search_companiesfirmographics by domain
Finance and Banking · 201-500 · ICP 4/4
Gate: ICP fit and 0.8 or higher
-
Step 04skipped
search_peopleup to 5 ICP contacts
Runs if contoso.com matches again
Calls used2
$ Company stored. People on a repeat visit.
-
Step 01passed
Visitor IP
from your site
Visitor on /blog
-
Step 02no match
ip_to_companydomain + percentage
not_found · mobile network
Gate: top match 0.5 or higher
-
Step 03skipped
search_companiesfirmographics by domain
No domain to look up
-
Step 04skipped
search_peopleup to 5 ICP contacts
No company to search
Calls used1
$ No company. Miss cached for the IP.
Step 1
Resolve the IP to a company
ip_to_company takes an IPv4 address and returns zero or more candidate company domains. Each carries a percentage, a confidence value from 0 to 1.
You send
curl -X POST https://api.moltsets.com/api/v1/tools/ip_to_company \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "User-Agent: visitor-id/1.0" \
-d '{"ip_address": "203.0.113.10"}'
{
"status": "ok",
"results": { "companies": [
{ "domain": "acmeinfolabs.com", "percentage": "1.0" }
] },
"metadata": { "fair_use": { "records_remaining_5h": 999 } }
}
{
"status": "not_found",
"results": { "companies": null },
"metadata": {}
}
// Still HTTP 200. Costs no tokens, counts as one request.
Watch out for
-
200 ≠ ok
Read
status, not the HTTP code.okis a match andnot_foundis a miss. A miss costs no tokens but still counts as one request against your Fair Use limit. -
"1.0"
percentageis a string.Convert it to a number before you compare it, for example
parseFloat(c.percentage). -
[ ]
companiesis a list.It can hold more than one candidate, so sort it by
percentage, highest first, and treat the top entry as the match.
Expect misses. Consumer ISP addresses, mobile networks, VPNs and cloud hosting ranges usually don’t resolve to a named company. Office and corporate network traffic is where matches come from.
Step 2
Gate on confidence
Use the top candidate’s percentage to decide how much to spend on each visit. High-confidence matches go through the full pipeline. Low-confidence matches are logged and left alone until they repeat.
Try a score top percentage
-
0.8 or higherUp to 3 calls
Enrich the company (Step 3), then find people if it fits your ICP (Step 4).
-
0.5 to 0.792 calls
Enrich the company only. Find people if the same domain matches again from another IP or another day.
-
Below 0.51 call
Log the domain against the visit. Don’t enrich.
-
not_found1 callCache the miss for the IP. Don’t retry it.
These bands are a starting point. Tune them once you’ve compared a few weeks of matches against companies you know visited.
In code
topMatch + tier
function topMatch(response) {
if (response.status !== "ok" || !response.results?.companies) return null;
const ranked = response.results.companies
.map(c => ({ domain: c.domain, confidence: parseFloat(c.percentage) }))
.sort((a, b) => b.confidence - a.confidence);
return ranked[0];
}
function tier(match) {
if (!match) return "miss";
if (match.confidence >= 0.8) return "high";
if (match.confidence >= 0.5) return "medium";
return "low";
}
0.55 ≈ 0.45
Close scores mean a shared IP.
If the top two candidates are close, for example 0.55 and 0.45, the IP is probably shared, such as a co-working space or a managed network. Treat those as low confidence whatever the top score says.
Step 3
Enrich the company and check ICP fit
Pass the matched domain to search_companies with the domain filter for an exact lookup. You get back the company’s name, industry, size, revenue band, location and NAICS codes.
You send
curl -X POST https://api.moltsets.com/api/v1/tools/search_companies \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "User-Agent: visitor-id/1.0" \
-d '{"domain": "acmeinfolabs.com", "limit": 1}'
You get back
{
"name": "Acme Infolabs",
"domain": "acmeinfolabs.com",
"industry": "Information Technology",
"linkedin_industry": ["IT Services and IT Consulting"],
"employee_count": "57",
"employee_range": "51-200",
"revenue_range": "$20M - $50M",
"city": "Vancouver",
"country": "Canada",
"naics_codes": ["5415", "54151", "541511"]
}
"limit": 1
One record is all you need.
An exact domain lookup only needs one record, and every record returned counts against your search allowance.
Score it against your ICP
Write your ICP using the same values the API returns, so the check is a straight comparison.
ICP + icpFit
const ICP = {
industry: ["Information Technology", "Finance and Banking"],
employee_range: ["51-200", "201-500", "501-1000"],
revenue_range: ["$10M - $20M", "$20M - $50M", "Above $50M"],
country: ["United States", "United Kingdom"]
};
function icpFit(company) {
const checks = ["industry", "employee_range", "revenue_range", "country"];
const passed = checks.filter(k => ICP[k].includes(company[k]));
return { passed: passed.length, of: checks.length };
}
- industry✓ Information Technology
- employee_range✓ 51-200
- revenue_range✓ $20M - $50M
- country✗ Canada
3/4 Passes. On to Step 4.
3/4 Fails. Store the company and stop here.
Decide how many checks a company must pass before you spend a people search on it. Four out of four is strict, and three out of four allows for a missing field. Store the firmographics against the domain so you never look the same company up twice.
Step 4
Find the people in your ICP
For companies that pass the ICP check, call search_people with company_domain plus your role filters. Use seniority for level, department for function, and title when you need a specific role.
You send
curl -X POST https://api.moltsets.com/api/v1/tools/search_people \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "User-Agent: visitor-id/1.0" \
-d '{
"company_domain": "acmeinfolabs.com",
"seniority": ["Director", "VP", "Head", "C Suite"],
"department": ["Sales", "Marketing"],
"limit": 5
}'
You get back
{
"full_name": "Jane Smith",
"title": "Director of Marketing",
"seniority": "Director",
"linkedin_url": "https://linkedin.com/in/janesmith",
"business_email": "jane.smith@acmeinfolabs.com",
"business_email_risk_score": "A",
"business_email_validated_at": "2026-08-25"
}
The email is usually included
Each result includes the person’s name, title, seniority, location and LinkedIn URL. Where MoltSets holds one, it also includes business_email, with a business_email_risk_score from A to F and the date it was last validated.
That means you usually don’t need a separate email lookup. For a person returned without a business email, pass their linkedin_url to linkedin_to_business_email.
- Avalidated
- Bengaged
- Ccatch-all
- Dnever send
- Fno signal
A, B: sendC, F: your callD: never send
Tips for this step
3-5
Keep limit low.
You want the few people most likely to care that their company is on your pricing page, not the whole org chart.
OR · AND
How filters combine.
Lists are OR within a filter and AND across filters. The example above returns directors and above in sales or marketing.
exclude_
Skip your customers.
Add
exclude_company_domainwith your existing customers so you don’t prospect accounts you already have.not_found
Widen the search.
Drop
departmentfirst, then broadenseniority.D
Don’t send blind.
Never send to D. Treat C and F as unknown: validate them, or warm them at lower volume.
From our sister company
An IP gets you the company. RB2B gets you the person.
RB2B identifies the individual on your site, with their name, LinkedIn profile and business email, and sends them to Slack, Teams, your CRM or Clay. Person-level identification covers US visitors.
Try RB2B >One script in your site header.
Staying within your plan
What your $27$97 buys.
Tokens are unlimited, so the limits that matter are the Fair Use windows. Search is the tight one.
Ring up a plan
At 5 people per company
~400
ICP companies fully processed a week
About 80 per 5-hour window.
At 5 people per company
~6,250
ICP companies fully processed a week
About 1,250 per 5-hour window.
The windows roll from your first request, not on a fixed clock. Call get_account any time to see what’s left and when each window resets. It costs nothing.
moltsets_>
$27 / month plan · Fair Use
Tokensunlimited
Enrichment
1 Resolve IP1 req/IP · 1 rec/match
Missing email1 req · 1 rec/match
Limit5k req + 1k rec / 5h · 5k rec / wk
Search tight
3 Enrich company1 req · 1 rec
4 Find people1 req · 1 rec/person
Limit2.5k req + 500 rec / 5h · 2.5k rec / wk
Searches at once3
@ 5 people/co~400 co / wk
get_accountfree
Keep this receipt
moltsets_>
$97 / month plan · Fair Use
Tokensunlimited
Enrichment
1 Resolve IP1 req/IP · 1 rec/match
Missing email1 req · 1 rec/match
Limit75k req + 15k rec / 5h · 75k rec / wk
Search tight
3 Enrich company1 req · 1 rec
4 Find people1 req · 1 rec/person
Limit37.5k req + 7.5k rec / 5h · 37.5k rec / wk
Searches at once5
@ 5 people/co~6,250 co / wk
get_accountfree
Keep this receipt
Ways to stretch it ✂ clip and keep
Saves repeat visits
Cache by IP
Store every IP result, misses too, for 7 to 30 days.
Saves search
Cache by domain
Look each company up once. Refresh firmographics monthly at most.
Saves search
People once per company
Track which domains you’ve already pulled contacts for.
Saves round trips
Batch IP lookups
ip_addressestakes up to 100 IPs per call. Each IP still counts as one request.Saves retries
Handle 429s properly
Wait the
retry_afterseconds, then resend only the dropped items.Need more?
See every plan →
Bigger plans raise every limit, up to 112.5k search records per 5 hours.
Step 5
Privacy and compliance
An IP address can be personal data under GDPR, and Step 4 returns named people with business emails. That puts this pipeline inside privacy law, so sort these out before you switch it on.
Where the personal data is.
- Visitor IP203.0.113.10Personal data
- Steps 1-3Acme InfolabsBusiness data
- Step 4Jane Smith, DirectorPersonal data
- Step 4Business emailPersonal data
privacy law appliescompany facts, lower risk
So, before you go live
- 01Pick a lawful basis
Most teams use legitimate interest. Write a short assessment that covers both the company lookup and the people search, and keep it on file.
- 02Say it in your privacy policy
Explain that you match visitor IPs to companies and look up business contacts, what you store, why, and how someone can object.
- 03Set a retention period
Your IP cache already expires after 7 to 30 days. Make that your stated retention period, and delete on schedule.
- 04Check how you capture the IP
A script or beacon that stores or reads anything on the visitor’s device falls under cookie rules. In the EU, consent is the default for non-essential tracking.
- 05Treat contact as direct marketing
Emailing the people from Step 4 has its own rules, and they differ between the UK, the EU and the US. Always identify yourself and offer an easy opt-out.
- 06Honour objections
Keep a suppression list. When someone objects, stop processing their data and don’t contact them again.
This is a starting checklist, not legal advice. Rules differ by country and change over time, so check your setup with your own counsel before you go live.
No code version
Run it through Claude
If you have a list of IPs and no pipeline yet, the MoltSets MCP server runs the same four steps in a chat. Connect it at https://mcp.moltsets.com/mcp, paste or attach your IPs, and give Claude the rules.
Running it through Claude instead of code
Copy. Paste. Get a table.
-
1Connect the server
https://mcp.moltsets.com/mcp - 2Paste or attach your IPs
- 3Give Claude the rules →
Here are this week’s website visitor IPs. For each one:
- Resolve it with
ip_to_companyand take the candidate with the highest percentage. - Skip anything below 0.8.
- Look up the company with
search_companiesby domain. - Keep only Information Technology or Finance and Banking companies with 51-1000 employees in the US, Canada or the UK.
- For those, find up to 5 Director-level and above people in Sales or Marketing with
search_people.
Give me a table of company, domain, confidence, industry, size, and each person’s name, title, LinkedIn URL and business email.
Here are this week's website visitor IPs. For each one: 1. Resolve it with ip_to_company and take the candidate with the highest percentage. 2. Skip anything below 0.8. 3. Look up the company with search_companies by domain. 4. Keep only Information Technology or Finance and Banking companies with 51-1000 employees in the US, Canada or the UK. 5. For those, find up to 5 Director-level and above people in Sales or Marketing with search_people. Give me a table of company, domain, confidence, industry, size, and each person's name, title, LinkedIn URL and business email.
Best for: a weekly review of a few hundred IPs.
Best for: live, per-visit identification that runs without you.
Sources: IP to Company · Search for Companies · Rate Limits · Authentication
Run this playbook on MoltSets
1,000 API calls. No card.
Sign up and start calling the API today.