/3.0/markers/clustered
The directory of object markers (3.0)
Getting a collection of generalized markers
Returns a collection of generalized markers satisfying the parameters passed in the request. A marker is a representation of an object on the map, so only an object with coordinates can be a marker.
query Parameters
| key required | string Unique key of API user. |
| locale | string Examples:
The locale from which the search is performed and the results are given.
|
| fields | Array of strings Examples:
The additional fields that you want to display in the response, separated by commas.
|
| map_width required | integer The width in pixels for the DOM object that displays the map. |
| map_height required | integer The height in pixels for the DOM object that displays the map. |
| q required | string [ 1 .. 500 ] characters An arbitrary search string. |
| type | Array of strings Examples:
The types of objects among which the search is performed. When passing several types, less relevant results of some types may be crowded out by more relevant other types. Types should be comma separated.
The list of available subtypes ( subtype) for different types of objects can be viewed in the response schema inside items.
|
| search_type | string Default: "discovery" Type of search.
|
| search_only_within_view | boolean Specifying the search engine to take results from scope only. The scope (viewport) is set by the parameters |
| search_is_query_text_complete | boolean Specifying to the search engine that the request is complete (the user has pressed the completion button). Disables the prefix, i.e. "bank" will not be searched "banking". |
| search_nearby | boolean Specifying the search engine to use search mode near the user. Greatly increases the importance of distance from the user. Popularity, advertising and other parameters are still involved in the ranking, but to a lesser extent. |
| search_input_method | string Specifying the method for entering the query text to the search engine:
|
| search_device_type | string Device Type:
|
| search_disable_clipping_by_relevance | boolean Forbid the search to discard results that are not relevant to the query from the output. |
| rubric_id | Array of integers Examples:
The ID of the category. You need to pass the option |
| org_id | integer Filter by the ID of the organization to which the company belongs. |
| ads_id | Array of integers Examples:
Advertising campaign ID. You can also pass a list of ads IDs separated by commas. |
| is_reviewable_on_flamp | boolean Whether it is allowed to post reviews for companies on flamp.ru. It takes the true or false values. |
| has_photos | boolean Filter by availability of photos. Takes the true or false values. |
| has_rating | boolean Filter by availability of rating on flamp.ru. Takes the true or false values. |
| has_reviews | boolean Filter by availability of reviews on flamp.ru. Takes the true or false values. |
| has_reviews_on_flamp | boolean Filter by availability of reviews on flamp.ru. Unlike has_reviews, the link status in 2GIS is not taken into account. It takes the true or false values. |
| has_site | boolean Filter by availability of website. Takes the true or false values. |
| work_time | string Examples:
Opening hours of the company. Format: [day],[time] or now (current day and time).
|
| opened_after_date | string <date> Examples:
Filters companies which have the opening date later than the passed parameter. |
| has_itin | boolean Filter by availability of the individual taxpayer identification number. It takes the true or false values. |
| has_trade_license | boolean Filter by availability of the trading license. Takes the true or false values. |
| has_delivery | boolean Filter by presence of delivery. Takes the values true or false. |
| has_goods | boolean Filter by availability of a loaded list of products. Takes the true or false values. |
| allow_deleted | boolean To include in the sample remote objects. Can be either true or false. |
| booking_checkin_date | string <date> Example: booking_checkin_date=2025-09-02 Filter for selecting available hotel rooms. Checkout date. |
| booking_checkin_date | string <date> Example: booking_checkin_date=2025-09-02 Filter for selecting available hotel rooms. Checkout date. |
| booking_adult_count | integer >= 1 Example: booking_adult_count=2 Filter for selecting available hotel rooms. Number of adults. |
| booking_children_ages | string Example: booking_children_ages=7,10 Filter for selecting available hotel rooms. Children's ages separated by commas. |
| shv | string Version of the shell. If the parameter has not been passed, the current version of the API will be taken. |
| sort | string Default: "relevance" Sorting of results. Valid values:
|
| sort_point | string Deprecated Examples:
The coordinates of the point from which you are sorting (the coordinates of the point in the |
| location | string Examples:
User coordinates in the format |
| district_id | Array of integers Examples:
The IDs of the districts, separated by commas. They are used to filter objects by district. |
| building_id | Array of integers Examples:
The IDs of the buildings, separated by commas. They are used to filter objects in a building. |
| place_id | Array of integers Examples:
Place IDs, separated by commas. Used to filter objects in the area. |
| city_id | Array of integers Examples:
The IDs of the cities separated by commas. They are used to filter objects by cities. |
| subway | Array of integers Examples:
The IDs of the metro stations separated by commas. They are used to filter objects by metro stations. |
| polygon | string Examples:
Polygon in WKT format. |
| viewpoint1 required | string Examples:
The coordinates of the upper left vertex of a rectangular visibility scope, in the |
| viewpoint2 required | string Examples:
The coordinates of the lower right vertex of a rectangular visibility scope, in the |
| is_viewport_change | boolean A sign of an obvious change of scope boundaries. Takes the true or false values. |
| page | integer [ 1 .. 1000000 ] Default: 1 The number of the requested page. |
| page_size | integer [ 1 .. 15000 ] Default: 15000 Number of search results displayed on one page. |
header Parameters
| Authorization | string The user authentication header in the session. |
Responses
Response Schema: application/json
required | object Main result |
required | object (ObjMeta) Response metadata |
Response samples
- 200
{- "result": {
- "items": [
- {
- "id": "string",
- "type": "string",
- "source_type": 0,
- "is_advertising": true,
- "schedule": {
- "comment": "Open 24h on holidays",
- "description": "string",
- "date_to": "string",
- "Sat": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Mon": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Fri": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Thu": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Sun": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "date_from": "string",
- "is_24x7": true,
- "Tue": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Wed": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}
}, - "floor_id": "141832714658709",
- "context": {
- "entrance_id": "123456",
- "entrances": [
- {
- "number": "1"
}
], - "apartments": [
- {
- "number": "1",
- "entrance": "1"
}
], - "distance": "3483",
- "is_in_bound": "true",
- "stop_factors": [
- {
- "type": "attribute",
- "name": "Laundry",
- "tag": "hotel_details_laundry"
}
], - "servicing_group": "string",
- "servicing_groups": [
- "string"
]
}, - "name_ex": {
- "extension": "cafe",
- "legal_name": "LLC Sunny",
- "addition": "string",
- "description": "Warehouse",
- "short_name": "Sunny",
- "primary": "Sunny"
}, - "lat": "36.75896072",
- "search_attributes": {
- "segment_id": "200",
- "is_personal": true,
- "dgis_ad_rubric_id": "70000001026462460",
- "handling_type": 0,
- "is_exact": true,
- "is_dgis_advertized": true,
- "is_vital": true,
- "dgis_branch_id": "70000001026462460",
- "matched_tokens_mask": 7,
- "dgis_source_type": 0,
- "personal_probability": 0.75,
- "table_name": "org",
- "point": {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}, - "detection_type": 0,
- "dgis_org_id": "70000001026462460",
- "suggested_text": "string",
- "additional_context": [
- 0
], - "external_source": 1,
- "dgis_found_by_address": true,
- "record_id": "70000001026462460",
- "dgis_address_details": {
- "apartment": "15",
- "precision": "string",
- "address": "12",
- "entrance": "1"
}, - "additional_info": { },
- "relevance": 469.03564453125,
- "suggest_parts": [
- {
- "is_suggested": true,
- "text": "string"
}
], - "explanation": "string"
}, - "rubr": "4503719886454906",
- "geometry_id": "string",
- "ads": {
- "marker_microcomment": "Pizza, shawarma, rolls, wok noodles",
- "options": {
- "marker_logo": {
- "url": "string"
}, - "actions": [
- {
- "type": "string",
- "caption": "string",
- "value": "string",
- "name": "string",
- "platforms": [
- "string"
]
}
]
}
}, - "timezone_offset": 420,
- "flags": {
- "is_district_area_center": true,
- "temporary_closed": "string",
- "badges": [
- {
- "type": "string",
- "text": "string",
- "collection_uid": "string"
}
], - "temporary_closed_parameters": [
- {
- "type": "string",
- "value": "string",
- "name": "string"
}
], - "is_region_center": true,
- "has_model": { },
- "has_avg_bill": { },
- "photos": true,
- "is_default": true
}, - "name": "Ust-Kamenogorsk",
- "is_deleted": true,
- "lon": "55.10401153",
- "cluster": {
- "count": 0,
- "in_geometry_id_count": 0
}, - "reviews": {
- "is_reviewable_on_flamp": true,
- "is_org_reviews": true,
- "is_reviewable": true,
- "general_review_count": 0,
- "recommendation_count": "12",
- "general_rating": "4.73",
- "org_review_count_with_stars": 0,
- "general_review_count_with_stars": 0,
- "reg_bc_url": "string",
- "rating": "4.73",
- "items": [
- {
- "tag": "string",
- "is_reviewable": true,
- "rating": 5,
- "review_count": 0,
- "recommendation_count": 0
}
], - "review_count": "32",
- "org_review_count": 0,
- "org_rating": "4.73"
}, - "vital": 0,
- "org": {
- "id": "123456",
- "primary": "string",
- "branch_count": "7",
- "name": "string",
- "extension": "string"
}, - "match_type": 0,
- "schedule_special": {
- "comment": "Open 24h on holidays",
- "description": "string",
- "date_to": "string",
- "Sat": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Mon": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Fri": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Thu": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Sun": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "date_from": "string",
- "is_24x7": true,
- "Tue": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}, - "Wed": {
- "working_hours": [
- {
- "to": "17:00",
- "from": "09:00"
}
]
}
}, - "geocoded_by": "54.991984,82.901886"
}
], - "search_attributes": {
- "out_viewport": [
- {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}, - {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}, - {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}, - {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}
], - "drag_bound": [
- {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}, - {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}, - {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}, - {
- "longitude": 29.13375591576512,
- "latitude": 55.97851125831795
}
], - "cluster_zoom": 0,
- "is_partial_result": true
}, - "total": 1
}, - "meta": {
- "issue_date": "string",
- "code": 200,
- "api_version": "dev"
}
}