Link Search Menu Expand Document

Retrieve the country list or region list for survey responses

To retrieve the list of available countries:

https://covidmap.umd.edu/api/country

{"data":
	[
		{"country": "Afghanistan"},
		{"country": "Albania"},
		...
		{"country": "Mexico"},
		{"country": "Moldova"},
		...
	]
}

To retrieve the list of available regions:

https://covidmap.umd.edu/api/region

{"data":
	[	...
		{"country": "Argentina", "region":"Buenos Aires"},
		{"country":"Argentina","region":"Chaco"},
		...
		{"country": "Philippines", "region":"Central Luzon"},
		{"country":"Philippines","region":"Central Visayas"},
		...
		{"country": "Dominican Republic", "region":"Distrito Nacional"},
		{"country":"Dominican Republic","region":"Santiago"},
		...
	]
}