Developer Docs

ARU Developer Portal

Comprehensive API frameworks, SDK integrations, architecture models, and real-time mapping documentation to build reliable ride-hailing and fleet management solutions.

REST APIFirebase SyncWebhooks Enabledv1.0.0 StableMulti-Currency

Quick Actions

Quick Start

Initiate and trigger your first ride-hailing request using our API collection.

Read Docs

Authentication

Set up Bearer tokens, scopes, security validations, and session parameters.

Read Docs

Real-time Tracking

Listen to spatial-temporal drivers via WebSockets and cloud updates.

Read Docs

Pricing Engine

Examine variables, base prices, distance estimates, and multiplier structures.

Read Docs

Webhooks

Register and receive payloads on trip achievements, failures, and updates.

Read Docs

Errors & Codes

Troubleshoot API requests, validation logic, and server responses easily.

Read Docs

Quick Start Guide

All requests must navigate through secured HTTPS. The dynamic root configuration URL is structured as:

BASE URL
https://api.arumove.com/v1

Security & Authentication

The ARU developer portal enforces authentication via JSON Web Tokens (JWT). After initiating login via credential nodes, pass the acquired token inside the header standard.

HTTP HEADER
Authorization: Bearer YOUR_ACCESS_TOKEN
Role-Based Operations: Token payloads include explicit role parameters (rider, driver, business, admin) preventing unauthorized functional requests across portals.

Architecture Stack

Core ComponentTechnologiesOperational Scope
Backend ServerNode.js (Express.js)REST architectural logic, state mapping, token checks.
Cloud DatabasePostgreSQL (AWS RDS)Users database, trip entries, records, configuration history.
Synchronous UpdateFirebase Realtime / WebSocketsReal-time driver location stream, status shifts.
Static Asset StorageAWS S3 ContainersImage records, KYC papers, maps vectors, transaction logs.

User Roles & Access Permissions

Every account tier defines structural rules, query parameters, and operation controls.

Role CodeTarget UserFunctional Capabilities
riderPassenger / Business ClientBook trips, list deliveries, issue instant payments, review drivers.
driverRegistered TransporterRetrieve localized job grids, manage states, check earnings records.
businessLogistics Partner / Fleet ManagerManage fleet list, schedule multiple dispatches, check analytics maps.

Real-time Tracking Implementation

ARU manages spatial data through Firebase Realtime Databases. The coordinates updates ping every two seconds across active dispatches.

JAVASCRIPT — SUBSCRIBING TO LIVE LOCATION
import { getDatabase, ref, onValue } from 'firebase/database';
const db = getDatabase();
const jobRef = ref(db, 'jobs/YOUR_JOB_ID/driver_location');

onValue(jobRef, (snapshot) => {
  const { lat, lng, heading } = snapshot.val();
  map.updateDriverMarker(lat, lng, heading);
});

Dynamic Pricing Engine

Fares calculations are structured around localized rates, dynamic surge metrics (based on passenger densities), and selected custom transport parameters.

FARE FORMULA ALGORITHM
// Standardized Pricing Parameters Matrix
fare = base_rate + (distance_km * per_km_rate)

if (moving_assistance_active) fare += assistance_fee
if (fragile_handling_selected) fare += fragile_addon
if (surge_density_threshold_met) fare = fare * surge_coefficient

Webhooks & Events

Integrators can trigger secondary tasks inside external servers on critical updates by supplying secure endpoint targets.

Event ScopeSystem Trigger
job.createdA booking (delivery or passenger ride) is validated.
job.acceptedA spatial transporter accepts a waiting job packet.
job.completedDispatched driver completes tracking and locks coordinate maps.
payment.successThe payment processor validates incoming transactions.
Signature Verification: All incoming payloads from ARU include an X-ARU-Signature header. Verify utilizing standard HMAC-SHA256 protocols matching your secret before processing.

Rate Limits

User Tier RolePer-Minute Rate LimitDaily Max Allowance
rider60 queries5,000 queries
driver120 queries10,000 queries
business300 queries50,000 queries

Exceptions & Errors Standard

ARU triggers explicit HTTP states containing structural code variables.

{
  "success": false,
  "code": "DRIVER_NOT_AVAILABLE",
  "message": "No drivers are currently available in your area.",
  "status": 503
}