Find location
dk_locationConvert Persian addresses with a city, or latitude/longitude, into Digikala city_id and state_id, or reverse-geocode coordinates for delivery location.
Instructions
Turn an address into coordinates, or coordinates into an address with Digikala's city_id and state_id.
Pass address + city, or lat + long. Prices are the same everywhere; location only affects delivery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude, to describe a point instead (Iran: ~25 to ~40). | |
| city | No | Persian city name; without it most addresses find nothing, e.g. 'تهران' or 'مشهد'. | |
| long | No | Longitude, with lat. | |
| address | No | Address or landmark in Persian, e.g. 'میدان ونک'. Latin text matches poorly. |