Skip to content

Mtaa API Documentation API

by mtaa-api.herokuapp.com

No authHTTPSOpen Data
Open documentation ↗

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
Spec updated
2021-06-30

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://mtaa-api.herokuapp.com/api/COUNTRY" \
  -H "Accept: application/json"
JavaScript
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);
Python
import requests

response = requests.request(
    "GET",
    "https://mtaa-api.herokuapp.com/api/COUNTRY",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat 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.

Compare alternatives →

Listed from APIs.guru (CC0).