Checking...
🇩🇿

Algeria Wilayas & Communes REST API

A complete API to access data from Algeria's 58 wilayas and their communes, with delivery cost calculation.

58 Wilayas
1541 Communes
7 Endpoints
JavaScript
// Get all wilayas
    fetch('https://algeria-wilayas-api-kappa.vercel.app/wilayas')
  .then(response => response.json())
  .then(data => console.log(data));

Main Features

58 Complete Wilayas

All Algerian wilayas with their respective communes

Delivery Rates

Home/office delivery costs and times for each wilaya

Smart Calculator

Precise estimation with weight, package type and discounts

Secure API

Rate limiting, CORS and protection against abuse

Already Used in Production

This API is actively used in real WordPress/WooCommerce projects, including the WooCommerce Algeria Checkout Form Plugin that I developed for Algerian e-commerce sites.

+35%
Conversion Rate
-60%
Order Time
98%
Customer Satisfaction
Smart wilaya/commune selection with cascading dropdowns
Automatic delivery cost calculation by region
Integration with Algerian delivery services (Yalidine, Speedaf, ZR Express)
Algerian phone number validation (05xx, 06xx, 07xx)
View Plugin Landing Page
landing-page-for-plugin.vercel.app

WooCommerce Algeria Checkout Plugin

Alger (16)
Bab Ezzouar
+213 5xx xx xx xx
Delivery: 300 DA - 24-48h

Explore Wilayas

Search and explore wilayas and their communes

Delivery Calculator

Estimate delivery costs with our smart calculator

Delivery Parameters

API Documentation

Available endpoints and usage examples

GET /wilayas

Returns the complete list of 58 wilayas

GET /wilaya/:name

Complete details of a wilaya (communes + rates)

GET /wilaya/:name/communes

List of communes for a wilaya

GET /wilaya/:name/delivery

Delivery rates for a wilaya

POST /estimate

Smart delivery cost estimation