APIs / OLX India / Locations

OLX India: Locations

Locations from OLX India as JSON. 1 credit per successful call.

GET /v1/olx-in/locations

Parameters

This endpoint takes no parameters.

Example request

OLX India
GET/v1/olx-in/locations
{
  "success": true,
  "data": {
    "results": [
      {
        "id": 2007598,
        "name": "Andaman & Nicobar Islands",
        "type": "STATE",
        "parent_id": 1000001,
        "children_count": 13,
        "latitude": 11.66703,
        "longitude": 92.73598
      },
      {
        "id": 2001145,
        "name": "Andhra Pradesh",
        "type": "STATE",
        "parent_id": 1000001,
        "children_count": 294,
        "latitude": 14.75043,
        "longitude": 78.57003
      },
      {
        "id": 2001146,
        "name": "Arunachal Pradesh",
        "type": "STATE",
        "parent_id": 1000001,
        "children_count": 28,
        "latitude": 27.1004,
        "longitude": 93.6166
      }
    ]
  },
  "meta": {
    "endpoint_family": "locations"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 30 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.results has these 7 fields, read from a recorded call that returned 36 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idinteger
namestring
typestring
parent_idinteger
children_countinteger
latitudenumber
longitudenumber