Skip to content

API code examples

Ready-to-use snippets for calling the Apixies API. Copy one in cURL, JavaScript, PHP or Python, swap in your key and you're done. Every endpoint page has its own set too.

Validate an email

The same request to /api/v1/inspect-email in four languages. The only thing that changes per endpoint is the path and the parameters.

curl -X GET \
  "https://apixies.com/api/v1/inspect-email?email=someone@example.com" \
  -H 'X-API-Key: YOUR_API_KEY'
fetch('https://apixies.com/api/v1/inspect-email?email=someone@example.com', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
}).then(r => r.json()).then(console.log);
$curl = curl_init();
curl_setopt_array($curl, [
  CURLOPT_URL => "https://apixies.com/api/v1/inspect-email?email=someone@example.com",
  CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
  CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests

resp = requests.get(
    "https://apixies.com/api/v1/inspect-email",
    params={"email": "someone@example.com"},
    headers={"X-API-Key": "YOUR_API_KEY"}
)
data = resp.json()["data"]
print(data)

Get a free API key

A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy