İçeriğe geç

WhatsApp Bulk eKYCPro Avatar (Age and Gender) API: Profile Analysis & Demographics

Check the avatar information of the WhatsApp of the input global number, whether it is whatsapp account, the profile picture URL, gender, age, hair color, skin color. as well as the type of profile picture.

Dosya yükleme örneği:

curl --location 'https://api.ekycpro.com/wa/api/deep/tasks' \
--header 'X-API-Key: API-KEY' \
--form 'file=@"input.txt"'

Görev durumunu kontrol etme örneği:

curl --location 'https://api.ekycpro.com/wa/api/deep/tasks/cs9viu7i61pkfs4oavvg' \
--header 'X-API-Key: API-KEY'

Dosya yükleme başarılı yanıtı:

{
"created_at": "2024-10-19T18:24:56.450567423Z",
"updated_at": "2024-10-19T18:24:56.450567423Z",
"task_id": "cs9viu7i61pkfs4oavvg",
"user_id": "test",
"status": "pending",
"total": 0,
"success": 0,
"failure": 0
}

İşleniyor durumu yanıtı:

{
"created_at": "2024-10-19T18:24:56.450567423Z",
"updated_at": "2024-10-19T18:33:22.86152082Z",
"task_id": "cs9viu7i61pkfs4oavvg",
"user_id": "test",
"status": "processing",
"total": 20000,
"success": 6724,
"failure": 0
}

Görev tamamlandı yanıtı (indirme URL’i dahil):

{
"created_at": "2024-10-19T18:24:56.450567423Z",
"updated_at": "2024-10-19T18:53:43.141760071Z",
"task_id": "cs9viu7i61pkfs4oavvg",
"user_id": "test",
"status": "exported",
"total": 20000,
"success": 20000,
"failure": 0,
"result_url": "https://example-link-to-results.xlsx"
}

Dosya yükleme istek URL’i

POST https://api.ekycpro.com/wa/api/deep/tasks

Dosya yükleme istek parametreleri

ParametreAçıklama
user_idstring, User ID
filefile, Bir dosya yükleyin; her satır E.164 formatında bir numara içermelidir

Görev durum sorgulama istek URL’i

GET https://api.ekycpro.com/wa/api/deep/tasks/{TASK_ID}

Görev durum sorgulama istek parametreleri

ParametreAçıklama
user_idstring, User ID

Sonuç alanları

AlanAçıklamaÖrnek
NumberPhone number in E.164 format+41798284651
ageEstimated age range based on profile picture25
avatarURL of WhatsApp profile picturehttps://example.com/avatar.jpg
categoryType classification of profile pictureindividual portrait, pet avatar, object, etc.
genderGender detected from profile picturemale, female
hair_colorHair color detected from profile pictureblack, brown, blonde, etc.
skin_colorEthnicity/race detected from profile picturewhite, black, etc.
whatsappWhether number has active WhatsApp accountyes, no

Yanıt formatı

FieldDescription
created_atTimestamp when task was created
updated_atTimestamp of last task status update
task_idUnique task identifier
user_idID of user
statusTask status:
pending: Queued and waiting
processing: Currently processing
completed: Processing finished
exported: Results available for download
totalTotal phone numbers processed
successNumbers successfully identified
failureNumbers that failed processing
result_url(Optional) Download URL for results when status is exported

Durum kodları

DurumAçıklama
200charge, Request successful, task created or status retrieved
400free, Bad request, invalid parameters or file format
500free, Internal server error, retry later