Skip to main content

/3.0/rubricator/get

List if categories (3.0)

2GIS API Support: api@2gis.ru URL: https://docs.2gis.com/

List if categories

Getting category

Displays detailed information about the category by its unique identifier.

query Parameters
key
required
string

Unique key of API user.

region_id
integer

Region ID. You must specify one of the parameters: the region ID, the coordinate, or the city ID to determine the region.

point
string
Examples:
  • point=82.921663,55.030195 - Longitude and latitude

The coordinate for the region of the rubricator detection. You must specify one of the parameters: the region ID, the coordinate, or the city ID to determine the region.

geometry_id
integer

Geographical object (city, settlement, etc.) identifier thart will be used to detect rubricator region. You must specify one of the parameters: the region ID, the coordinate, or the city ID to determine the region.

id
required
integer

Category ID.

locale
string

The locale with which the search is performed and given results.

Responses

Response Schema: application/json
required
object (ObjMeta)

Response metadata

required
object

Response samples

Content type
application/json
{
  • "meta": {
    • "issue_date": "string",
    • "code": 200,
    • "api_version": "dev"
    },
  • "result": {
    • "items": [
      ],
    • "total": 1
    }
}