RapidAPI logo

UberRide

FREE
By dimashirokov
Updated 4 months ago
Travel, Transportation
4.6/10
Popularity Score
58979ms
Latency
-
Success Rate

UberRide API Documentation

Request an Uber ride from within your app.

View API Details
POSTcancelCurrentRide
POSTcancelRide
POSTcreateReminder
POSTdeleteReminder
POSTgetAccessToken
POSTgetCurrentRide
POSTgetProductDetails
POSTgetProductsByLocation
POSTgetProductsPrices
POSTgetProductsTimeEstimates
POSTgetReceipt
POSTgetReminder
POSTgetRide
POSTgetRideEstimate
POSTgetRideMap
POSTgetUser
POSTgetUserActivity
POSTgetUserAddress
POSTgetUserPaymentMethods
POSTrequestRide
POSTrequestRideById
POSTupdateCurrentRide
POSTupdateCurrentRideById
POSTupdateReminder
POSTupdateRide
POSTupdateUserAddress
POSTcancelCurrentRide

The Ride Request endpoint allows cancellation of the user's current trip.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accessTokenSTRING
REQUIREDThe valid access token.
Optional Parameters
sandboxSELECT
OPTIONALUberAPI Sandbox: 1 to select sandbox
Code Snippet
unirest.post("https://UberRidedimashirokovV1.p.rapidapi.com/cancelCurrentRide")
.header("X-RapidAPI-Host", "UberRidedimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://UberRidedimashirokovV1.p.rapidapi.com/cancelCurrentRide
Request Method: POST
Response Headers
Response Body
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://UberRidedimashirokovV1.p.rapidapi.com/cancelCurrentRide")
.header("X-RapidAPI-Host", "UberRidedimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication