Ethiopia Location API

API ID 1926

Ethiopia Location API is a powerful tool that provides developers with a simple and efficient way to integrate location-based services into their applications.

478 ms avg response

API Documentation

Endpoints

Request

To use this endpoint all you have to do is to insert in the parameters the latitude, longitude of 2 locations with their unit of measure km and mi.

Endpoint ID: 1636
GET https://zylalabs.com/api/1926/ethiopia+location+api/1636/get+ethiopia+route
INPUT PARAMETERS

Get Ethiopia route — Endpoint Features

Object Description
start_lat Required
start_lon Required
end_lat Required
end_lon Required
distance_unit Optional

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

start_lat
start_lon
end_lat
end_lon
distance_unit
API EXAMPLE RESPONSE
JSON
{
  "distance": "790.08km",
  "duration": "9h 37min",
  "steps": [
    {
      "direction": "depart",
      "distance": "0.06km",
      "duration": "0min:8s",
      "instruction": "",
      "location": [
        39.447449,
        13.506198
      ]
    },
    {
      "direction": "turn",
      "distance": "0.29km",
      "duration": "0min:32s",
      "instruction": "",
      "location": [
        39.447837,
        13.505833
      ]
    },
    {
      "direction": "fork",
      "distance": "3.01km",
      "duration": "4min:33s",
      "instruction": "",
      "location": [
        39.449728,
        13.507557
      ]
    },
    {
      "direction": "turn",
      "distance": "0.33km",
      "duration": "0min:29s",
      "instruction": "",
      "location": [
        39.474078,
        13.496082
      ]
    },
    {
      "direction": "fork",
      "distance": "0.07km",
      "duration": "0min:6s",
      "instruction": "",
      "location": [
        39.47304,
        13.493251
      ]
    },
    {
      "direction": "new name",
      "distance": "0.47km",
      "duration": "0min:43s",
      "instruction": "",
      "location": [
        39.473192,
        13.492674
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.00km",
      "duration": "0min:0s",
      "instruction": "",
      "location": [
        39.476197,
        13.489558
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "0.05km",
      "duration": "0min:2s",
      "instruction": "",
      "location": [
        39.476195,
        13.489551
      ]
    },
    {
      "direction": "new name",
      "distance": "1.38km",
      "duration": "1min:16s",
      "instruction": "",
      "location": [
        39.476123,
        13.489076
      ]
    },
    {
      "direction": "new name",
      "distance": "6.90km",
      "duration": "6min:22s",
      "instruction": "",
      "location": [
        39.473779,
        13.477536
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.08km",
      "duration": "0min:4s",
      "instruction": "",
      "location": [
        39.531903,
        13.477567
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "1.45km",
      "duration": "1min:46s",
      "instruction": "",
      "location": [
        39.532243,
        13.477102
      ]
    },
    {
      "direction": "turn",
      "distance": "6.97km",
      "duration": "4min:55s",
      "instruction": "",
      "location": [
        39.544173,
        13.474254
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "71.28km",
      "duration": "51min:28s",
      "instruction": "",
      "location": [
        39.553046,
        13.421295
      ]
    },
    {
      "direction": "continue",
      "distance": "2.79km",
      "duration": "1min:58s",
      "instruction": "",
      "location": [
        39.517759,
        12.935746
      ]
    },
    {
      "direction": "end of road",
      "distance": "33.85km",
      "duration": "23min:54s",
      "instruction": "",
      "location": [
        39.520638,
        12.917813
      ]
    },
    {
      "direction": "continue",
      "distance": "16.81km",
      "duration": "11min:52s",
      "instruction": "",
      "location": [
        39.547575,
        12.789532
      ]
    },
    {
      "direction": "new name",
      "distance": "22.77km",
      "duration": "16min:7s",
      "instruction": "",
      "location": [
        39.530006,
        12.669861
      ]
    },
    {
      "direction": "new name",
      "distance": "101.21km",
      "duration": "1h 16min",
      "instruction": "",
      "location": [
        39.512121,
        12.523909
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.03km",
      "duration": "0min:3s",
      "instruction": "",
      "location": [
        39.604059,
        11.833133
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "79.13km",
      "duration": "55min:52s",
      "instruction": "",
      "location": [
        39.603937,
        11.832966
      ]
    },
    {
      "direction": "turn",
      "distance": "11.52km",
      "duration": "8min:8s",
      "instruction": "",
      "location": [
        39.635126,
        11.385683
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.01km",
      "duration": "0min:0s",
      "instruction": "",
      "location": [
        39.677208,
        11.312918
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "18.18km",
      "duration": "12min:50s",
      "instruction": "",
      "location": [
        39.677208,
        11.312814
      ]
    },
    {
      "direction": "turn",
      "distance": "5.36km",
      "duration": "3min:47s",
      "instruction": "",
      "location": [
        39.679631,
        11.161257
      ]
    },
    {
      "direction": "new name",
      "distance": "1.75km",
      "duration": "1min:14s",
      "instruction": "",
      "location": [
        39.649545,
        11.145884
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.03km",
      "duration": "0min:1s",
      "instruction": "",
      "location": [
        39.639319,
        11.144441
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "1.15km",
      "duration": "0min:50s",
      "instruction": "",
      "location": [
        39.639072,
        11.144488
      ]
    },
    {
      "direction": "end of road",
      "distance": "0.91km",
      "duration": "0min:38s",
      "instruction": "",
      "location": [
        39.631919,
        11.140306
      ]
    },
    {
      "direction": "new name",
      "distance": "0.62km",
      "duration": "0min:25s",
      "instruction": "",
      "location": [
        39.633217,
        11.132305
      ]
    },
    {
      "direction": "turn",
      "distance": "1.08km",
      "duration": "0min:46s",
      "instruction": "",
      "location": [
        39.634592,
        11.126899
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.05km",
      "duration": "0min:2s",
      "instruction": "",
      "location": [
        39.632634,
        11.117456
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "20.29km",
      "duration": "14min:19s",
      "instruction": "",
      "location": [
        39.632706,
        11.117179
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.05km",
      "duration": "0min:2s",
      "instruction": "",
      "location": [
        39.739075,
        11.085809
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "0.73km",
      "duration": "0min:31s",
      "instruction": "",
      "location": [
        39.739388,
        11.085782
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.01km",
      "duration": "0min:0s",
      "instruction": "",
      "location": [
        39.743435,
        11.080992
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "2.40km",
      "duration": "1min:41s",
      "instruction": "",
      "location": [
        39.743545,
        11.080968
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.03km",
      "duration": "0min:1s",
      "instruction": "",
      "location": [
        39.743282,
        11.059903
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "242.08km",
      "duration": "2h 50min",
      "instruction": "",
      "location": [
        39.743329,
        11.059686
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.03km",
      "duration": "0min:1s",
      "instruction": "",
      "location": [
        39.533064,
        9.678319
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "111.52km",
      "duration": "1h 18min",
      "instruction": "",
      "location": [
        39.532945,
        9.678171
      ]
    },
    {
      "direction": "rotary",
      "distance": "0.05km",
      "duration": "0min:2s",
      "instruction": "",
      "location": [
        38.878632,
        9.057353
      ]
    },
    {
      "direction": "exit rotary",
      "distance": "2.99km",
      "duration": "3min:26s",
      "instruction": "",
      "location": [
        38.878295,
        9.057124
      ]
    },
    {
      "direction": "continue",
      "distance": "5.80km",
      "duration": "5min:21s",
      "instruction": "",
      "location": [
        38.862063,
        9.041738
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.04km",
      "duration": "0min:2s",
      "instruction": "",
      "location": [
        38.818298,
        9.024036
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "1.95km",
      "duration": "1min:48s",
      "instruction": "",
      "location": [
        38.818063,
        9.02386
      ]
    },
    {
      "direction": "rotary",
      "distance": "0.04km",
      "duration": "0min:2s",
      "instruction": "",
      "location": [
        38.801607,
        9.021603
      ]
    },
    {
      "direction": "exit rotary",
      "distance": "0.67km",
      "duration": "0min:41s",
      "instruction": "",
      "location": [
        38.801294,
        9.021809
      ]
    },
    {
      "direction": "turn",
      "distance": "0.43km",
      "duration": "0min:26s",
      "instruction": "",
      "location": [
        38.795923,
        9.024703
      ]
    },
    {
      "direction": "turn",
      "distance": "1.56km",
      "duration": "1min:26s",
      "instruction": "",
      "location": [
        38.794794,
        9.021085
      ]
    },
    {
      "direction": "roundabout",
      "distance": "0.05km",
      "duration": "0min:2s",
      "instruction": "",
      "location": [
        38.780883,
        9.023616
      ]
    },
    {
      "direction": "exit roundabout",
      "distance": "0.43km"}],"_note":"Response truncated for documentation purposes"}
Get Ethiopia route — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/1926/ethiopia+location+api/1636/get+ethiopia+route?start_lat=13.50733412686565&start_lon=39.44712684241014&end_lat=8.97207888444046&end_lon=38.733015539854&distance_unit=km' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

To use this endpoint you must indicate the latitude and longitude of the 2 locations and the type of distance measurement km, mi, yd and ft.

Endpoint ID: 1637
GET https://zylalabs.com/api/1926/ethiopia+location+api/1637/get+ethiopia+distance
INPUT PARAMETERS

Get Ethiopia distance — Endpoint Features

Object Description
lat1 Required
lon1 Required
lat2 Required
lon2 Required
unit Optional

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat1
lon1
lat2
lon2
unit
API EXAMPLE RESPONSE
JSON
{
  "distance": "790.08km",
  "duration": "9h 37min",
  "unit": "km"
}
Get Ethiopia distance — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/1926/ethiopia+location+api/1637/get+ethiopia+distance?lat1=13.50733412686565&lon1=39.44712684241014&lat2=8.97207888444046&lon2=38.733015539854&unit=km' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Ethiopia Location API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan
Custom Volume

  • Custom Rate Limit
  • Team & Access Management
  • SLA-backed Uptime
  • Specialized Customer Support
  • Real-Time API Monitoring
  • Enterprise Security & Compliance
Minimum annual contract: USD 10,000

Trusted by leading companies

Overview

About the API:  

Developers can use the Ethiopia Location API to create geolocation-based services that bring value to their users. For example, they can use the API to create transportation applications that match passengers with drivers based on their location. They can also use the API to create delivery services that accurately locate customers and deliver products to their doorstep.

Ethiopia Location API can also be used to create weather applications that provide users with accurate and up-to-date weather information based on their location. Developers can also use the API to create maps and navigation applications that provide users with turn-by-turn directions to their destination.

Ethiopia Location API is easy to integrate into existing applications and can be accessed via RESTful APIs. Developers can choose their preferred programming language, such as Java, Python, Ruby or PHP, and use the API to retrieve location data.

In addition to providing location data, this API also offers developers access to various location-based services, such as reverse geocoding. Reverse geocoding is the process of converting longitude and latitude coordinates into an address. Geofencing is the process of creating a virtual boundary around a specific location, and developers can use this feature to trigger location-based notifications, alerts or actions.

In conclusion, is a powerful tool for developers who want to create location-based services for the Morocco market. The API provides accurate and up-to-date location data, as well as access to a wide variety of location-based services and advanced features. With the Morocco Location API, developers can create innovative and useful applications that deliver value to users and drive business growth.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Navigation and mapping: The Ethiopia location API can be used by mapping and navigation applications to provide accurate and up-to-date location information to users in Ethiopia.

  2. Geolocation-based advertising: Marketers and advertisers can use Ethiopia's location API to send targeted and personalized advertising messages to users in specific locations in Ethiopia.

  3. Tourism and hospitality: Companies in the tourism and hospitality sector can use the Ethiopia Location API to provide location-based information to tourists and travelers in Ethiopia.

  4. Real estate and property management: Real estate agents, property managers and rental services can use the Ethiopia Location API to display accurate property location data.

  5. Transportation and logistics: companies involved in transportation and logistics, such as carriers, logistics providers and fleet management services, can use the Ethiopia location API to track vehicles, optimize routes and manage shipments. This can help improve transportation efficiency and streamline logistics operations in Ethiopia.

 

Are there any limitations to your plans?

Besides the number of API calls, there is no other limitation.

Ethiopia Location API FAQs

The "Get Ethiopia route" endpoint returns distance, duration, and detailed step-by-step navigation instructions. The "Get Ethiopia distance" endpoint provides the distance between two locations, duration, and the unit of measurement used.

Key fields include "distance," "duration," and "steps" for the route endpoint, while the distance endpoint includes "distance," "duration," and "unit." Each step in the route includes "direction," "distance," "duration," and "location."

Both endpoints require latitude and longitude for two locations. The route endpoint also requires a unit of measure (km or mi), while the distance endpoint accepts additional units like yd and ft.

The response data is structured in JSON format. For the route endpoint, it includes an array of steps detailing navigation instructions, while the distance endpoint provides a straightforward summary of distance and duration.

The Ethiopia Location API sources its data from various geolocation databases and mapping services, ensuring comprehensive coverage of Ethiopian geography and infrastructure.

Common use cases include navigation apps providing turn-by-turn directions, logistics companies optimizing delivery routes, and tourism apps offering location-based information to travelers.

Users can customize requests by specifying different latitude and longitude pairs and selecting their preferred unit of measurement for distance calculations, allowing for tailored responses based on user needs.

Users can leverage the distance and duration data for route planning, while the step-by-step instructions can be integrated into navigation systems to guide users accurately to their destinations.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs


You might also like