TaxiMe - Taxi estimation across North America

Developers

Estimation / GET

Perform a taxi estimation from a starting point to an ending point.

URL:
http://www.taxime.com/api/1/estimate.json
Required parameters:
Param Description Example value
key Your API key is required for all requests. Apply for an API key. ABC123
from Where you're starting. Can be an address, company name, landmark or intersection. Only required if lat_lng param is not present. It's important to read about the lat_lng param. 30 Dundas St, Toronto
to Where you're going to. Can be an address, company name, landmark or intersection. It's important to read about the lat_lng param. 200 Front St, Toronto
Example request - Basic:
http://www.taxime.com/api/1/estimate.json?from=30%20Dundas%20St,%20Toronto&to=200%20Front%20St,%20Toronto&key=YOUR_API_KEY
Show response
Example request - Using users current location (lat_lng param):
http://www.taxime.com/api/1/estimate.json?to=200%20Front%20St&key=YOUR_API_KEY&lat_lng=43.653226,-79.383184
Show response
Optional parameters:
Param Description Example value
lat_lng Not required but highly recommended. When you have the users latitude and longitude (their current location), you can omit the city from the from and to parameters. So instead of passing in 'McDonalds, Toronto', you could just pass in 'McDonalds' to the from and to params and TaxiMe will figure out what city to query against. 43.653226,-79.383184
cab_contacts If you want to include cab contacts as part of the JSON response when you do an estimation. Defaults to 1. Accepts 1 (true) or 0 (false) as a value. 1
custom_rate If you want to plug in your own custom rate to calculate the estimation. Defaults to 0. Accepts either 1 (true) or 0 (false) as a value. 1
flag_fare The starting fare to use. Requires custom_rate=1. 3.00
distance A taxi fare is partially calculated by charging X (price) per mile or kilometer (distance). This is where you would plug in the distance as a numeric value. Requires custom_rate=1. 1.61
distance_unit The numeric distance param above is specified in either kilometers (km) or miles (mi). Accepts either km or mi. Requires custom_rate=1. km
price_per_distance A taxi fare is partially calculated by charging X (price) per mile or kilometer (distance). This is where you would plug in the price. Requires custom_rate=1. 2.50
city The city you're plugging in the custom rate for. Requires custom_rate=1. Toronto
Example request - Custom rate:
http://www.taxime.com/api/1/estimate.json?from=30%20Dundas%20St,%20Toronto&to=200%20Front%20Street%20West&key=YOUR_API_KEY&lat_lng=43.653226,-79.383184&custom_rate=1&flag_fare=8.00&distance=1&distance_unit=km&price_per_distance=2.50&city=Uber,%20Toronto&cab_contacts=0
Show response
Example request - Suggestions:

When someone types in a company name, landmark or intersection instead of an address, you will get a response with possible suggestions.

http://www.taxime.com/api/1/estimate.json?from=McDonalds,%20Toronto&to=200%20Front%20Street%20West&key=YOUR_API_KEY&lat_lng=43.653226,-79.383184&custom_rate=1&flag_fare=8.00&distance=1&distance_unit=km&price_per_distance=2.50&city=Uber,%20Toronto&cab_contacts=0
Show response

Rates / GET

Coming soon! Get access to our up-to-date list of taxi rates for several cities.

Cab Contacts / GET

Coming soon! Get a list of cab contacts by city or latitude and longitude.