Open documentation ↗Overview
The Miataru API is very simple and straight forward. Generally you're posting (HTTP POST) a JSON formatted request to a service method locations and you get back a JSON formatted answer. Please take into consideration that this has the request-for-comment status and that it can change while there's work done on client and server applications. Versioning therefore is done by prepending the version number - /v1/ for version 1 - to the method call.
Miataru is a geocoding API from miataru.com. It needs no API key. It is served over plain HTTP. Its OpenAPI description documents 5 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- No
- CORS
- Unknown
- Category
- Geocoding
- Base URL
http://service.miataru.com/v1- Version
- 1.0.0
- Endpoints
- 5
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "http://service.miataru.com/v1/GetLocationGeoJSON/DEVICEID" \
-H "Accept: application/json"const response = await fetch("http://service.miataru.com/v1/GetLocationGeoJSON/DEVICEID", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"http://service.miataru.com/v1/GetLocationGeoJSON/DEVICEID",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /GetLocation | To retrieve a specific devices latest known location the /GetLocation method is used. Please note that the MiataruConfig portion is optional. RequestMiataruDevi |
| GET | /GetLocationGeoJSON/{deviceID} | Retrieves a devices Location in GeoJSON format. |
| POST | /GetLocationHistory | Location History is stored on the server only if the client told the server to do so using the “EnableLocationHistory” setting in the Location Update requests. |
| POST | /GetVisitorHistory | Visitor History is stored on the server with every request to the location or location history information of a device. There is a server-side setting that cont |
| POST | /UpdateLocation | This method is used to update the location of a device. The device does not need to be known already to the Miataru server but it rather creates a unique identi |
Questions
Does the Miataru API need an API key?
No. The Miataru API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Miataru API support HTTPS?
The Miataru API is listed as HTTP only, so avoid sending secrets to it.
How many endpoints does the Miataru API have?
Its OpenAPI description lists 5 endpoints in version 1.0.0. All of them are shown on this page.
What are alternatives to the Miataru API?
Other Geocoding APIs include Bing Maps, ip-api, OpenStreetMap, GeographQL, IP Address Details.
Similar geocoding APIs
Compare alternatives →Bing Maps
GeocodingCreate/customize digital maps based on Bing Maps data
ip-api
GeocodingFind location with IP address or domain
OpenStreetMap
GeocodingNavigation, geolocation and geographical data
GeographQL
GeocodingA Country, State, and City GraphQL API
IP Address Details
GeocodingFind geolocation with ip address
ipapi.co
GeocodingFind IP address location information
Listed from APIs.guru (CC0).