Data API quickstart
Create a key and make your first enrichment call with curl.
1. Create a key
In the dashboard, open API keys and create a key. Choose test to start: test keys return sandbox data and never spend credits. The full key is shown once, so copy it somewhere safe.
2. Call the API
curl https://api.wholayer.com/v1/people/enrich \
-H "Authorization: Bearer wl_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"fieldline.example.com","first_name":"Dana","last_name":"Okafor"}'3. Check your balance
curl https://api.wholayer.com/v1/balance -H "Authorization: Bearer wl_test_YOUR_KEY"Endpoints
POST /v1/people/enrich: emails, and a mobile if you ask for onePOST /v1/people/search: find people by title, seniority, company, locationPOST /v1/emails/verify: check deliverabilityPOST /v1/phones/lookup: mobile with carrier and line typeGET /v1/companies/{domain}: company profileGET /v1/visitors: people and companies identified on your sitesPOST /v1/bulk: up to 1,000 rows per callGET /v1/balance: credits remaining
Full reference: API docs. Try one in your browser on the Data API page.
Was this helpful?