# OLA Maps Integration via LowCodeAPI

**Last Updated**: February 10, 2026

## Overview
Mapping and location services

**Categories:**
- {'id': 'utilities', 'name': 'Utilities'}

## Base Endpoint
https://api.lowcodeapi.com/olamaps

**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`

## Authentication
**Type:** TOKEN

**Official Documentation:** https://maps.olakrutrim.com/apidocs

## URL Format (Important)

LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.

### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`

### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`

### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider

## API Categories

## Common Endpoints

### Provides routable path between two or more points

**Method:** POST
**LowCodeAPI Path:** /routing/v1/directions

**New Format URL:**
https://api.lowcodeapi.com/olamaps/routing/v1/directions?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/routing/v1/directions?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| alternatives | boolean |  |
| destination | string |  |
| language | string |  |
| origin | string |  |
| overview | string |  |
| steps | boolean |  |
| traffic_metadata | boolean |  |
| waypoints | string |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/olamaps/routing/v1/directions?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/routing

### List of all the data sets

**Method:** GET
**LowCodeAPI Path:** /tiles/vector/v1/data/{dataset_name}.json

**New Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/data/{dataset_name}.json?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/data/dataset_name.json?dataset_name={dataset_name}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| dataset_name | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/olamaps/tiles/vector/v1/data/{dataset_name}.json?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/tiles

### Returns the PBF file for data

**Method:** GET
**LowCodeAPI Path:** /tiles/vector/v1/data/{dataset_name}/{tiles_zoom}/{tiles_column}/{tiles_row}.pbf

**New Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/data/{dataset_name}/{tiles_zoom}/{tiles_column}/{tiles_row}.pbf?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/data/dataset_name/tiles_zoom/tiles_column/tiles_row.pbf?dataset_name={dataset_name}&tiles_column={tiles_column}&tiles_row={tiles_row}&tiles_zoom={tiles_zoom}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| dataset_name | string |  |
| tiles_column | number |  |
| tiles_row | number |  |
| tiles_zoom | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/olamaps/tiles/vector/v1/data/{dataset_name}/{tiles_zoom}/{tiles_column}/{tiles_row}.pbf?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/tiles

### Provides array of objects for all styles

**Method:** GET
**LowCodeAPI Path:** /tiles/vector/v1/styles.json

**New Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/styles.json?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/styles.json?api_token=YOUR_API_TOKEN

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/olamaps/tiles/vector/v1/styles.json?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/tiles

### Get detail of a style

**Method:** GET
**LowCodeAPI Path:** /tiles/vector/v1/styles/{style_name}/style.json

**New Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/styles/{style_name}/style.json?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/styles/style_name/style.json?style_name={style_name}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| style_name | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/olamaps/tiles/vector/v1/styles/{style_name}/style.json?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/tiles

### Access font glyph ranges

**Method:** GET
**LowCodeAPI Path:** /tiles/vector/v1/fonts/{fontstack}/{start_tile}-{end_tile}.pbf

**New Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/fonts/{fontstack}/{start_tile}-{end_tile}.pbf?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/tiles/vector/v1/fonts/fontstack/start_tile-end_tile.pbf?end_tile={end_tile}&fontstack={fontstack}&start_tile={start_tile}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| end_tile | number |  |
| fontstack | string |  |
| start_tile | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/olamaps/tiles/vector/v1/fonts/{fontstack}/{start_tile}-{end_tile}.pbf?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/tiles

### Provides Autocomplete suggestions for a given substring

**Method:** GET
**LowCodeAPI Path:** /places/v1/autocomplete

**New Format URL:**
https://api.lowcodeapi.com/olamaps/places/v1/autocomplete?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/places/v1/autocomplete?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| input | string |  |
| location | string |  |
| origin | string |  |
| radius | number |  |
| strictbounds | boolean |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/olamaps/places/v1/autocomplete?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/places

### Get geocoded address

**Method:** GET
**LowCodeAPI Path:** /places/v1/geocode

**New Format URL:**
https://api.lowcodeapi.com/olamaps/places/v1/geocode?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/places/v1/geocode?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| address | string |  |
| bounds | string |  |
| language | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/olamaps/places/v1/geocode?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/places

### Provides information of a place based on the location provided

**Method:** GET
**LowCodeAPI Path:** /places/v1/reverse-geocode

**New Format URL:**
https://api.lowcodeapi.com/olamaps/places/v1/reverse-geocode?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/olamaps/places/v1/reverse-geocode?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| latlng | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/olamaps/places/v1/reverse-geocode?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://maps.olakrutrim.com/apidocs/places


## Usage Examples

### Example 1: Basic API Request (New Format)

Making a simple GET request to retrieve resources:

```bash
# Get a list of resources - no path parameters needed
curl -X GET "https://api.lowcodeapi.com/olamaps/endpoint?api_token=YOUR_API_TOKEN"
```

### Example 2: Request with Path Parameters (New Format)

Retrieving a specific resource using its ID:

```bash
# Get specific resource by ID - replace RESOURCE_ID with actual ID from previous response
curl -X GET "https://api.lowcodeapi.com/olamaps/endpoint/{RESOURCE_ID}?api_token=YOUR_API_TOKEN"
# Note: RESOURCE_ID typically comes from a previous list request or from the provider dashboard
```

### Example 3: POST Request with Body (New Format)

Creating a new resource:

```bash
# Create a new resource
curl -X POST "https://api.lowcodeapi.com/olamaps/endpoint?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"field": "value", "another_field": "another_value"}'
```

## Error Handling

LowCodeAPI returns standard HTTP status codes. Common errors:

| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |

All error responses include error details:

```json
{
  "data": {
    "error": {
      "message": "Error description",
      "code": "ERROR_CODE"
    }
  }
}
```

## Complete Endpoint Reference

| Endpoint | Method | Category |
|----------|--------|----------|
| Provides routable path between two or more points | POST | Directions API |
| List of all the data sets | GET | Map Tiles |
| Returns the PBF file for data | GET | Map Tiles |
| Provides array of objects for all styles | GET | Map Tiles |
| Get detail of a style | GET | Map Tiles |
| Access font glyph ranges | GET | Map Tiles |
| Provides Autocomplete suggestions for a given subs... | GET | Search API |
| Get geocoded address | GET | Search API |
| Provides information of a place based on the locat... | GET | Search API |

## API Definition Endpoints

You can fetch the complete API specification for this provider:

**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/olamaps/openapi'
```

**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/olamaps/definition'
```

## Response Format

All responses are wrapped in a `data` key:

```json
{
  "data": {
    // Actual response from provider (object or array)
  }
}
```