# UAE Emirates Population of 2024 year (`datalab-market/emirates-population-2024`) Actor

- **URL**: https://apify.com/datalab-market/emirates-population-2024.md
- **Developed by:** [DataLab Laboratory](https://apify.com/datalab-market) (community)
- **Categories:** Developer tools, AI, Agents
- **Features:** Full permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10,000.00 / 1,000 emirates data results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## UAE Emirates Population 2024 with Geometry

Get detailed population data for all United Arab Emirates with geographic boundaries in GeoJSON format.

### 📊 What You Get

- **Population statistics** for all 7 UAE emirates
- **Geographic boundaries** in GeoJSON format (polygons)
- **Density data** (population per km²)
- **Official area** measurements
- **Bilingual names** (English and Arabic)
- **Descriptions** of each emirate

### 🗺️ Included Emirates

1. **Abu Dhabi** (أبو ظبي) - Capital and largest emirate
2. **Dubai** (دبي) - Global business hub
3. **Sharjah** (الشارقة) - Cultural capital
4. **Ajman** (عجمان) - Smallest emirate
5. **Umm Al-Quwain** (أم القيوين) - Known for quiet coastal lifestyle
6. **Ras Al-Khaimah** (رأس الخيمة) - Mountainous emirate with rich history
7. **Fujairah** (الفجيرة) - Only emirate on Gulf of Oman coastline

### 🚀 Input Parameters

#### Filter by Emirate Name

Filter results by emirate name in English or Arabic

- **Type:** String
- **Example:** `"Dubai"` or `"دبي"`
- **Default:** All emirates

#### Minimum Population

Filter results by minimum population threshold

- **Type:** Integer
- **Example:** `100000`
- **Default:** No minimum

#### Maximum Population

Filter results by maximum population threshold

- **Type:** Integer
- **Example:** `5000000`
- **Default:** No maximum

#### Include Geometry

Include or exclude GeoJSON geometry (polygons) from results

- **Type:** Boolean
- **Default:** `true`
- **Note:** Set to `false` to reduce data size if you only need statistics

### 📤 Output Format

The actor returns data in two formats:

#### 1. Full GeoJSON FeatureCollection

```json
{
  "type": "FeatureCollection",
  "features": [...],
  "metadata": {
    "totalFeatures": 7,
    "timestamp": "2024-11-05T01:30:00.000Z",
    "filters": {...}
  }
}
```

#### 2. Individual Emirate Records

```json
{
  "emirate_id": 1,
  "emirate_name_en": "Abu Dhabi",
  "emirate_name_ar": "أبو ظبي",
  "population": 4135985,
  "density_sq_km": 61.42,
  "square_sq_km": 67340,
  "type": "Emirate",
  "geometry": {
    "type": "MultiPolygon",
    "coordinates": [...]
  }
}
```

### 💡 Use Cases

- **Mapping applications** - Display UAE emirates on interactive maps
- **Demographics research** - Analyze population distribution
- **Business intelligence** - Target specific regions based on population
- **Travel apps** - Show emirate information to tourists
- **Real estate** - Understand area and density for property analysis
- **Data visualization** - Create infographics and dashboards

### 🔧 Usage Examples

#### Get all emirates with geometry

```javascript
{
  "includeGeometry": true
}
```

#### Get only Dubai data

```javascript
{
  "filterByEmirate": "Dubai",
  "includeGeometry": true
}
```

#### Get emirates with population over 1 million (without geometry)

```javascript
{
  "minPopulation": 1000000,
  "includeGeometry": false
}
```

### 📊 Data Quality

- **Updated:** 2024
- **Source:** Official UAE statistics
- **Geometry format:** GeoJSON (compatible with all mapping libraries)
- **Coordinate system:** WGS84 (standard GPS coordinates)

### 🌐 Integration

Works seamlessly with:

- Leaflet.js
- Mapbox GL JS
- Google Maps
- OpenLayers
- D3.js
- Any GeoJSON-compatible tool

### 📝 License

This dataset is provided for commercial and non-commercial use.

### 🆘 Support

For questions or issues, please contact the actor author.

***

**Made with ❤️ for UAE data enthusiasts**

# Actor input Schema

## `filterByEmirate` (type: `string`):

Filter results by emirate name (English or Arabic). Leave empty to get all emirates.

## `minPopulation` (type: `integer`):

Filter results by minimum population

## `maxPopulation` (type: `integer`):

Filter results by maximum population

## `includeGeometry` (type: `boolean`):

Include GeoJSON geometry in results (polygons). Disable to reduce data size if you only need statistics.

## Actor input object example

```json
{
  "filterByEmirate": "Dubai",
  "minPopulation": 100000,
  "maxPopulation": 5000000,
  "includeGeometry": true
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("datalab-market/emirates-population-2024").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("datalab-market/emirates-population-2024").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call datalab-market/emirates-population-2024 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datalab-market/emirates-population-2024"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/NTYT61Soh1r2A2iac/builds/KFixoOASQpil83pXe/openapi.json
