Communes and post offices

List the daïras and their communes

The daïras of décret exécutif n° 91-306 as amended (Algiers: circonscriptions administratives), each with its communes. Filter by wilaya and q. Algeria only.

get/dairas

Request

  • Base URL: https://www.upgrowth.dz/api/v1
  • URL: https://www.upgrowth.dz/api/v1/dairas
  • Auth: one of:
    • none
    • HTTP bearer

Query parameters

wilayastring

A wilaya number from 1 to 69.

qstring

A daïra or commune name, accents ignored.

lang'fr' | 'ar' | 'en'

Language of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English).

limitinteger

Maximum number of results in the page, from 1 to 100. Defaults to 20. Without an API key at most 10 rows come back.

offsetinteger

Number of results to skip, from 0 to 10000, to read the next pages. Defaults to 0. meta.total tells how many results match. Without an API key it must be 0: a search cannot be paged.

countrystring

Country of the data, an ISO 3166-1 alpha-2 code in any letter case: DZ for Algeria, the default, TN for Tunisia or MA for Morocco. Only live countries answer: list_countries shows them and their datasets. Any other country, or a dataset the country does not have (for example the activity nomenclature for Morocco), returns country_not_available. Without an API key only DZ answers: TN and MA return key_required.

Response

The data, with its meta.

Changes

No recorded changes to this operation across all 1 revision of this API.