Overview
Mtaa A simple REST API to access Tanzania's location information,With mtaa API you can easily query and integrate all the location in tanzania from region level to streets from your programming language of your your choice
Mtaa API Documentation is an open data API from mtaa-api.herokuapp.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 5 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Open Data
- Base URL
https://mtaa-api.herokuapp.com/api- Version
- 1.0
- Endpoints
- 5
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-30
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://mtaa-api.herokuapp.com/api/COUNTRY" \
-H "Accept: application/json"const response = await fetch("https://mtaa-api.herokuapp.com/api/COUNTRY", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://mtaa-api.herokuapp.com/api/COUNTRY",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /{country} | Returns all regions present in Tanzania |
| GET | /{country}/{region} | Returns all districts in region |
| GET | /{country}/{region}/{district} | Returns all wards in a district |
| GET | /{country}/{region}/{district}/{ward} | Returns all streets in a ward |
| GET | /{country}/{region}/{district}/{ward}/{street} | Returns all neighborhood in a street |
Questions
Does the Mtaa API Documentation API need an API key?
No. The Mtaa API Documentation API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Mtaa API Documentation API support HTTPS?
Yes, the Mtaa API Documentation API is served over HTTPS.
How many endpoints does the Mtaa API Documentation API have?
Its OpenAPI description lists 5 endpoints in version 1.0. All of them are shown on this page.
What are alternatives to the Mtaa API Documentation API?
Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.
Similar open data APIs
Compare alternatives →Search Services
Open DataAPI for Internet Archive's Search-related services
Wayback API
Open DataAPI for Internet Archive's Wayback Machine
Wikipedia
Open DataMediawiki Encyclopedia
Nasdaq Data Link
Open DataThe source for financial, economic, and alternative datasets, serving investment professionals.
University of Oslo
Open DataCourses, lecture videos, detailed information for courses etc. for the University of Oslo (Norway)
Data API
Open DataServes the Clever Data API
Listed from APIs.guru (CC0).