Skip to content

X Checker API: Real-time Phone Number Verification

Check whether a phone number is registered on X, in real time.

Code example:

curl -X POST 'https://api.ekycpro.com/v1/check' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"service_type": "twitter", "identifier": "+1234567890"}'

Success response:

{
"success": true,
"data": {
"id": "chk_a1b2c3d4e5f6",
"identifier": "+1234567890",
"registered": true,
"billed": true
}
}

HTTP Request

POST https://api.ekycpro.com/v1/check

Request Headers

HeaderDescription
X-API-KeyYour API key (required)
Content-Typeapplication/json

Request Body

FieldTypeRequiredDescription
service_typestringYestwitter
identifierstringYesPhone number in E.164 format

Response Fields

FieldTypeDescription
successboolWhether the request succeeded
data.identifierstringThe checked identifier
data.registeredboolWhether account is registered
data.idstringUnique check request ID
data.billedboolWhether this request was billed

NOT_FOUND

"success": false with "error": "NOT_FOUND" means nothing could be found for this identifier — including when the upstream service is unavailable, times out or cannot give a definite answer. NOT_FOUND is never billed, and it does not mean the account is unregistered. You can retry later.

Status Codes

StatusDescription
200Check completed
400Bad request
401Unauthorized
500Server error