Find location
dk_locationConvert a Persian address plus city into coordinates, or coordinates into an address, returning Digikala city_id and state_id for checkout delivery options.
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. Product prices are the same everywhere; location only matters for delivery options shown at checkout.
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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||