Browse APIs
Discover and integrate vehicle data APIs for your applications
Our APIs
Fuel Efficient Route
The Fuel-Efficient Route API helps users find the most fuel-efficient driving routes between two locations in India. It uses the Vehicle Model API (model_id) to analyze vehicle specifications (maker, model, fuel type, cubic capacity) and combines this with fuel prices from the start locationβs state. π Suggests multiple alternative routes β½ Calculates trip fuel cost for each route π° Estimates toll charges π€οΈ Provides waypoints + polyline for map plotting β±οΈ Shares distance, travel time, and traffic-adjusted duration π This allows users to compare different routes not only by distance or time, but also by fuel cost savings.
Fuel Price En Route
π£οΈ Fuel Price Direction En route API This document serves as a guide for utilizing the Fuel Price Direction En route API, which provides comprehensive information on: πΊοΈ Fuel prices of states en route π Comparison of fuel prices π Route details (distance & time) between a starting point and destination By integrating fuel price data into route planning, users can efficiently plan refueling stops, enhancing convenience and cost-effectiveness. β¨ Features & Capabilities π§ Route Planning β Input starting location & destination β get route details (distance, duration, bounds). π« Avoidance Options β Option to avoid tolls or highways for customized routes. π Alternative Routes β Provides alternate route suggestions if requested. β½ Fuel Price Info β Returns petrol, diesel, CNG, and electricity prices (if available) for states along the route. π Distance & Time β Includes total distance and estimated travel time. π Convenience β Identifies optimal refueling stops to save time and money. π° Cost-effectiveness β Helps users pick cheaper fuel options along the way. π Geographic Coordinates β Latitude & longitude for states (currently India, expandable globally). π§© Polyline Representation β Encoded polyline format for efficient route geometry storage. β‘ Scalability β Designed to support large volumes of route & fuel price requests. π₯ Required Parameters π start_location (string) β Starting location of the journey. π destination (string) β Destination of the journey. π οΈ Optional Parameters π alternatives (boolean) β Whether alternative routes should be considered (true/false). π« avoid_tolls (boolean) β Whether toll roads should be avoided (true/false). π avoid_highways (boolean) β Whether highways should be avoided (true/false). π€ Response Format (JSON) The API response includes: π start_location (string) β The starting location provided. π destination (string) β The destination provided. π£οΈ routes (array) β Each route object contains: π route (string) β Identifier for the route. π distance (string) β Route distance in km. β±οΈ duration (string) β Route duration in hours/minutes. π distance_value (integer) β Distance in meters. β±οΈ duration_value (integer) β Duration in seconds. πΊοΈ bounds (object) β Geographic bounds (northeast & southwest corners). π waypoints (array, optional) β Each waypoint may contain: π waypoint_start_location (object) π waypoint_end_location (object) π waypoint_distance (object) β±οΈ waypoint_duration (object) π§© waypoint_polyline (object) β Encoded polyline for the waypoint. π§ maneuver (string, optional) β Specific maneuver instructions. π html_instructions (string, optional) β Step instructions (HTML formatted). π§© polylinePoints (string) β Encoded polyline representing the route. To decode, refer to the Google Polyline Utility documentation by below link: β½ fuel_prices (array) β Fuel prices along the route. Each entry includes: π·οΈ state (string) β Name of the state (en route). π lat (float) β Latitude. π long (float) β Longitude. β½ fuel_prices (object) β Petrol, Diesel, CNG, and Electricity (if available). π lowest_fueldata (object) β Lowest petrol, diesel, CNG prices on the route. π highest_fueldata (object) β Highest petrol, diesel, CNG prices on the route.
Fuel Price India
β½ Fuel Price India API The Fuel Price India API provides up-to-date fuel price information for all states and districts across India. It is designed for apps and platforms that need real-time petrol, diesel, and CNG prices with geographical and administrative breakdowns. π Key Features β¨ Nationwide Coverage β Includes all Indian states & union territories. π District-level Prices β Each state contains multiple districts with localized fuel rates. β½ Fuel Types Supported: πΉ petrol_price β Petrol πΉ diesel_price β Diesel πΉ cng_price β CNG (returns 0.0 if not available) π Geographical Coordinates β Latitude & longitude available for each state (for map integration). β Default State Flag β One state may be marked as the default (is_default). π Request Parameters π Optional Field π― state (String) β Used to fetch data for a specific state. π If no state is passed β API returns all states & districts across India. π If state is passed β API returns that state and its relevant districts only. π Supported State Names π "Andaman Nicobar" π "Andhra Pradesh" π "Arunachal Pradesh" π "Assam" π "Bihar" π "Chandigarh" π "Chhattisgarh" π "Dadra Nagarhaveli" π "Daman Diu" π "Delhi" π "Goa" π "Gujarat" π "Haryana" π "Himachal Pradesh" π "Jammu Kashmir" π "Jharkhand" π "Karnataka" π "Kerala" π "Madhya Pradesh" π "Maharashtra" π "Manipur" π "Meghalaya" π "Mizoram" π "Nagaland" π "Odisha" π "Pondicherry" π "Punjab" π "Rajasthan" π "Sikkim" π "Tamil Nadu" π "Telangana" π "Tripura" π "Uttar Pradesh" π "Uttarakhand" π "West Bengal"
Get-Vehicle-Info
This API works after fetching vehicle details from the Vehicle Suite APIs (Makers, Models, Fuel & Capacities). Developers must pass the correct combination of: π Maker (string) β Vehicle manufacturer name π Model (string) β Model name linked to the maker β½ Fuel Type (string) β Accepted values: "petrol", "diesel", "cng" βοΈ Cubic Capacity (integer) β Engine displacement (in cc) πΊοΈ State Name (string) β The userβs state, required to map fuel prices and calculate cost per km The API returns: π A unique model_id for downstream calculations π Basic vehicle info: maker, model, fuel type, cubic capacity π Performance data: Speed-wise mileage Cost per km (fuel cost factored from userβs state) COβ emissions π With this information, developers can integrate personalized and location-based vehicle performance into routing, pricing, and sustainability features.
Vehicle Suite API
The Vehicle Suite API provides structured vehicle information in three stages: 1. Get the maker (brand) of the vehicle. 2. Get the models available for that maker. 3. Get the fuel types and engine capacities (cc) available for that model. This API is the foundation for the Vehicle Info API β developers must first use it to fetch the correct maker, model, fuel type, and cubic capacity before requesting vehicle performance data from the "Vehicle Info API". π End-to-End Vehicle Suite Flow 1οΈβ£ Call Vehicle Makers API β get list of makers 2οΈβ£ Pick a maker_id β call Vehicle Models API 3οΈβ£ Pick a model_id β call Vehicle Fuel and Capacities API 4οΈβ£ Use the data β π maker (string) β Vehicle brand name π model (string) β Model name β½ fuel_type (string) β "petrol", "diesel", or "cng" βοΈ cubic_capacity (integer) β Engine capacity in cc πΊοΈ state_name (string) β Userβs state name (used to fetch fuel prices, required for cost-per-km calculation) β‘οΈ Call Vehicle Info API to get performance data (mileage, cost/km, emissions).