PAGE CONTENTS
Introduction
The AfriGIS Population Search API provides users with census data per StatsSA subplace, as collated during Census 2011.
Overview
The API has different endpoints that allow users to either retrieve data or a PDF report.
Data
The data endpoints return population data for a subplace (default) or suburb based on the set of coordinates (latitude and longitude) or seoid used as input parameter. The seoid can be obtained from AfriGIS Autocomplete or Geocode APIs.
Data categories returned are:
- Age Details
- Dwelling Details
- Household Income Details
- Individual Income Details
- Employment Status Details
- Gender Details
- Land Use Details
- Language Details
- Population Group Details
- Water Details
The relevant polygon of the specified dataset is returned as Well Known Text (WKT).
Report
Population data report is generated as a PDF that is available for download. Users can specify a set of coordinates (latitude and longitude) or seoid to be used. The seoid can be obtained from AfriGIS Autocomplete or Geocode APIs.
A choice to use the subplace or suburb dataset can be provided as an input parameter.
The following data categories are returned in the report:
- Age Details
- Dwelling Details
- Household Income Details
- Individual Income Details
- Employment Status Details
- Gender Details
- Land Use Details
- Language Details
- Population Group Details
- Water Details
Authentication
This API makes use of OAuth2 authentication. To integrate, sign up for a free trial account by contacting [email protected]
For detailed integration instructions using OAuth2, please click on the following link: https://developers.afrigis.co.za/oauth2-authentication/
To view technical documentation describing the details of Population Search, click on the button below.