CBS Dictionaries

General Search

Specific Search

Appendix

A list of dictionaries and parameters is in the appendix below.

General Search

Template: https://api.cbs.gov.il/dictionary/{subject}/{resource}

Parameters:

Field Type Explanation Default
subjectstringSubject name 
resourcestringResource name 
qstringText to search""
string_match_type

BEGINS_WITH

CONTAINS

EQUALS

Type of searchingbegins_with
sortstring+field/-field""
expand

True/false

up/down

resource1.resource2,

resource3….

 true
fieldsF1,f2,r2.f3,r2.f4

Fields list

(field/resource.field)

*
filterf1={xxx}&f2={xxx}  
PageInt>0Page number1
Page_sizeInt>0Page size

100

Max: 250

* Browsing support

Examples:

https://api.cbs.gov.il/Dictionary/geo/localities

Expand

https://api.cbs.gov.il/Dictionary/geo/localities?expand=true&format=xml&download=False&page=1&page_size=50

q(query):

https://api.cbs.gov.il/Dictionary/geo/localities?q=jer&expand=false& format=xml&download=False&page=1&page_size=50

sort:

https://api.cbs.gov.il/Dictionary/geo/localities?expand=false&sort=name_heb&format=xml&download=False&page=1&page_size=50

fields:

https://api.cbs.gov.il/Dictionary/geo/localities?expand=false&fields=name_eng,name_heb&format=xml&download=False&page=1&page_size=50

filter:

https://api.cbs.gov.il/Dictionary/geo/localities?organization=2&district=6&expand=false&format=xml&download=False&page=1&page_size=50

Output:

Depending on the dictionary requested

Specific Search

Template:

https://api.cbs.gov.il/dictionary/{subject}/{resource}/{id}

Parameters:

Field Type Explanation Default
subjectstringSubject name 
resourcestringResource name 
idstringResource id 
sort+-F1,+-f2+field/-field 
expandTrue/false/up/down/resource1.resource2, resource3…. true
fieldsF1,f2,r2.f3,r2.f4

Fields list

(field/resource.field)

*
PageInt>0Page number1
Page_sizeInt>0Page size

100

Max: 250

* Browsing support

Example:

https://api.cbs.gov.il/Dictionary/Geo/localities/7?expand=true

https://api.cbs.gov.il/Dictionary/geo/localities?id=7&expand=true&format=xml&download=False&page=1&page_size=50

Output:

Depending on the dictionary requested

Appendix of Dictionaries

List of Dictionaries

List of Parameters

List of Dictionaries

Subject Resource
Geodistricts
Geopopulation_groups
Geomunicipal_or_council_status
Geometropolins
Geonatural_areas
Geoorganizational_affiliations
Geoplanning_committee
Georegions
Georeligions
Geolocality_types
Geolocalities


List of Parameters

Shared Parameters

Unique Parameters

Shared Parameters


Parameter Description
id

External ID

This is part of the key, together with the year

Year

Year

This is part of the key, together with the ID

  
name_hebName in Hebrew
name_engName in English

 

Unique Parameters


https://api.cbs.gov.il/Dictionary/geo/localities

Parameter Dictionary
yearlocalities
idlocalities
name_heblocalities
name_englocalities
districtlocalities
regionlocalities
natural_arealocalities
planning_committeelocalities
municipal_or_council_status_symbollocalities
metropolinlocalities
locality_typelocalities
organizationlocalities
religionlocalities
total_populationlocalities
total_jews_and_otherslocalities
total_jewslocalities
total_arabslocalities


https://api.cbs.gov.il/Dictionary/geo/districts

Parameter Dictionary
yeardistricts
iddistricts
name_hebdistricts
name_engdistricts

 

https://api.cbs.gov.il/Dictionary/geo/regions

Parameter Dictionary
yearregions
idregions
name_hebregions
name_engregions

 

https://api.cbs.gov.il/Dictionary/geo/natural_areas

Parameter Dictionary
yearnatural_areas
idnatural_areas
name_hebnatural_areas
name_eng
natural_areas


https://api.cbs.gov.il/Dictionary/geo/planning_committee

Parameter Dictionary
yearplanning_committee
idplanning_committee
name_hebplanning_committee
name_engplanning_committee

 

https://api.cbs.gov.il/Dictionary/geo/municipal_or_council_status

Parameter Dictionary
yearmunicipal_or_council_status
idmunicipal_or_council_status
name_hebmunicipal_or_council_status
name_engmunicipal_or_council_status

 

https://api.cbs.gov.il/Dictionary/geo/Metropolins

Parameter Dictionary
yearmetropolins
idmetropolins
name_hebmetropolins
name_engmetropolins

 

https://api.cbs.gov.il/Dictionary/geo/locality_types

Parameter Dictionary
yearlocality_types
idlocality_types
name_heblocality_types
name_englocality_types

 

https://api.cbs.gov.il/Dictionary/geo/organizational_affiliations

Parameter Dictionary
yearorganizational_affiliations
idorganizational_affiliations
name_heborganizational_affiliations
name_engorganizational_affiliations

 

https://api.cbs.gov.il/Dictionary/geo/Religions

Parameter Dictionary
yearreligions
idreligions
name_hebreligions
name_engreligions

 

https://api.cbs.gov.il/Dictionary/geo/population_groups

Parameter Dictionary
yearpopulation_groups
idpopulation_groups
name_hebpopulation_groups
name_engpopulation_groups