Get branch by id
Business listing (2.0)
2GIS API Support: api@2gis.ru URL: https://docs.2gis.com/
Getting a profile of a company branch
Method support discontinued. To obtain information on ID, use 3.0/items/byid
method.
query Parameters
key required | string A unique key of API user. |
id required | string Example: id=1234567890_07dd2164eb829f6d7532f9a9b56d3ffd30 The identifier of the company branch. |
fields | Array of strings Additional fields to display in the response are separated by commas.
|
Responses
Response Schema:
required | object (ObjMeta) Response metadata |
required | object Main result |
Response samples
- 200
- 400
- 403
- 404
- 500
Content type
{- "meta": {
- "issue_date": "string",
- "code": 200,
- "api_version": "dev"
}, - "result": {
- "total": 1,
- "items": [
- {
- "id": "141265769336625_f91d4H3777058262347790J0e8g28765",
- "type": "branch",
- "region_id": "123456",
- "segment_id": "123456",
- "contact_groups": [
- {
- "comment": "Multichannel phone number",
- "schedule": {
- "is_24x7": true,
- "date_to": "string",
- "Sun": {
- "working_hours": [
- {
- "from": null,
- "to": null
}
]
}, - "Mon": {
- "working_hours": [
- {
- "from": null,
- "to": null
}
]
}, - "Thu": {
- "working_hours": [
- {
- "from": null,
- "to": null
}
]
}, - "comment": "Open 24h on holidays",
- "date_from": "string",
- "Tue": {
- "working_hours": [
- {
- "from": null,
- "to": null
}
]
}, - "Fri": {
- "working_hours": [
- {
- "from": null,
- "to": null
}
]
}, - "description": "string",
- "Sat": {
- "working_hours": [
- {
- "from": null,
- "to": null
}
]
}, - "Wed": {
- "working_hours": [
- {
- "from": null,
- "to": null
}
]
}
}, - "schedule_special": [
- {
- "working_hours": [
- {
- "from": null,
- "to": null
}
], - "data": "2025-01-02"
}
], - "contacts": [
- {
- "type": "phone",
- "text": "Ivanov's e-mail",
- "print_text": "Ivanov's e-mail",
- "comment": "for business correspondence",
- "url": "string",
- "value": "Phone number in international format"
}
], - "name": "Service center"
}
], - "external_content": [
- {
- "type": "discount",
- "value": "shintop",
- "label": "Open",
}
], - "is_deleted": true,
- "order_with_cart": [
- {
- "phone": "+7123456789"
}
], - "ev_charging_station": {
- "aggregate": {
- "is_active": true,
- "is_busy": true,
- "connectors_free": 0,
- "connectors_total": 0,
- "power": 0
}, - "connectors": [
- {
- "type": "string",
- "power": 0,
- "price": 0,
- "status": 0
}
]
}, - "schedule": {
- "is_24x7": true,
- "date_to": "string",
- "Sun": {
- "working_hours": [
- {
- "from": "09:00",
- "to": "17:00"
}
]
}, - "Mon": {
- "working_hours": [
- {
- "from": "09:00",
- "to": "17:00"
}
]
}, - "Thu": {
- "working_hours": [
- {
- "from": "09:00",
- "to": "17:00"
}
]
}, - "comment": "Open 24h on holidays",
- "date_from": "string",
- "Tue": {
- "working_hours": [
- {
- "from": "09:00",
- "to": "17:00"
}
]
}, - "Fri": {
- "working_hours": [
- {
- "from": "09:00",
- "to": "17:00"
}
]
}, - "description": "string",
- "Sat": {
- "working_hours": [
- {
- "from": "09:00",
- "to": "17:00"
}
]
}, - "Wed": {
- "working_hours": [
- {
- "from": "09:00",
- "to": "17:00"
}
]
}
}, - "links": {
- "database_entrances": [
- {
- "id": "123456",
- "apartments_info": {
- "floors": [
- {
- "name": null,
- "apartments": null
}
], - "calculated": true
}, - "is_visible_in_ui": true,
- "entity_number": "string",
- "entrance_display_name": "string",
- "has_poi": true,
- "name": "string",
- "geometry": {
- "points": [
- "string"
], - "vectors": [
- "string"
], - "normals": [
- "string"
]
}, - "is_primary": true,
- "is_visible_on_map": true,
- "building_number": "string",
- "comment": "string",
- "entity_name": "string",
- "relative_geometry": {
- "dy": 0,
- "direction": 0,
- "dx": 0
}
}
], - "attractions": [
- {
- "id": "123456",
- "authors": "string",
- "dates": "string",
- "description": "string",
- "subtype_name": "Fountain",
- "name": "Fountain in Narymsky public garden"
}
], - "landmarks": [
- {
- "id": "123456",
- "type": "station_platform",
- "entrance_display_name": "string",
- "distance": 0,
- "azimuth": 360,
- "subtype": "string",
- "station_id": "123456",
- "name": "string"
}
], - "servicing": {
- "allowed_for_reviews_count": 0,
- "items": [
- {
- "id": "123_24J2I19H1J0fghdw7GJ0JJ16153",
- "org_id": "string",
- "name": "string",
- "additional_info": "string",
- "contacts": [
- {
- "type": null,
- "text": null,
- "print_text": null,
- "comment": null,
- "url": null,
- "value": null
}
]
}
], - "count": 1
}, - "entrances": [
- {
- "id": "123456",
- "is_primary": true,
- "comment": "string",
- "is_visible_in_ui": true,
- "is_visible_on_map": true,
- "entrance_display_name": "string",
- "geometry": {
- "vectors": [
- "string"
], - "normals": [
- "string"
], - "points": [
- "string"
]
}, - "entity_name": "string",
- "entity_number": "string"
}
], - "nearest_stations": [
- {
- "id": "123456",
- "comment": "Leninskaya line",
- "route_types": [
- "string"
], - "internal_transition": true,
- "name": "Krasniy Prospekt metro station",
- "color": "#D10000",
- "entrance": {
- "id": "123456",
- "name": "string",
- "entrance_display_name": "string",
- "geometry": {
- "selection": "POINT(83.306820839303 54.6230101954005)",
- "centroid": "POINT(83.306820839303 54.6230101954005)",
- "hover": "POLYGON((36.193851601974 51.7466070840044,36.1943391434488 51.7466070840044,36.1943391434488 51.7474670961949,36.193851601974 51.7474670961949,36.193851601974 51.7466070840044))"
}
}, - "distance": 0,
- "route_logo": "string"
}
], - "river_ports": {
- "count": 0,
- "items": [
- {
- "id": "123456",
- "name": "Moscow North river terminal",
- "additional_info": "Leningrad highway, 51"
}
]
}, - "railway_terminals": {
- "count": 0,
- "items": [
- {
- "id": "123456",
- "name": "Novosibirsk-Western, railway station",
- "additional_info": "Shirokaya Street, 26a"
}
]
}, - "providers": {
- "allowed_for_reviews_count": 0,
- "items": [
- {
- "id": "123_24J2I19H1J0fghdw7GJ0JJ16153",
- "org_id": "string",
- "name": "string",
- "additional_info": "string",
- "contacts": [
- {
- "type": null,
- "text": null,
- "print_text": null,
- "comment": null,
- "url": null,
- "value": null
}
]
}
], - "count": 1
}, - "nearest_platforms": [
- {
- "id": "123456",
- "route_types": [
- "string"
], - "transition_type": "string",
- "heading_to": "Nakhabino",
- "name": "Krasniy Prospekt metro station",
- "comment": "Leninskaya line",
- "color": "#D10000",
- "route_logo": "string"
}
], - "branches": {
- "allowed_for_reviews_count": 0,
- "items": [
- {
- "id": "123_24J2I19H1J0fghdw7GJ0JJ16153",
- "org_id": "string",
- "name": "string",
- "additional_info": "string",
- "contacts": [
- {
- "type": null,
- "text": null,
- "print_text": null,
- "comment": null,
- "url": null,
- "value": null
}
]
}
], - "count": 1
}, - "station_scheme": {
- "geometry": "string",
- "floor_plan_id": "123456",
- "building_id": "123456"
}, - "hotels": {
- "items": [
- {
- "id": "123456",
- "name": "Aquarius, Motel",
- "additional_info": "Mira St, 18a bld1"
}
], - "count": 0
}, - "bus_terminals": {
- "count": 0,
- "items": [
- {
- "id": "123456",
- "name": "Bus station, Novosibirsk",
- "additional_info": "Krasnyy Prospekt, 4"
}
]
}, - "on_territory": {
- "count": 0
}, - "airports": {
- "count": 0,
- "items": [
- {
- "id": "123456",
- "name": "Tolmachevo airport",
- "additional_info": "Airport, Ob-4"
}
]
}, - "nearest_parking": [
- {
- "id": "123456"
}
], - "nearest_metro": [
- {
- "id": "123456",
- "distance": 500
}
], - "parking": [
- {
- "id": "123456",
- "comment": "50 rub per hour, first 2 hours free.",
- "name": "Underground Parking, Sun City",
- "purpose": "string",
- "capacity": "string",
- "is_paid": true
}
], - "seaports": {
- "count": 0,
- "items": [
- {
- "id": "123456",
- "additional_info": "Marine Glory square, 1",
- "name": "Marine passenger terminal"
}
]
}
}, - "structure_info": {
- "material": "string",
- "year_of_construction": 0,
- "elevators_count": 0,
- "chs_name": "string",
- "project_type": "string",
- "floor_type": "string",
- "apartments_count": 0,
- "gas_type": "string",
- "chs_category": "string",
- "porch_count": 0,
- "is_in_emergency_state": true
}, - "city_alias": "novosibirsk",
- "has_apartments_info": true,
- "flags": {
- "has_model": { },
- "photos": true,
- "is_default": true,
- "is_region_center": true,
- "is_district_area_center": true,
- "temporary_closed": "string",
- "temporary_closed_parameters": [
- {
- "type": "string",
- "name": "string",
- "value": "string"
}
]
}, - "locale": "ru_RU",
- "attribute_groups": [
- {
- "is_context": true,
- "is_primary": true,
- "rubric_ids": [
- "123456"
], - "attributes": [
- {
- "id": "123456",
- "name": "Free Internet in the rooms",
- "icon_url": "string",
- "tag": "hotel_room_internet"
}
], - "icon_url": "string",
- "name": "Hotel"
}
], - "employees_org_count": "up to 15",
- "name": "the Sunny cafe",
- "description": "string",
- "floors": {
- "ground_min_count": 1,
- "ground_count": 1,
- "underground_count": 1
}, - "purpose_name": "string",
- "itin": "1234567890",
- "brand": {
- "id": "string",
- "name": "string",
- "branch_count": 0
}, - "parking": {
- "payment_link": "string",
- "congestion": {
- "updated_datetime": "string",
- "spaces": {
- "common": {
- "total": 0,
- "free": 0
}, - "handicapped": {
- "total": 0,
- "free": 0
}
}, - "blocked": true
}
}, - "marker_alt": 0,
- "floor_plans": {
- "default_plan_id": "123456",
- "plans": [
- {
- "id": "123456",
- "name": "string"
}
]
}, - "geometry": {
- "selection": "POINT(83.306820839303 54.6230101954005)",
- "centroid": "POINT(83.306820839303 54.6230101954005)",
- "hover": "POLYGON((36.193851601974 51.7466070840044,36.1943391434488 51.7466070840044,36.1943391434488 51.7474670961949,36.193851601974 51.7474670961949,36.193851601974 51.7466070840044))"
}, - "stop_factors": [
- {
- "type": "attribute",
- "name": "Laundry",
- "tag": "hotel_details_laundry"
}
], - "sources": [
- "string"
], - "ski_lift": {
- "type": 0,
- "status": 0
}, - "building_name": "string",
- "full_name": "string",
- "dates": {
- "created_at": "2012-04-18T12:08:03.273144+07:00",
- "updated_at": "2012-06-18T11:43:03.273144+07:00",
- "deleted_at": "2013-06-01T11:43:03.273144+07:00"
}, - "timezone_offset": 420,
- "delivery": [
- {
- "phone": "+7123456789"
}
], - "name_ex": {
- "legal_name": "LLC Sunny",
- "addition": "string",
- "description": "Warehouse",
- "short_name": "Sunny",
- "primary": "Sunny",
- "extension": "cafe"
}, - "alias": "shintop_set_avtomarketov",
- "is_routing_available": true,
- "search_attributes": {
- "additional_context": [
- 0
], - "suggest_parts": [
- {
- "is_suggested": true,
- "text": "string"
}
], - "suggested_text": "string",
- "external_source": 1,
- "dgis_address_details": {
- "apartment": "15",
- "precision": "string",
- "address": "12",
- "entrance": "1"
}
}, - "point": "54.991984,82.901886",
- "context": {
- "servicing_groups": [
- "string"
], - "distance": "3483",
- "is_in_bound": "true",
- "stop_factors": [
- {
- "type": "attribute",
- "name": "Laundry",
- "tag": "hotel_details_laundry"
}
], - "servicing_group": "string"
}, - "floor_id": "141832714658709",
- "reviews": {
- "general_rating": "4.73",
- "rating": "4.73",
- "org_rating": "4.73",
- "is_reviewable": true,
- "general_review_count_with_stars": 0,
- "items": [
- {
- "tag": "string",
- "is_reviewable": true,
- "rating": 5,
- "review_count": 0,
- "recommendation_count": 0
}
], - "review_count": "32",
- "org_review_count": 0,
- "recommendation_count": "12",
- "is_org_reviews": true,
- "general_review_count": 0,
- "org_review_count_with_stars": 0
}, - "org": {
- "id": "123456",
- "name": "string",
- "extension": "string",
- "primary": "string",
- "branch_count": "7"
}, - "address_comment": "office 413",
- "schedule_special": [
- {
- "working_hours": [
- {
- "from": "09:00",
- "to": "17:00"
}
], - "data": "2025-01-02"
}
], - "address": {
- "landmark_name": "Zaryadye (a park in Moscow)",
- "makani": "27116 87099",
- "components": [
- {
- "type": "street_number",
- "fias_code": "dcb1bc1b-2324-449a-8b68-03e49ba1f541",
- "okato": "35",
- "oktmo": "35",
- "street_id": "123456",
- "street": "Krasnyy Prospekt",
- "number": "21/2, bld 7"
}
], - "building_id": "20498230958",
- "postcode": "630007",
- "building_code": "string",
- "building_name": "Sun City"
}, - "trade_license": {
- "type": "string",
- "license": "string",
- "start_date": "string",
- "end_date": "string",
- "legal_form": "string",
- "type_description": "string",
- "director_name": "string"
}, - "summary": {
- "text": "string"
}, - "address_name": "Dimitrov Avenue, 7",
- "rubrics": [
- {
- "id": "123456",
- "kind": "string",
- "name": "string",
- "alias": "string",
- "parent_id": "123456"
}
], - "adm_div": [
- {
- "id": "123456",
- "type": "city",
- "flags": {
- "has_model": { },
- "photos": true,
- "is_default": true,
- "is_region_center": true,
- "is_district_area_center": true,
- "temporary_closed": "string",
- "temporary_closed_parameters": [
- {
- "type": "string",
- "name": "string",
- "value": "string"
}
]
}, - "city_alias": "novosibirsk",
- "detailed_subtype": "poselok",
- "caption": "string",
- "name": "Ust-Kamenogorsk",
- "is_default": true
}
], - "full_address_name": "Novosibirsk, Dimitrov Avenue, 7"
}
]
}
}