Integrate Do-Not-Call lookups and account data into your applications. All responses are JSON unless noted.
https://www.easydnc.org
Provide your API key in either the Authorization
header or the key
query parameter.
Authorization: Bearer <API_KEY>
GET /api/check_dnc.php?key=<API_KEY>&number=3055550123
Authorization
header or POST JSON to avoid leaking keys in server logs.
There is no enforced hard rate limit on the DNC Lookup endpoint at this time. Please use reasonable throughput and backoff on transient errors.
429
with a Retry-After
header.Non-2xx responses include a JSON error:
{
"error": "❌ Invalid request. Provide key and 10-digit number."
}
GETPOST /api/check_dnc.php
key
(string, required) – API key.number
(string, required) – Phone number; any format. We normalize to 10 digits and drop leading 1
.curl 'https://www.easydnc.org/api/check_dnc.php?key=YOUR_KEY&number=+1-305-555-0123'
curl -X POST 'https://www.easydnc.org/api/check_dnc.php' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{ "number": "+1 (305) 555-0123" }'
200
{
"number": "3055550123",
"dnc": false,
"charged": 0.025,
"balance": 19.975,
"status": "✅ NOT on DNC"
}
# 400 Bad Request
{ "error": "❌ Invalid request. Provide key and 10-digit number." }
# 402 Payment Required
{ "error": "❌ Insufficient balance.", "balance": 0.0 }
# 403 Forbidden
{ "error": "❌ Invalid API key." }
# 500 Server Error
{ "error": "❌ DB connection failed." }
$0.025
).debit
and method api
.Email support@easydnc.org with your account email, timestamp, and request details.
Need an API key?
Contact support to enable API access on your account.