Algeria Wilayas & Communes REST API
A complete API to access data from Algeria's 58 wilayas and their communes, with delivery cost calculation.
// 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.
WooCommerce Algeria Checkout Plugin
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
Returns the complete list of 58 wilayas
Complete details of a wilaya (communes + rates)
List of communes for a wilaya
Delivery rates for a wilaya
Smart delivery cost estimation