Documentation

Welcome to KhaleejiAPI

KhaleejiAPI provides fast, reliable APIs for developers across the Middle East, backed by our Mumbai primary region and Cloudflare edge delivery. Get started in minutes with our simple SDKs and comprehensive documentation.

Ultra-Low Latency

Sub-50ms response times in the MENA region

Regional Focus

Optimized for UAE, GCC, and MENA markets

99.99% Uptime

Enterprise-grade reliability with SLA

Free Tier

1,000 free requests per month to get started

Quick Start

Get up and running with KhaleejiAPI in under 5 minutes.

Authentication header format

Do not send the raw key by itself. Use your API key in the Authorization header exactly like this:

bash
Authorization: Bearer <YOUR_API_KEY>

1. Install the SDK

bash
npm install @khaleejiapi/sdk

2. Make your first request

javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk';
// Initialize with your API key
const client = new KhaleejiAPI('your_api_key');
// Make your first API call
const location = await client.ip.lookup('8.8.8.8');
console.log(location);
// {
// ip: "8.8.8.8",
// country: "United States",
// city: "Mountain View",
// ...
// }

3. Get your API key

Sign up for a free account to get your API key. No credit card required.

Get your API key

Next Steps