Grab API

Transportation / OAuth Advanced HTTPS
Varies by plan (check documentation)

Overview

The Grab API allows developers to integrate Grab services — including ride-hailing, food delivery, and payments — into their own applications across Southeast Asia. It uses OAuth 2.0 for authentication, which requires setting up a partner account with Grab. This API is best suited for businesses in Southeast Asia looking to embed Grab services into their platforms.

💡

Beginner Tip

You need a Grab Developer account and approved OAuth 2.0 credentials to use this API — individual hobby use is not supported. Start with the Grab Partner Programme at https://developer.grab.com/ and test with the sandbox environment before going live.

Available Data

track name and artist
album metadata
audio preview URLs
popularity score
genre classification

Example Response

JSON Response
{
  "name": "Bohemian Rhapsody",
  "artist": "Queen",
  "album": "A Night at the Opera",
  "duration_ms": 354000,
  "popularity": 92,
  "preview_url": "https://p.scdn.co/mp3-preview/..."
}

Field Reference

access_token OAuth 2.0 bearer token to include in the Authorization header of subsequent API requests.
token_type Token type, always "Bearer" for Grab API authentication.
expires_in Number of seconds until the access token expires, after which you must re-authenticate.
scope Space-separated list of permissions granted to this token (e.g., "ride.booking delivery.create").

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://developer.grab.com/docs/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "Authorization": "Bearer YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Invalid OAuth client credentials or expired access token
Re-request an access token using your client_id and client_secret via the /token endpoint, then include the token in the Authorization header.
403 Forbidden Your application does not have permission for the requested scope
Check that your Grab partner account has the required permissions enabled. Some scopes like payments require additional approval.
400 Bad Request Missing required fields in the request body or invalid country code
Review the Grab API documentation for required parameters and use the correct ISO country code for the Southeast Asian market you are targeting.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 3/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth OAuth
HTTPS REQUIRED
CORS UNKNOWN
Category Transportation
Difficulty Advanced
Verified: 2026-04-04

Similar APIs

View All →