Use Case
Discover phone numbers for leads for sales outreach, CRM enrichment, or lead qualification.
Endpoint
POST https://api.sixtyfour.ai/find-phone
Request
| Name | Type | Required | Description |
|---|
| x-api-key | string | Yes | Your Sixtyfour API key |
| Content-Type | string | Yes | Must be application/json |
Body
| Field | Type | Required | Description |
|---|
| lead | object | Yes | Lead information object |
The lead object can include any combination of the following fields. Provide as much data as possible for better results.
| Field | Type | Description |
|---|
| name | string | Full name of the person |
| company | string | Company name |
| linkedin_url | string | LinkedIn profile URL |
| domain | string | Company website domain |
| email | string | Email address |
| other key-value pairs | string | Any additional key-value pairs you have on the lead |
The lead object accepts any additional key-value pairs beyond the listed optional fields. You can pass extra context like title, location, website, etc. — essentially any data you have on the lead. The more information you provide, the better the discovery results.
Example Request
{
"lead": {
"name": "John Doe",
"company": "Example Corp",
"linkedin_url": "https://linkedin.com/in/johndoe",
"domain": "example.com",
"email": "[email protected]"
}
}
Response
Success Response (200)
Phone numbers can be returned in different formats depending on results:
Single phone number:
{
"name": "John Doe",
"company": "Example Corp",
"linkedin_url": "https://linkedin.com/in/johndoe",
"phone": "+1 555-123-4567"
}
Multiple phone numbers:
{
"name": "John Doe",
"company": "Example Corp",
"phone": [
{
"number": "+1 555-123-4567",
"region": "US"
},
{
"number": "+1 555-987-6543",
"region": "US"
}
]
}
No phone found:
{
"name": "John Doe",
"company": "Example Corp",
"phone": ""
}
Error Response (400)
{
"detail": "Lead data is required"
}
Bulk Phone Finding
Use the bulk enrichment endpoint to process multiple leads at once:
POST https://api.sixtyfour.ai/enrich-dataframe
{
"csv_data": "name,company,linkedin_url\nJohn Doe,Example Corp,https://linkedin.com/in/johndoe\nJane Smith,Tech Inc,https://linkedin.com/in/janesmith",
"enrichment_type": "phone"
}
Check status with GET /job-status/{job_id}.
Example Usage
curl -X POST "https://api.sixtyfour.ai/find-phone" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"lead": {
"name": "Sarah Johnson",
"company": "TechCorp Inc",
"linkedin_url": "https://linkedin.com/in/sarahjohnson"
}
}'
Best Practices
1. Provide Rich Lead Data
Include as much information as possible for better results:
- Full name (required for Sixtyfour AI)
- Company name and domain
- LinkedIn URL
- Any existing contact information
Phone numbers can be returned as:
- String:
"+1 555-123-4567"
- Object array:
[{"number": "+1 555-123-4567", "region": "US"}]
- Empty string:
"" (when no phone found)
3. Error Handling
Always implement proper error handling:
try:
response = requests.post(url, headers=headers, json=data)
response.raise_for_status()
result = response.json()
phone = result.get('phone', '')
if phone:
print(f"Phone found: {phone}")
else:
print("No phone number found")
except requests.exceptions.RequestException as e:
print(f"API request failed: {e}")
Setup Requirements
SIXTYFOUR_API_KEY environment variable must be set
- Valid Sixtyfour AI subscription with phone enrichment access
- International format preferred:
+1 555-123-4567
- Regional codes included when available
- Multiple numbers returned as array when found
Limitations
- Requires first name and last name for Sixtyfour AI processing
- Sixtyfour AI API timeout: 3 minutes maximum
- Phone availability depends on Sixtyfour AI’s database coverage
- Some regions may have limited phone number availability