Call the Disposable Phone Checker API from PHP with a single request — here's the whole thing, key included.
$ch = curl_init("https://api.apiverve.com/v1/disposablephone");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-api-key: YOUR_API_KEY"]);
$response = curl_exec($ch);
echo $response;Swap YOUR_API_KEY for the key on your dashboard. See the reference for the exact parameters this endpoint accepts.
phone"+12085813945"isDisposabletruefirstSeen"2024-01-30"