MaxiLead API Documentation
Connect your CRM or internal prospecting workflows using scoped Bearer API keys. Contact values stay masked on search endpoints and require explicit reveal calls.
1. Authentication
Send your secret key in the Authorization header over HTTPS. Keys belong to one organization and are hashed at rest.
Authorization: Bearer dk_live_your_secret_key
2. Search Directory (GET /api/search)
Supports full-text Arabic/French/English queries (q), wilaya code (01–58), category UUID, contact presence filters, and keyset cursor pagination up to your plan's max_result_depth.
curl "https://maxilead.dz/api/search?q=pharmacie&wilaya=16&phone=1&limit=25" \ -H "Authorization: Bearer dk_live_..."
3. Reveal Contact (POST /api/reveal)
Unlocks a single phone, whatsapp, email, or website field idempotently using your idempotencyKey. Replays within the same billing period do not deduct additional quota.
curl -X POST "https://maxilead.dz/api/reveal" \
-H "Authorization: Bearer dk_live_..." \
-H "Content-Type: application/json" \
-d '{"businessId":"00000000-0000-4000-8000-000000000001","field":"phone","idempotencyKey":"org1:biz1:phone:2026-11"}'4. Rate Limits & Fair Use
Requests exceeding per-minute limits return 429 Too Many Requests with Retry-After. Repeated depth probing or canary access triggers automatic key revocation.