Quick Start
Get Started in 5 Minutes
Follow these simple steps to start using KhaleejiAPI in your applications.
1
Create an Account & Get Your API Key
Sign up for a free account to get your API key. You'll get 1,000 free requests per month to start.
2
Make Your First API Call
Use our official SDKs or call the REST API directly. All endpoints are available at https://khaleejiapi.dev/api/v1/
Install an SDK (recommended)
bash
# JavaScript / TypeScriptnpm install @khaleejiapi/sdk # Pythonpip install khaleejiapicURL
bash
curl -X GET "https://khaleejiapi.dev/api/v1/email/[email protected]" \ -H "Authorization: Bearer your_api_key_here" \ -H "Content-Type: application/json"JavaScript / TypeScript
javascript
// Using fetch (Node.js 18+, Deno, Bun, browsers)const response = await fetch( 'https://khaleejiapi.dev/api/v1/email/[email protected]', { headers: { 'Authorization': 'Bearer your_api_key_here', 'Content-Type': 'application/json', }, }); const data = await response.json();console.log(data);// {// data: {// email: "[email protected]",// valid: true,// deliverabilityScore: 98,// reason: "Valid email address",// checks: { syntax: true, disposable: true, mx: true, role: false, freeProvider: false }// },// meta: { timestamp: "2025-07-01T12:00:00.000Z" }// }Python
python
import requests response = requests.get( "https://khaleejiapi.dev/api/v1/email/validate", params={"email": "[email protected]"}, headers={"Authorization": "Bearer your_api_key_here"}) data = response.json()print(data["data"]["valid"]) # True3
Explore Available APIs
We offer 26+ APIs for the Middle East — email validation, IP geolocation, VAT calculation, exchange rates, Islamic finance, and more. Browse the full catalog to find what you need.
Tip: Never expose your API key in client-side code. Always keep it on the server or use environment variables.