API Endpoints
Email Finder
Use this endpoint to find the email for a contact
Endpoint
POST https://api.airscale.io/v1/email
POST https://api.airscale.io/v1/email
POST https://api.airscale.io/v1/email
Headers
Key | Value | Required |
|---|---|---|
Content-Type | application/json | Yes |
Authorization | Bearer <YOUR_API_KEY> | Yes |
Request Body
{ "linkedin_profile_url": "https://www.linkedin.com/in/vdetraz/", "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" }
{ "linkedin_profile_url": "https://www.linkedin.com/in/vdetraz/", "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" }
{ "linkedin_profile_url": "https://www.linkedin.com/in/vdetraz/", "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" }
Option 1: Name + Company name or Domain
Field | Type | Required |
|---|---|---|
linkedin_profile_url | string | No |
first_name | string | Yes |
last_name | string | Yes |
domain | string | Only if: company_name is empty |
company_name | string | Only if: domain is empty |
Option 2: LinkedIn profile URL
Field | Type | Required |
|---|---|---|
linkedin_profile_url | string | Yes |
first_name | string | No |
last_name | string | No |
domain | string | No |
company_name | object | No |
Response
Successful Response (200)
{ "status": "success", "email": "victor@airscale.io", "email_status": "valid", "provider": "Prospeo", "verifier": "Bounceban" }
{ "status": "success", "email": "victor@airscale.io", "email_status": "valid", "provider": "Prospeo", "verifier": "Bounceban" }
{ "status": "success", "email": "victor@airscale.io", "email_status": "valid", "provider": "Prospeo", "verifier": "Bounceban" }
Example Usage
cURL
curl -X POST "https://api.airscale.io/v1/email" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "linkedin_profile_url": "https://www.linkedin.com/in/vdetraz/", "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" }'
curl -X POST "https://api.airscale.io/v1/email" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "linkedin_profile_url": "https://www.linkedin.com/in/vdetraz/", "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" }'
curl -X POST "https://api.airscale.io/v1/email" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "linkedin_profile_url": "https://www.linkedin.com/in/vdetraz/", "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" }'
Python
import requests url = "https://api.airscale.io/v1/email" headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" } data = { "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" } response = requests.post(url, json=data, headers=headers) print(response.status_code) print(response.json())
import requests url = "https://api.airscale.io/v1/email" headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" } data = { "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" } response = requests.post(url, json=data, headers=headers) print(response.status_code) print(response.json())
import requests url = "https://api.airscale.io/v1/email" headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" } data = { "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale" } response = requests.post(url, json=data, headers=headers) print(response.status_code) print(response.json())
JavaScript (Fetch)
fetch("https://api.airscale.io/v1/email", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ first_name: "Victor", last_name: "Detraz", domain: "airscale.io", company_name: "Airscale" }) }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error("Error:", error));
fetch("https://api.airscale.io/v1/email", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ first_name: "Victor", last_name: "Detraz", domain: "airscale.io", company_name: "Airscale" }) }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error("Error:", error));
fetch("https://api.airscale.io/v1/email", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ first_name: "Victor", last_name: "Detraz", domain: "airscale.io", company_name: "Airscale" }) }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error("Error:", error));
PHP
<
<
<
GO
package main import ( "bytes" "encoding/json" "fmt" "io/ioutil" "net/http" ) func main() { url := "https://api.airscale.io/v1/email" payload := map[string]string{ "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale", } body, _ := json.Marshal(payload) req, _ := http.NewRequest("POST", url, bytes.NewBuffer(body)) req.Header.Set("Authorization", "Bearer YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := ioutil.ReadAll(resp.Body) fmt.Println(string(respBody)) }
package main import ( "bytes" "encoding/json" "fmt" "io/ioutil" "net/http" ) func main() { url := "https://api.airscale.io/v1/email" payload := map[string]string{ "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale", } body, _ := json.Marshal(payload) req, _ := http.NewRequest("POST", url, bytes.NewBuffer(body)) req.Header.Set("Authorization", "Bearer YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := ioutil.ReadAll(resp.Body) fmt.Println(string(respBody)) }
package main import ( "bytes" "encoding/json" "fmt" "io/ioutil" "net/http" ) func main() { url := "https://api.airscale.io/v1/email" payload := map[string]string{ "first_name": "Victor", "last_name": "Detraz", "domain": "airscale.io", "company_name": "Airscale", } body, _ := json.Marshal(payload) req, _ := http.NewRequest("POST", url, bytes.NewBuffer(body)) req.Header.Set("Authorization", "Bearer YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := ioutil.ReadAll(resp.Body) fmt.Println(string(respBody)) }
On this page
