Back to top

MojePrahaAPI

Open REST API serving as a back-end for mobile and other applications. Gathers, enriches and caches data from various sources and provides a single access point to the data. For open access to live data, ask for API Key. Feel free to use the mock-api server.

Developed by http://operatorict.cz

Versions

  • v3 (current)

  • v2

  • v1

General info

Parameters:

  • latlng

    • location, API performs geo-spatial search to retrieve data close to the location
  • range

    • filters the results by their distance from provided latlng in meters (range query)
  • district

    • filters by Prague city districts (separated by comma)
  • limit

    • pagination - limits number of retrieved items (kNN query)
  • offset

    • pagination - mumber of the first items that are skipped

General

General (helper) resources to be used elsewhere in the API.

Prague City Districts

GET All Districts
GET/city-districts/{?latlng,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/city-districts/?latlng=50.124935,14.457204&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Returns district which contains object by provided latlng (Latitude and Longitude separated by comma).

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
[
  {
    "id": 500054,
    "slug": "praha-1",
    "name": "Praha 1"
  },
  {
    "id": 500089,
    "slug": "praha-2",
    "name": "Praha 2"
  },
  {
    "id": 538361,
    "slug": "praha-kolovraty",
    "name": "Praha-Kolovraty"
  }
]

Prague City District

GET District
GET/city-districts/{district_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/city-districts/praha-1
URI Parameters
HideShow
district_id
string (required) Example: praha-1

Identifier or slug of the city district.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "id": 500054,
  "slug": "praha-1",
  "name": "Praha 1"
}

Traffic

Online traffic data from Prague.

Data provider:

Traffic Cameras

GET All Cameras
GET/traffic-cameras/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/traffic-cameras/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.432778,
          50.059193
        ]
      },
      "properties": {
        "id": 404032,
        "image": {
          "file_size": 19032,
          "url": "http://www.tsk-praha.cz/cams/cam404032.jpg"
        },
        "last_updated": 1501140717000,
        "name": "5.května",
        "district": "praha-4",
        "address": "Viktorinova 200/5, Nusle, 140 00 Praha-Praha 4, Česko"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.455956,
          50.124226
        ]
      },
      "properties": {
        "id": 606748,
        "image": {
          "file_size": 16426,
          "url": "http://www.tsk-praha.cz/cams/cam606748.jpg"
        },
        "last_updated": 1501140723000,
        "name": "DP - Kobylisy C - BUS MHD DP",
        "district": "praha-8",
        "address": "Kobylisy, 182 00 Praha-Praha 8, Česko"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.5764065,
          50.1086
        ]
      },
      "properties": {
        "id": 607520,
        "image": {
          "file_size": 13673,
          "url": "http://www.tsk-praha.cz/cams/cam607520.jpg"
        },
        "last_updated": 1501140722000,
        "name": "Černý most - Chlumecká",
        "district": "praha-14",
        "address": "Černý Most, 198 00 Praha-Praha 14, Česko"
      }
    }
  ]
}

Traffic Camera

GET Camera
GET/traffic-cameras/{camera_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/traffic-cameras/404032
URI Parameters
HideShow
camera_id
number (required) Example: 404032

Identifier of the camera.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.432778,
      50.059193
    ]
  },
  "properties": {
    "id": 404032,
    "image": {
      "file_size": 19032,
      "url": "http://www.tsk-praha.cz/cams/cam404032.jpg"
    },
    "last_updated": 1501140717000,
    "name": "5.května",
    "district": "praha-4",
    "address": "Viktorinova 200/5, Nusle, 140 00 Praha-Praha 4, Česko"
  }
}
Response  404

P+R Parkings

GET All P+R Parkings
GET/pr-parkings/{?latlng,range,district,limit,offset}

DEPRECATED

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/pr-parkings/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.350451,
          50.05053
        ]
      },
      "properties": {
        "id": 534013,
        "last_updated": 1502178725000,
        "name": "Nové Butovice",
        "num_of_free_places": 0,
        "num_of_taken_places": 57,
        "total_num_of_places": 57,
        "pr": true,
        "district": "praha-13",
        "address": "Seydlerova 2152/1, Stodůlky, 158 00 Praha-Praha 13, Česko"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.509193,
          50.026302
        ]
      },
      "properties": {
        "id": 534005,
        "last_updated": 1502178752000,
        "name": "Opatov",
        "num_of_free_places": 37,
        "num_of_taken_places": 144,
        "total_num_of_places": 181,
        "pr": true,
        "district": "praha-11",
        "address": "Chilská, 149 00 Praha 11, Česko"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.36348,
          49.986687
        ]
      },
      "properties": {
        "id": 534007,
        "last_updated": 1502178405000,
        "name": "Radotín",
        "num_of_free_places": 24,
        "num_of_taken_places": 12,
        "total_num_of_places": 36,
        "pr": true,
        "district": "praha-16",
        "address": "Prvomájová 265/28, 153 00 Praha-Radotín, Česko"
      }
    }
  ]
}

P+R Parking

GET P+R Parking
GET/pr-parkings/{parking_id}

DEPRECATED

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/pr-parkings/534013
URI Parameters
HideShow
parking_id
number (required) Example: 534013

Identifier of the P+R parking.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.350451,
      50.05053
    ]
  },
  "properties": {
    "id": 534013,
    "last_updated": 1502178725000,
    "name": "Nové Butovice",
    "num_of_free_places": 0,
    "num_of_taken_places": 57,
    "total_num_of_places": 57,
    "pr": true,
    "district": "praha-13",
    "address": "Seydlerova 2152/1, Stodůlky, 158 00 Praha-Praha 13, Česko"
  }
}
Response  404

Parkings

Parking type enum:

  • 1 P+R parkoviště

  • 2 placené parkoviště

GET All Parkings
GET/parkings/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/parkings/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "geometry": {
        "coordinates": [
          14.434239,
          50.083508
        ],
        "type": "Point"
      },
      "properties": {
        "parking_type": {
          "description": "placené parkoviště",
          "id": 2
        },
        "id": 534201,
        "last_updated": 1554384445000,
        "name": "Wilsonova",
        "num_of_free_places": 94,
        "num_of_taken_places": 370,
        "total_num_of_places": 464,
        "district": "praha-1",
        "address": "Wilsonova 300/8, Vinohrady, 110 00 Praha 1, Česko"
      },
      "type": "Feature"
    },
    {
      "geometry": {
        "coordinates": [
          14.56221,
          50.10684
        ],
        "type": "Point"
      },
      "properties": {
        "parking_type": {
          "description": "P+R parkoviště",
          "id": 1
        },
        "id": 534004,
        "last_updated": 1554384469000,
        "name": "Rajská zahrada",
        "num_of_free_places": 8,
        "num_of_taken_places": 80,
        "total_num_of_places": 88,
        "district": "praha-14",
        "address": "Cíglerova 1079/10, 198 00 Praha 14-Černý Most, Česko"
      },
      "type": "Feature"
    },
    {
      "geometry": {
        "coordinates": [
          14.472344,
          50.126156
        ],
        "type": "Point"
      },
      "properties": {
        "parking_type": {
          "description": "P+R parkoviště",
          "id": 1
        },
        "id": 534014,
        "last_updated": 1554384381000,
        "name": "Ládví",
        "num_of_free_places": 15,
        "num_of_taken_places": 63,
        "total_num_of_places": 78,
        "district": "praha-8",
        "address": "Davídkova 1764/112, 182 00 Praha 8-Libeň, Česko",
        "payment_link": "https://ke-utc.appspot.com/static/select_offstreet.html?shortname=121"
      },
      "type": "Feature"
    }
  ]
}

Parking

GET Parking
GET/parkings/{parking_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/parkings/534014
URI Parameters
HideShow
parking_id
number (required) Example: 534014

Identifier of the parking.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "geometry": {
    "coordinates": [
      14.472344,
      50.126156
    ],
    "type": "Point"
  },
  "properties": {
    "parking_type": {
      "description": "P+R parkoviště",
      "id": 1
    },
    "id": 534014,
    "last_updated": 1554384381000,
    "name": "Ládví",
    "num_of_free_places": 15,
    "num_of_taken_places": 63,
    "total_num_of_places": 78,
    "district": "praha-8",
    "address": "Davídkova 1764/112, 182 00 Praha 8-Libeň, Česko",
    "payment_link": "https://ke-utc.appspot.com/static/select_offstreet.html?shortname=121"
  },
  "type": "Feature"
}
Response  404

Parking Zones

“Category” definition:

  • RES - residential area (blue)

  • VIS - visitor area (orange)

  • MIX - mixed area (purple)

  • KOM - area only with ZTP or forbidden (grey)

GET All Parking Zones
GET/parking-zones/{?latlng,range,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/parking-zones/?latlng=50.124935,14.457204&range=5000&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "id": 1,
        "code": "P8-2023",
        "category": "RES",
        "owner": "HMP-TSK",
        "tariftext": "Po-Pá: 08:00-19:59 40 Kč/hod, 08:00-19:59 40 Kč/hod; So-Ne: zdarma",
        "payment_link": "https://ke-utc.appspot.com/static/onstreet.html?shortname=P8-2023",
        "name": "Rezidentní úsek - P8-2023",
        "max_coord": [
          14.47616391,
          50.135255816
        ],
        "min_coord": [
          14.474653882,
          50.134232254
        ],
        "tariftext_parsed": [
          {
            "hours": [
              "08:00-19:59 40 Kč/hod"
            ],
            "day": "Po-Pá"
          },
          {
            "hours": [
              "zdarma"
            ],
            "day": "So-Ne"
          }
        ]
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              14.474653882,
              50.134232254
            ],
            [
              14.4748185460001,
              50.134660212
            ],
            [
              14.4755047300001,
              50.1351299080001
            ],
            [
              14.4758308790001,
              50.135241223
            ],
            [
              14.4761363800001,
              50.135255816
            ],
            [
              14.47616391,
              50.1350223260001
            ],
            [
              14.475919828,
              50.134757952
            ],
            [
              14.475352244,
              50.1344565840001
            ],
            [
              14.475113456,
              50.1343164210001
            ],
            [
              14.474653882,
              50.134232254
            ]
          ]
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "id": 3,
        "code": "P8-2025",
        "category": "RES",
        "owner": "HMP-TSK",
        "tariftext": "Po-Pá: 08:00-19:59 40 Kč/hod, 08:00-19:59 40 Kč/hod; So-Ne: zdarma",
        "payment_link": "https://ke-utc.appspot.com/static/onstreet.html?shortname=P8-2025",
        "name": "Rezidentní úsek - P8-2025",
        "max_coord": [
          14.477444813,
          50.134098538
        ],
        "min_coord": [
          14.4760387580001,
          50.1336817750001
        ],
        "tariftext_parsed": [
          {
            "hours": [
              "08:00-19:59 40 Kč/hod"
            ],
            "day": "Po-Pá"
          },
          {
            "hours": [
              "zdarma"
            ],
            "day": "So-Ne"
          }
        ]
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              14.4760381770001,
              50.133997424
            ],
            [
              14.4760387580001,
              50.133997811
            ],
            [
              14.476045809,
              50.13401522
            ],
            [
              14.476080917,
              50.1340293040001
            ],
            [
              14.476811576,
              50.134098538
            ],
            [
              14.477444813,
              50.133936992
            ],
            [
              14.4772203210001,
              50.133789021
            ],
            [
              14.4766188510001,
              50.1336817750001
            ],
            [
              14.4760381770001,
              50.133997424
            ]
          ]
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "id": 2,
        "code": "P8-2024",
        "category": "RES",
        "owner": "HMP-TSK",
        "tariftext": "Po-Pá: 08:00-19:59 40 Kč/hod, 08:00-19:59 40 Kč/hod; So-Ne: zdarma",
        "payment_link": "https://ke-utc.appspot.com/static/onstreet.html?shortname=P8-2024",
        "name": "Rezidentní úsek - P8-2024",
        "max_coord": [
          14.476048529,
          50.1343164210001
        ],
        "min_coord": [
          14.474653882,
          50.1337910570001
        ],
        "tariftext_parsed": [
          {
            "hours": [
              "08:00-19:59 40 Kč/hod"
            ],
            "day": "Po-Pá"
          },
          {
            "hours": [
              "zdarma"
            ],
            "day": "So-Ne"
          }
        ]
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              14.474653882,
              50.134232254
            ],
            [
              14.475113456,
              50.1343164210001
            ],
            [
              14.475501023,
              50.1343069180001
            ],
            [
              14.476002954,
              50.134179311
            ],
            [
              14.476045809,
              50.13401522
            ],
            [
              14.4760387580001,
              50.133997811
            ],
            [
              14.475744575,
              50.1337910570001
            ],
            [
              14.474759776,
              50.134149445
            ],
            [
              14.474653882,
              50.134232254
            ]
          ]
        ]
      }
    }
  ]
}

Parking Zone

GET Parking Zone
GET/parking-zones/{parking_code}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/parking-zones/P6-0545
URI Parameters
HideShow
parking_code
string (required) Example: P6-0545

Identifier of the parking zone.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "properties": {
    "id": 944,
    "code": "P6-0545",
    "category": "MIX",
    "owner": "HMP-TSK",
    "tariftext": "Po-Pá: 08:00-05:59 20 Kč/hod, 08:00-19:59 20 Kč/hod, 20:00-05:59 20 Kč/hod; So-Ne: zdarma",
    "payment_link": "https://ke-utc.appspot.com/static/onstreet.html?shortname=P6-0545",
    "name": "Rezidentní úsek - P6-0545",
    "max_coord": [
      14.381532312,
      50.0854005750001
    ],
    "min_coord": [
      14.3804261940001,
      50.084303617
    ],
    "tariftext_parsed": [
      {
        "hours": [
          "08:00-19:59 20 Kč/hod",
          "08:00-05:59 20 Kč/hod",
          "20:00-05:59 20 Kč/hod"
        ],
        "day": "Po-Pá"
      },
      {
        "hours": [
          "zdarma"
        ],
        "day": "So-Ne"
      }
    ]
  },
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          14.3814973820001,
          50.0854005750001
        ],
        [
          14.381532312,
          50.085228064
        ],
        [
          14.3806401320001,
          50.084303617
        ],
        [
          14.380570017,
          50.0843433570001
        ],
        [
          14.380546285,
          50.084353955
        ],
        [
          14.3804854690001,
          50.0843627880001
        ],
        [
          14.3804261940001,
          50.0844279890001
        ],
        [
          14.381277217,
          50.0853353740001
        ],
        [
          14.3814973820001,
          50.0854005750001
        ]
      ]
    ]
  }
}
Response  404

Shared Cars

Fuel enum:

  • 1 benzin

  • 2 nafta

  • 3 LPG

  • 4 elektřina

  • 5 hybrid

  • 6 CNG

  • 7 jiný

  • 0 neznámý

Availability enum:

  • 1 ihned

  • 2 dle domluvy s provozovatelem

GET All Shared Cars
GET/shared-cars/{?latlng,range,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/shared-cars/?latlng=50.124935,14.457204&range=5000&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "features": [
    {
      "geometry": {
        "coordinates": [
          14.4396,
          50.0774
        ],
        "type": "Point"
      },
      "properties": {
        "availability": {
          "description": "ihned",
          "id": 1
        },
        "company": {
          "email": "info@ajo.cz",
          "name": "AJO",
          "phone": "+420 530 514 214",
          "web": "https://www.ajo.cz/"
        },
        "fuel": {
          "description": "benzín + LPG",
          "id": 3
        },
        "id": "1BF8210",
        "name": "Fabia III kombi  ",
        "res_url": "https://www.ajo.cz/login?rz=1BF8210"
      },
      "type": "Feature"
    },
    {
      "geometry": {
        "coordinates": [
          14.4403,
          50.0925
        ],
        "type": "Point"
      },
      "properties": {
        "availability": {
          "description": "ihned",
          "id": 1
        },
        "company": {
          "email": "info@ajo.cz",
          "name": "AJO",
          "phone": "+420 530 514 214",
          "web": "https://www.ajo.cz/"
        },
        "fuel": {
          "description": "benzín + LPG",
          "id": 3
        },
        "id": "1BF8204",
        "name": "Fabia III kombi  ",
        "res_url": "https://www.ajo.cz/login?rz=1BF8204"
      },
      "type": "Feature"
    },
    {
      "geometry": {
        "coordinates": [
          14.4476,
          50.0789
        ],
        "type": "Point"
      },
      "properties": {
        "availability": {
          "description": "ihned",
          "id": 1
        },
        "company": {
          "email": "info@ajo.cz",
          "name": "AJO",
          "phone": "+420 530 514 214",
          "web": "https://www.ajo.cz/"
        },
        "fuel": {
          "description": "benzín + LPG",
          "id": 3
        },
        "id": "1BF8217",
        "name": "Fabia III kombi  ",
        "res_url": "https://www.ajo.cz/login?rz=1BF8217"
      },
      "type": "Feature"
    }
  ],
  "type": "FeatureCollection"
}

Shared Car

GET Shared Car
GET/shared-cars/{car_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/shared-cars/1BF8210
URI Parameters
HideShow
car_id
string (required) Example: 1BF8210

Identifier of the car.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "geometry": {
    "coordinates": [
      14.4396,
      50.0774
    ],
    "type": "Point"
  },
  "properties": {
    "availability": {
      "description": "ihned",
      "id": 1
    },
    "company": {
      "email": "info@ajo.cz",
      "name": "AJO",
      "phone": "+420 530 514 214",
      "web": "https://www.ajo.cz/"
    },
    "fuel": {
      "description": "benzín + LPG",
      "id": 3
    },
    "id": "1BF8210",
    "name": "Fabia III kombi  ",
    "res_url": "https://www.ajo.cz/login?rz=1BF8210"
  },
  "type": "Feature"
}
Response  404

City Space

Data about public spaces, weather, medical institutions, etc.

Data provider:

Playgrounds

GET All Playgrounds
GET/playgrounds/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/playgrounds/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.42376709,
          50.082542419
        ]
      },
      "properties": {
        "id": 1,
        "name": "Františkánská zahrada",
        "url": "http://www.hristepraha.cz/hriste/mapa/frantiskanska-zahrada",
        "address": "Jungmannovo nám. 751/19, Nové Město, 110 00 Praha-Praha 1, Česko",
        "district": "praha-1",
        "perex": "Stromovka nám nabídne tolik, že se vyplatí zajít sem na celý den.",
        "content": "Stromovku tvoří rozlehlý park s hustou sítí asfaltových cest, které se hodí pro cyklistiku i in-line bruslení. Najdeme...",
        "image": {
          "url": "http://www.hristepraha.cz/images/img/7be728b6a9a60321e553d8d6a4758b18o.jpg"
        },
        "properties": [
          {
            "id": 5,
            "title": "Voda-hydrant nebo umyvadlo"
          },
          {
            "id": 6,
            "title": "WC na hřišti nebo v bezprostřední blízkosti"
          }
        ]
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.413350105,
          50.108131409
        ]
      },
      "properties": {
        "id": 5,
        "name": "Stromovka - hřiště U malé říčky",
        "url": "http://www.hristepraha.cz/hriste/mapa/stromovka-hriste-u-male-ricky",
        "address": "Koňská stezka, 170 00 Praha 7, Česko",
        "district": "praha-7",
        "perex": "Stromovka nám nabídne tolik, že se vyplatí zajít sem na celý den.",
        "content": "Stromovku tvoří rozlehlý park s hustou sítí asfaltových cest, které se hodí pro cyklistiku i in-line bruslení. Najdeme...",
        "image": {
          "url": "http://www.hristepraha.cz/images/img/7be728b6a9a60321e553d8d6a4758b18o.jpg"
        },
        "properties": [
          {
            "id": 4,
            "title": "Fitness prvky"
          }
        ]
      }
    }
  ]
}

Playground

GET Playground
GET/playgrounds/{playground_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/playgrounds/2
URI Parameters
HideShow
playground_id
number (required) Example: 2

Identifier of the playground.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.42376709,
      50.082542419
    ]
  },
  "properties": {
    "id": 1,
    "name": "Františkánská zahrada",
    "url": "http://www.hristepraha.cz/hriste/mapa/frantiskanska-zahrada",
    "address": "Jungmannovo nám. 751/19, Nové Město, 110 00 Praha-Praha 1, Česko",
    "district": "praha-1",
    "perex": "Stromovka nám nabídne tolik, že se vyplatí zajít sem na celý den.",
    "content": "Stromovku tvoří rozlehlý park s hustou sítí asfaltových cest, které se hodí pro cyklistiku i in-line bruslení. Najdeme...",
    "image": {
      "url": "http://www.hristepraha.cz/images/img/7be728b6a9a60321e553d8d6a4758b18o.jpg"
    },
    "properties": [
      {
        "id": 5,
        "title": "Voda-hydrant nebo umyvadlo"
      },
      {
        "id": 6,
        "title": "WC na hřišti nebo v bezprostřední blízkosti"
      }
    ]
  }
}
Response  404

Playground Properties

GET Playground Properties
GET/playgrounds/properties

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/playgrounds/properties
Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
[
  {
    "id": 1,
    "title": "Plocha pro míčové hry"
  },
  {
    "id": 2,
    "title": "In line stezky, skate parky, BMX areály, dopravní hřiště"
  },
  {
    "id": 3,
    "title": "Jiné sporty (lanová centra, minigolf, discgolf, boby)"
  },
  {
    "id": 4,
    "title": "Fitness prvky"
  },
  {
    "id": 5,
    "title": "Voda-hydrant nebo umyvadlo"
  },
  {
    "id": 6,
    "title": "WC na hřišti nebo v bezprostřední blízkosti"
  },
  {
    "id": 7,
    "title": "Správce na hřišti"
  },
  {
    "id": 8,
    "title": "Částečný stín"
  },
  {
    "id": 9,
    "title": "Kultura (muzea, galerie, venkovní sochy, divadla, planetária)"
  },
  {
    "id": 10,
    "title": "Naučné stezky"
  },
  {
    "id": 11,
    "title": "ZOO koutky"
  },
  {
    "id": 12,
    "title": "Restaurace nebo kavárny v bezprostřední blízkosti"
  },
  {
    "id": 13,
    "title": "Bazény, vodní atrakce, vodní soustavy"
  }
]

Gardens

GET All Gardens
GET/gardens/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/gardens/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.423701,
          50.082386
        ]
      },
      "properties": {
        "id": "frantiskanska-zahrada",
        "name": "Františkánská zahrada",
        "image": "http://www.praha.eu/public/8f/95/1/159114_24036_frantiskanska_3.jpg",
        "description": "V samém centru Prahy, mezi Václavským a Jungmannovým náměstím, se ukrývá jedna z nejpříjemnějších zahrad otevřených pro veřejnost, kde je možné usednout na lavičku, přečíst si knihu nebo si pohrát s dětmi.",
        "url": "http://www.praha.eu/jnp/cz/co_delat_v_praze/parky/frantiskanska_zahrada/frantiskanska_text.html",
        "address": "Jungmannovo nám. 751/19",
        "district": "praha-1",
        "properties": [
          {
            "id": "restaurace",
            "value": "Občerstvení: V bezprostředním okolí – pasáž Alfa, Václavské i Jungmannovo náměstí, Národní třída"
          },
          {
            "id": "wc",
            "value": "ANO, bezbariérové"
          },
          {
            "id": "misto",
            "value": "Příjemné posezení v samém centru města, vhodné pro děti i seniory, psi NE, v sousedství kostel P. Marie Sněžné"
          },
          {
            "id": "kolo",
            "value": "ANO"
          },
          {
            "id": "hriste",
            "value": "ANO"
          },
          {
            "id": "brusle",
            "value": "NE"
          },
          {
            "id": "sport",
            "value": "NE"
          },
          {
            "id": "mhd",
            "value": "Václavské nám. Tram. Č. 3, 9, 14, 24, 51, 52, 54, 55, 56, 58, metro A, B Můstek"
          },
          {
            "id": "parking",
            "value": "NE"
          },
          {
            "id": "cesty",
            "value": "Dlažba, v dětském koutku speciální povrch"
          },
          {
            "id": "provoz",
            "value": "Hlavní město Praha"
          },
          {
            "id": "doba",
            "value": "Celoročně, uzavírá se na noc"
          }
        ]
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.395004,
          50.070894
        ]
      },
      "properties": {
        "id": "betramka",
        "name": "Betramka",
        "image": "http://www.praha.eu/public/5c/7c/31/96820_4_bertramka_08.jpg",
        "description": "Mozartova busta v zahradě legendární usedlosti stojí na vyvýšeném, trochu zvláštním, místě, jakoby stranou pomyslné hlavní osy podlouhlého pozemku. Mistr, byť pouze v kamenné podobě, tak má dokonalý přehled o dění v zahradě, ale současně překrásný výhled na stráně vrchu Mrázovka.",
        "url": "http://www.praha.eu/jnp/cz/co_delat_v_praze/parky/bertramka/bertramka_text.html",
        "address": "Mozartova 844/14",
        "district": "praha-5",
        "properties": [
          {
            "id": "wc",
            "value": "ANO"
          },
          {
            "id": "misto",
            "value": "Kulturní památka, koncerty vážné hudby, společenské akce, muzeum W. A. Mozarta"
          },
          {
            "id": "kolo",
            "value": "ANO"
          },
          {
            "id": "hriste",
            "value": "NE"
          },
          {
            "id": "brusle",
            "value": "NE"
          },
          {
            "id": "sport",
            "value": "NE"
          },
          {
            "id": "mhd",
            "value": "Bertramka tram č. 4, 7, 9, 10, 58, 59"
          },
          {
            "id": "parking",
            "value": "ANO, v podzemním parkingu OC Smíchov"
          },
          {
            "id": "cesty",
            "value": "Dlažba"
          },
          {
            "id": "provoz",
            "value": "Městská část Praha 5 a spol. Comenius"
          },
          {
            "id": "doba",
            "value": "Celoročně duben až říjen 9-18 hod., listopad až březen 9:30-16 hod."
          }
        ]
      }
    }
  ]
}

Garden

GET Garden
GET/gardens/{garden_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/gardens/frantiskanska-zahrada
URI Parameters
HideShow
garden_id
string (required) Example: frantiskanska-zahrada

Identifier of the garden.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.423701,
      50.082386
    ]
  },
  "properties": {
    "id": "frantiskanska-zahrada",
    "name": "Františkánská zahrada",
    "image": "http://www.praha.eu/public/8f/95/1/159114_24036_frantiskanska_3.jpg",
    "description": "V samém centru Prahy, mezi Václavským a Jungmannovým náměstím, se ukrývá jedna z nejpříjemnějších zahrad otevřených pro veřejnost, kde je možné usednout na lavičku, přečíst si knihu nebo si pohrát s dětmi.",
    "url": "http://www.praha.eu/jnp/cz/co_delat_v_praze/parky/frantiskanska_zahrada/frantiskanska_text.html",
    "address": "Jungmannovo nám. 751/19",
    "district": "praha-1",
    "properties": [
      {
        "id": "restaurace",
        "value": "Občerstvení: V bezprostředním okolí – pasáž Alfa, Václavské i Jungmannovo náměstí, Národní třída"
      },
      {
        "id": "wc",
        "value": "ANO, bezbariérové"
      },
      {
        "id": "misto",
        "value": "Příjemné posezení v samém centru města, vhodné pro děti i seniory, psi NE, v sousedství kostel P. Marie Sněžné"
      },
      {
        "id": "kolo",
        "value": "ANO"
      },
      {
        "id": "hriste",
        "value": "ANO"
      },
      {
        "id": "brusle",
        "value": "NE"
      },
      {
        "id": "sport",
        "value": "NE"
      },
      {
        "id": "mhd",
        "value": "Václavské nám. Tram. Č. 3, 9, 14, 24, 51, 52, 54, 55, 56, 58, metro A, B Můstek"
      },
      {
        "id": "parking",
        "value": "NE"
      },
      {
        "id": "cesty",
        "value": "Dlažba, v dětském koutku speciální povrch"
      },
      {
        "id": "provoz",
        "value": "Hlavní město Praha"
      },
      {
        "id": "doba",
        "value": "Celoročně, uzavírá se na noc"
      }
    ]
  }
}
Response  404

Garden Properties

GET Garden Properties
GET/gardens/properties

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/gardens/properties
Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
[
  {
    "id": "restaurace",
    "title": "Občerstvení"
  },
  {
    "id": "wc",
    "title": "WC"
  },
  {
    "id": "misto",
    "title": "Zajímavosti"
  },
  {
    "id": "kolo",
    "title": "Cyklostezky"
  },
  {
    "id": "hriste",
    "title": "Dětské hřiště"
  },
  {
    "id": "brusle",
    "title": "Bruslení"
  },
  {
    "id": "sport",
    "title": "Sportovní hřiště"
  },
  {
    "id": "mhd",
    "title": "MHD"
  },
  {
    "id": "parking",
    "title": "Parkování"
  },
  {
    "id": "cesty",
    "title": "Povrch cest"
  },
  {
    "id": "provoz",
    "title": "Provozovatel"
  },
  {
    "id": "doba",
    "title": "Otevírací doba"
  }
]

Public Toilets

GET All Toilets
GET/public-toilets/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/public-toilets/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [14.456224317, 50.0823295810001]
            },
            "properties": {
                "id": 1,
                "address": "Táboritská 1200/21, Žižkov, 130 00 Praha-Praha 3, Česko",
                "opened": "nonstop",
                "price": "jednotná cena 5 Kč",
                "district": "praha-3"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [14.4380032340001, 50.040602377]
            },
            "properties": {
                "id": 2,
                "address": "Ryšánka, 140 00 Praha-Praha 4, Česko",
                "opened": "nonstop",
                "price": "jednotná cena 5 Kč",
                "district": "praha-4"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [14.4402713210001, 50.0644757420001]
            },
            "properties": {
                "id": 3,
                "address": "nám. Bratří Synků 300/15, Nusle, 140 00 Praha-Praha 4, Česko"
                "opened": "nonstop",
                "price": "jednotná cena 5 Kč",
                "district": "praha-4"
            }
        }
    ]
}

Public Toilet

GET Toilet
GET/public-toilets/{toilet_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/public-toilets/1
URI Parameters
HideShow
toilet_id
number (required) Example: 1

Identifier of the public toilet.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.456224317,
      50.0823295810001
    ]
  },
  "properties": {
    "id": 1,
    "address": "Táboritská 1200/21, Žižkov, 130 00 Praha-Praha 3, Česko",
    "opened": "nonstop",
    "price": "jednotná cena 5 Kč",
    "district": "praha-3"
  }
}
Response  404

Municipal Libraries

GET All Municipal Libraries
GET/municipal-libraries/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/municipal-libraries/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.491924,
          50.024191
        ]
      },
      "properties": {
        "id": "chodov",
        "name": "Chodov",
        "address": "Jírovcovo náměstí 1782/1 Praha 11",
        "district": "praha-11",
        "opening_hours": [
          {
            "day": "Pondělí",
            "hours": "13:00 - 19:00"
          },
          {
            "day": "Úterý",
            "hours": "09:00 - 16:00"
          },
          {
            "day": "Středa",
            "hours": "12:00 - 19:00"
          },
          {
            "day": "Čtvrtek",
            "hours": "12:00 - 19:00"
          },
          {
            "day": "Pátek",
            "hours": "09:00 - 16:00"
          }
        ],
        "telephone": "770 130 289",
        "email": "knihovna@mlp.cz",
        "web": "https://www.mlp.cz/cz/kontakty/pobocky/chodov/",
        "office_manager": "Petr Kollár",
        "services": [
          {
            "description": "Bezbariérový přístup pro vozíčkáře i rodiče s kočárky",
            "name": "Bezbariérový přístup"
          },
          {
            "description": "Zdarma",
            "name": "Internet a Wi-Fi"
          },
          {
            "description": "Hry sportovní, postřehové a dobrodružné.",
            "name": "Herní konzole"
          }
        ],
        "route_description": "Metrem C – stanice Chodov (výstup k busu směr Lhotka). Dále buď pěšky asi 10 min., nebo jednu zastávku autobusy číslo 154, 197, zastávka Jarníkova a odtud asi 350 m pěšky. Knihovna je v budově Základní školy Campanus, ale má vlastní bezbariérový vchod.",
        "sections_and_departments": [
          "Oddělení pro děti a mládež",
          "Čítárna"
        ],
        "image": {
          "url": "https://i.mlp.cz/noRW_photodisplay/31/27303_319edd32c941a2f6bbd6939a9262b8cc.jpg"
        }
      }
    }
  ]
}

Municipal Library

GET Municipal Library
GET/municipal-libraries/{library_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/municipal-libraries/chodov
URI Parameters
HideShow
library_id
string (required) Example: chodov

Identifier of the library.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.491924,
      50.024191
    ]
  },
  "properties": {
    "id": "chodov",
    "name": "Chodov",
    "address": "Jírovcovo náměstí 1782/1 Praha 11",
    "district": "praha-11",
    "opening_hours": [
      {
        "day": "Pondělí",
        "hours": "13:00 - 19:00"
      },
      {
        "day": "Úterý",
        "hours": "09:00 - 16:00"
      },
      {
        "day": "Středa",
        "hours": "12:00 - 19:00"
      },
      {
        "day": "Čtvrtek",
        "hours": "12:00 - 19:00"
      },
      {
        "day": "Pátek",
        "hours": "09:00 - 16:00"
      }
    ],
    "telephone": "770 130 289",
    "email": "knihovna@mlp.cz",
    "web": "https://www.mlp.cz/cz/kontakty/pobocky/chodov/",
    "office_manager": "Petr Kollár",
    "services": [
      {
        "description": "Bezbariérový přístup pro vozíčkáře i rodiče s kočárky",
        "name": "Bezbariérový přístup"
      },
      {
        "description": "Zdarma",
        "name": "Internet a Wi-Fi"
      },
      {
        "description": "Hry sportovní, postřehové a dobrodružné.",
        "name": "Herní konzole"
      }
    ],
    "route_description": "Metrem C – stanice Chodov (výstup k busu směr Lhotka). Dále buď pěšky asi 10 min., nebo jednu zastávku autobusy číslo 154, 197, zastávka Jarníkova a odtud asi 350 m pěšky. Knihovna je v budově Základní školy Campanus, ale má vlastní bezbariérový vchod.",
    "sections_and_departments": [
      "Oddělení pro děti a mládež",
      "Čítárna"
    ],
    "image": {
      "url": "https://i.mlp.cz/noRW_photodisplay/31/27303_319edd32c941a2f6bbd6939a9262b8cc.jpg"
    }
  }
}
Response  404

Air Quality Stations /Weather/

GET All Air Quality Stations
GET/weather/air-quality/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/weather/air-quality/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.380116,
          50.084385
        ]
      },
      "properties": {
        "code": "ABREA",
        "name": "Praha 6-Břevnov",
        "district": "praha-6",
        "measurement": {
          "components": [
            {
              "type": "NO2",
              "averaged_time": {
                "averaged_hours": 1,
                "value": 10.7
              }
            },
            {
              "type": "PM10",
              "averaged_time": {
                "averaged_hours": 24,
                "value": 12.875
              }
            },
            {
              "type": "PM10",
              "averaged_time": {
                "averaged_hours": 1,
                "value": 21
              }
            }
          ],
          "AQ_hourly_index": 2
        }
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.51745,
          50.030172
        ]
      },
      "properties": {
        "code": "ACHOA",
        "name": "Praha 4-Chodov",
        "district": "praha-11",
        "measurement": {
          "components": [
            {
              "type": "NO2",
              "averaged_time": {
                "averaged_hours": 1,
                "value": 12.1
              }
            },
            {
              "type": "PM10",
              "averaged_time": {
                "averaged_hours": 24,
                "value": 10.25
              }
            },
            {
              "type": "PM10",
              "averaged_time": {
                "averaged_hours": 1,
                "value": 16
              }
            }
          ],
          "AQ_hourly_index": 1
        }
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.442049,
          50.094238
        ]
      },
      "properties": {
        "code": "AKALA",
        "name": "Praha 8-Karlín",
        "district": "praha-8",
        "measurement": {
          "components": [
            {
              "type": "NO2",
              "averaged_time": {
                "averaged_hours": 1,
                "value": 25.1
              }
            },
            {
              "type": "PM10",
              "averaged_time": {
                "averaged_hours": 24,
                "value": 14.792
              }
            },
            {
              "type": "PM10",
              "averaged_time": {
                "averaged_hours": 1,
                "value": 10
              }
            }
          ],
          "AQ_hourly_index": 2
        }
      }
    }
  ]
}

Air Quality Station /Weather/

GET Air Quality Station
GET/weather/air-quality/{station_code}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/weather/air-quality/ABREA
URI Parameters
HideShow
station_code
string (required) Example: ABREA

Identifier of the air quality station.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.380116,
      50.084385
    ]
  },
  "properties": {
    "code": "ABREA",
    "name": "Praha 6-Břevnov",
    "district": "praha-6",
    "measurement": {
      "components": [
        {
          "type": "NO2",
          "averaged_time": {
            "averaged_hours": 1,
            "value": 10.7
          }
        },
        {
          "type": "PM10",
          "averaged_time": {
            "averaged_hours": 24,
            "value": 12.875
          }
        },
        {
          "type": "PM10",
          "averaged_time": {
            "averaged_hours": 1,
            "value": 21
          }
        }
      ],
      "AQ_hourly_index": 2
    }
  }
}
Response  404

Meteosensors /Weather/

GET All Meteosensors
GET/weather/meteostations/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/weather/meteostations/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.405042,
          50.03993
        ]
      },
      "properties": {
        "id": 531801,
        "name": "1-Barrandov",
        "district": "praha-5",
        "last_updated": 1501230403000,
        "air_temperature": 21.19,
        "road_temperature": 31.08,
        "humidity": 69.41,
        "wind_direction": 170,
        "wind_speed": 2.86
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.398088,
          50.072468
        ]
      },
      "properties": {
        "id": 531806,
        "name": "6-SAT JIH",
        "district": "praha-5",
        "last_updated": 1501230505000,
        "air_temperature": 21.29,
        "road_temperature": 32.74,
        "humidity": 65.09,
        "wind_direction": 245,
        "wind_speed": 2.59
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.304239,
          50.09355
        ]
      },
      "properties": {
        "id": 531811,
        "name": "11-Evropská",
        "district": "praha-6",
        "last_updated": 1501230238000,
        "air_temperature": 18.02,
        "road_temperature": 29.03,
        "humidity": 64.26,
        "wind_direction": 281,
        "wind_speed": 2.22
      }
    }
  ]
}

Meteosensor /Weather/

GET Meteosensor
GET/weather/meteostations/{meteosensor_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/weather/meteostations/531801
URI Parameters
HideShow
meteosensor_id
number (required) Example: 531801

Identifier of the meteosensor.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.405042,
      50.03993
    ]
  },
  "properties": {
    "id": 531801,
    "name": "1-Barrandov",
    "district": "praha-5",
    "last_updated": 1501230403000,
    "air_temperature": 21.19,
    "road_temperature": 31.08,
    "humidity": 69.41,
    "wind_direction": 170,
    "wind_speed": 2.86
  }
}
Response  404

Current Forecast /Weather/

Note: all response parameters are optional.

GET Forecast
GET/weather/current-forecast/{?latlng}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/weather/current-forecast/?latlng=50.124935,14.457204
URI Parameters
HideShow
latlng
string (required) Example: 50.124935,14.457204

Forecast by location (Latitude and Longitude separated by comma).

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.44,
      50.08
    ]
  },
  "properties": {
    "name": "Žižkov",
    "weather": [
      {
        "id": 803,
        "main": "Clouds",
        "description": "oblačno",
        "icon": "04d"
      }
    ],
    "main": {
      "temp": 14.64,
      "pressure": 1025,
      "humidity": 82,
      "temp_min": 14,
      "temp_max": 15
    },
    "wind": {
      "speed": 4.6,
      "deg": 270
    },
    "clouds": {
      "all": 40
    },
    "dt": 1501237800,
    "sunrise": 1501212385,
    "sunset": 1501267808
  }
}

Medical Institutions

GET All Medical Institutions
GET/medical-institutions/{?latlng,range,district,type,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/medical-institutions/?latlng=50.124935,14.457204&range=5000&district=praha-4&type=pharmacies&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

type
string (optional) Example: pharmacies

Filter by group of types of the medical institution.

Choices: pharmacies health_care

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.3578316,
          50.089717
        ]
      },
      "properties": {
        "id": "6995002001-lekarna-na-petrinach",
        "name": "Lékárna Na Petřinách",
        "type": "Lékárna zásobujicí zařízení ústavní péče",
        "district": "praha-6",
        "address": "Stamicova 1968, 162 00 Praha 6",
        "opening_hours": [
          {
            "day": "Pondělí",
            "hours": "07:30 - 18:00"
          },
          {
            "day": "Úterý",
            "hours": "07:30 - 18:00"
          },
          {
            "day": "Středa",
            "hours": "07:30 - 18:00"
          },
          {
            "day": "Čtvrtek",
            "hours": "07:30 - 18:00"
          },
          {
            "day": "Pátek",
            "hours": "07:30 - 18:00"
          }
        ],
        "telephone": [
          "235 350 089"
        ],
        "email": "lekarna@napetrinach.cz",
        "web": "http://www.napetrinach.cz"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.3401836,
          50.0731142
        ]
      },
      "properties": {
        "id": "2526713200064203-fakultni-nemocnice-v-motole",
        "name": "Fakultní nemocnice v Motole",
        "type": "Fakultní nemocnice",
        "district": "praha-5",
        "address": "V úvalu 84/1, 150 00 Praha 5",
        "opening_hours": [],
        "telephone": [
          "224431111"
        ],
        "email": "reditelstvi@fnmotol.cz",
        "web": "www.fnmotol.cz"
      }
    }
  ]
}

Medical Institution

GET Medical Institution
GET/medical-institutions/{institution_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/medical-institutions/2526713200064203-fakultni-nemocnice-v-motole
URI Parameters
HideShow
institution_id
string (required) Example: 2526713200064203-fakultni-nemocnice-v-motole

Identifier of the medical institution.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.3401836,
      50.0731142
    ]
  },
  "properties": {
    "id": "2526713200064203-fakultni-nemocnice-v-motole",
    "name": "Fakultní nemocnice v Motole",
    "type": "Fakultní nemocnice",
    "district": "praha-5",
    "address": "V úvalu 84/1, 150 00 Praha 5",
    "opening_hours": [],
    "telephone": [
      "224431111"
    ],
    "email": "reditelstvi@fnmotol.cz",
    "web": "www.fnmotol.cz"
  }
}
Response  404

Medical Institutions Types

GET All Medical Institution Types
GET/medical-institutions/types

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/medical-institutions/types
Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "pharmacies": [
    "Nemocniční lékárna s odbornými pracovišti",
    "Lékárna",
    "Lékárna s odbornými pracovišti",
    "Výdejna",
    "Vojenská lékárna",
    "Vojenská lékárna s OOVL",
    "Nemocniční lékárna",
    "Lékárna s odbornými pracovišti s OOVL",
    "Nemocniční lékárna s OOVL",
    "Nemocniční lékárna s odbor. pracovišti s OOVL",
    "Odloučené oddělení výdeje léčivých přípravků",
    "Lékárna s OOVL",
    "Lékárna s odborným pracovištěm, která zásobuje lůžková zdravotnická zařízení",
    "Lékárna s odborným pracovištěm, která zásobuje lůžková zdravotnická zařízení s OOVL",
    "Lékárna zásobujicí zařízení ústavní péče",
    "Lékárna zásobujicí zařízení ústavní péče s OOVL"
  ],
  "health_care": [
    "Fakultní nemocnice",
    "Nemocnice",
    "Ostatní ambulantní zařízení",
    "Ostatní zdravotnická zařízení",
    "Zdravotní záchranná služba",
    "Zdravotnické středisko"
  ]
}

Municipal Authority

Data about municipal authorities, police, waste collection yards, and other municipal institutions.

Data provider:

Municipal Authorities

GET All Munipacilities
GET/municipal-authorities/{?latlng,range,district,type,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/municipal-authorities/?latlng=50.124935,14.457204&range=5000&district=praha-4&type=municipality&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

type
string (optional) Example: municipality

Filter by group of types of the municipal authorities.

Choices: municipality city-hall

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.464432,
          50.067887
        ]
      },
      "properties": {
        "id": "urad-mestske-casti-praha-10",
        "name": "Úřad městské části Praha 10",
        "address": "Vršovická 68, 101 38 Praha 10",
        "district": "praha-10",
        "telephone": [
          "267 093 111"
        ],
        "email": [
          "posta@praha10.cz"
        ],
        "web": [
          "www.praha10.cz/"
        ],
        "official_board": "http://www.praha10.cz/urad-mc/uredni-deska",
        "type": "municipality",
        "image": {
          "size": 714603,
          "mimetype": "image/png",
          "url": "http://oict-endpoint.development.oict.cz/images/municipal-authorities/VJXPN4RVrTLnkih5.png"
        },
        "opening_hours": [
          {
            "day": "Po",
            "hours": [
              "08:00 - 12:00, 13:00 - 17:30"
            ]
          },
          {
            "day": "St",
            "hours": [
              "08:00 - 12:00, 13:00 - 17:30"
            ]
          },
          {
            "day": "Čt",
            "hours": [
              "08:00 - 12:00 (mimo Odbor sociální, Odbor stavební, Odbor školství a kultury a Odbor životního prostředí, dopravy a rozvoje)"
            ]
          }
        ],
        "agendas": [
          {
            "description": "Pronajímá bytové a nebytové prostory",
            "keywords": [
              "pronájem",
              "byt",
              "pronájem bytu",
              "nebytové prostory"
            ]
          },
          {
            "description": "Provádí autorizovanou konverzi dokumentů",
            "keywords": []
          },
          {
            "description": "Provádí ověřování shody opisu nebo kopie s listinou a ověřování pravosti podpisu",
            "keywords": []
          }
        ]
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.4012036,
          50.10041
        ]
      },
      "properties": {
        "id": "urad-mestske-casti-praha-6",
        "name": "Úřad městské části Praha 6",
        "address": "Čs. armády 601/23, 160 00 Praha 6",
        "district": "praha-6",
        "telephone": [
          "220 189 111 (ústředna)",
          "220 189 562 (Informační kancelář ÚMČ)",
          "220 189 820 (Živnostenský odbor)",
          "220 189 809 (Odbor evid. obyvatel a osobních dokladů)"
        ],
        "email": [
          "podatelna@praha6.cz",
          "info2@praha6.cz"
        ],
        "web": [
          "www.praha6.cz"
        ],
        "official_board": null,
        "type": "municipality",
        "image": {
          "size": 714603,
          "mimetype": "image/png",
          "url": "http://oict-endpoint.development.oict.cz/images/municipal-authorities/VJXPN4RVrTLnkih5.png"
        },
        "opening_hours": [
          {
            "day": "Po",
            "hours": [
              "08:00 - 18:00"
            ]
          },
          {
            "day": "St",
            "hours": [
              "08:00 - 18:00"
            ]
          }
        ],
        "agendas": [
          {
            "description": "Pronajímá bytové a nebytové prostory",
            "keywords": [
              "pronájem",
              "byt",
              "pronájem bytu",
              "nebytové prostory"
            ]
          },
          {
            "description": "Provádí autorizovanou konverzi dokumentů",
            "keywords": []
          },
          {
            "description": "Provádí ověřování shody opisu nebo kopie s listinou a ověřování pravosti podpisu",
            "keywords": []
          }
        ]
      }
    }
  ]
}

Municipal Authority

GET Munipacility
GET/municipal-authorities/{municipality_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/municipal-authorities/urad-mestske-casti-praha-10
URI Parameters
HideShow
municipality_id
string (required) Example: urad-mestske-casti-praha-10

Identifier of the municipality.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.464432,
      50.067887
    ]
  },
  "properties": {
    "id": "urad-mestske-casti-praha-10",
    "name": "Úřad městské části Praha 10",
    "address": "Vršovická 68, 101 38 Praha 10",
    "district": "praha-10",
    "telephone": [
      "267 093 111"
    ],
    "email": [
      "posta@praha10.cz"
    ],
    "web": [
      "www.praha10.cz/"
    ],
    "official_board": "http://www.praha10.cz/urad-mc/uredni-deska",
    "type": "municipality",
    "opening_hours": [
      {
        "day": "Po",
        "hours": [
          "08:00 - 12:00, 13:00 - 17:30"
        ]
      },
      {
        "day": "St",
        "hours": [
          "08:00 - 12:00, 13:00 - 17:30"
        ]
      },
      {
        "day": "Čt",
        "hours": [
          "08:00 - 12:00 (mimo Odbor sociální, Odbor stavební, Odbor školství a kultury a Odbor životního prostředí, dopravy a rozvoje)"
        ]
      }
    ],
    "image": {
      "size": 714603,
      "mimetype": "image/png",
      "url": "http://oict-endpoint.development.oict.cz/images/municipal-authorities/VJXPN4RVrTLnkih5.png"
    },
    "agendas": [
      {
        "description": "Pronajímá bytové a nebytové prostory",
        "keywords": [
          "pronájem",
          "byt",
          "pronájem bytu",
          "nebytové prostory"
        ]
      },
      {
        "description": "Provádí autorizovanou konverzi dokumentů",
        "keywords": []
      },
      {
        "description": "Provádí ověřování shody opisu nebo kopie s listinou a ověřování pravosti podpisu",
        "keywords": []
      }
    ]
  }
}
Response  404

Municipal Authority Waiting Queues

GET All Municipal Authority Waiting Queues
GET/municipal-authorities/{municipality_id}/queues

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/municipal-authorities/skoduv-palac/queues
URI Parameters
HideShow
municipality_id
string (required) Example: skoduv-palac

Identifier of the municipality.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
    "last_updated": "2018-09-10T11:29:00.000Z",
    "municipal_authority_id": "skoduv-palac",
    "served_activities": [
        {
            "activity": "OSV:Žádosti, formuláře, konzultace, schůzky a informace odborů MHMP",
            "number_of_person_in_queue": 0,
            "number_of_serving_counters": 4
        },
        {
            "activity": "Pokladna",
            "number_of_person_in_queue": 0,
            "number_of_serving_counters": 0
        },
        {
            "activity": "Lítačka: Vyhotovovení karty (žádost o 1.kartu, reklamace, duplikáty, konec platnosti)",
            "number_of_persons_in_queue": 162,
            "number_of_serving_counters": 6,
        }
    ],
    "title": "Monitoring odbavování klientů ve Škodově paláci"
}

Waste Collection Yards

GET All Waste Collection Yards
GET/waste-collection-yards/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/waste-collection-yards/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.374998969,
          50.097273359
        ]
      },
      "properties": {
        "id": 1,
        "name": "Sběrný dvůr hlavního města Prahy Proboštská",
        "operator": "Pražské služby a.s.",
        "type": "SDHMP",
        "address": "Proboštská 1, Praha 6 - Dejvice",
        "contact": "736518204",
        "operating_hours": "Po - Pá 8:30 - 18:00 hod., 8:30 - 17:00 hod. v zimním období, So 8:30 - 15:00 hod.",
        "district": "praha-6",
        "properties": [
          {
            "key": "ODPADPRIJEM",
            "value": "objemný odpad (nábytek, zařízení domácnosti), kovy, dřevo, odpad z údržby zeleně, suť z bytových úprav, papír, sklo, plasty, nebezpečné odpady, pneumatiky, použitý textil, obuv a oděvy"
          },
          {
            "key": "ODPADOMEZENI",
            "value": "omezení jednorázového návozu – možný vjezd vozidel max.do 3,5 t; suť z bytových úprav do 1m3 zdarma, pneumatiky – od 25 Kč za ks"
          },
          {
            "key": "NEBEZPODPADPRIJEM",
            "value": "rozpouštědla,kyseliny,zásady,fotochemikálie,pesticidy,zářivky a jiný odp. s obsahem rtuti,olej a tuk kromě jedlého,barvy,lepidla,pryskyřice,detergenty obsahující nebezp.látky (čist.prostředky),nepoužitelná léčiva,baterie,akumulátory"
          },
          {
            "key": "ZPETNYODBER",
            "value": "elektrická a elektronická zařízení (např. lednice, pračky, sporáky, malé spotřebiče, TV, PC, rádia, zářivky, výbojky, nástroje, hračky)"
          },
          {
            "key": "PLATBAODPAD",
            "value": "zdarma pro občany s trvalým pobytem na území hl.m. Prahy; vždy je nutno se prokázat platným občanským průkazem"
          },
          {
            "key": "PLATBANEBEZPODPAD",
            "value": "zdarma pro občany s trvalým pobytem na území hl.m. Prahy; vždy je nutno se prokázat platným občanským průkazem"
          },
          {
            "key": "POZNAMKA",
            "value": "ve stabilních sběrnách nebezpečných odpadů zřízených v rámci Sběrných dvorů hl. m. Prahy jsou zářivky a výbojky odebírány v rámci zpětného odběru"
          }
        ]
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.448325142,
          50.083895989
        ]
      },
      "properties": {
        "id": 2,
        "name": "Stabilní sběrna nebezpečných odpadů - Areál společnosti Pražské služby, a.s.",
        "operator": "Pražské služby a.s.",
        "type": "SSNO",
        "address": "Vlkova 35, Praha 3",
        "contact": "284 091 042, M: 737 277 675",
        "operating_hours": "Od ledna 2016: Po, Út, Čt, Pá: 6.00 - 14.00 hod., St: 6:00-17:00 hod. ",
        "district": "praha-3",
        "properties": [
          {
            "key": "NEBEZPODPADPRIJEM",
            "value": "rozpouštědla,kyseliny,zásady,fotochemikálie,pesticidy,zářivky a jiný odp. s obsahem rtuti,olej a tuk kromě jedlého,barvy,lepidla,pryskyřice,detergenty obsahující nebezp.látky (čist.prostředky),nepoužitelná léčiva,baterie,akumulátory"
          },
          {
            "key": "PLATBANEBEZPODPAD",
            "value": "zdarma pro občany s trvalým pobytem na území hl.m. Prahy; vždy je nutno se prokázat platným občanským průkazem"
          }
        ]
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.463087355,
          50.0657476530001
        ]
      },
      "properties": {
        "id": 3,
        "name": "Stabilní sběrna nebezpečných odpadů - Areál společnosti Pražské služby, a.s.",
        "operator": "Pražské služby a.s.",
        "type": "SSNO",
        "address": "Moskevská 418, Praha 10 - Vršovice",
        "contact": "603 883 185, 603 428 770",
        "operating_hours": "Od ledna 2016: Po,út,čt,pá: 6:00 – 14:00 hod., St: 6:00 – 17:00 hod.",
        "district": "praha-10",
        "properties": [
          {
            "key": "NEBEZPODPADPRIJEM",
            "value": "rozpouštědla,kyseliny,zásady,fotochemikálie,pesticidy,zářivky a jiný odp. s obsahem rtuti,olej a tuk kromě jedlého,barvy,lepidla,pryskyřice,detergenty obsahující nebezp.látky (čist.prostředky),nepoužitelná léčiva,baterie,akumulátory"
          },
          {
            "key": "PLATBANEBEZPODPAD",
            "value": "zdarma pro občany s trvalým pobytem na území hl.m. Prahy; vždy je nutno se prokázat platným občanským průkazem"
          }
        ]
      }
    }
  ]
}

Waste Collection Yard

GET Waste Collection Yard
GET/waste-collection-yards/{yard_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/waste-collection-yards/1
URI Parameters
HideShow
yard_id
number (required) Example: 1

Identifier of the collection yard.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.374998969,
      50.097273359
    ]
  },
  "properties": {
    "id": 1,
    "name": "Sběrný dvůr hlavního města Prahy Proboštská",
    "operator": "Pražské služby a.s.",
    "district": "praha-6",
    "type": "SDHMP",
    "address": "Proboštská 1, Praha 6 - Dejvice",
    "contact": "736518204",
    "operating_hours": "Po - Pá 8:30 - 18:00 hod., 8:30 - 17:00 hod. v zimním období, So 8:30 - 15:00 hod.",
    "properties": [
      {
        "key": "ODPADPRIJEM",
        "value": "objemný odpad (nábytek, zařízení domácnosti), kovy, dřevo, odpad z údržby zeleně, suť z bytových úprav, papír, sklo, plasty, nebezpečné odpady, pneumatiky, použitý textil, obuv a oděvy"
      },
      {
        "key": "ODPADOMEZENI",
        "value": "omezení jednorázového návozu – možný vjezd vozidel max.do 3,5 t; suť z bytových úprav do 1m3 zdarma, pneumatiky – od 25 Kč za ks"
      },
      {
        "key": "NEBEZPODPADPRIJEM",
        "value": "rozpouštědla,kyseliny,zásady,fotochemikálie,pesticidy,zářivky a jiný odp. s obsahem rtuti,olej a tuk kromě jedlého,barvy,lepidla,pryskyřice,detergenty obsahující nebezp.látky (čist.prostředky),nepoužitelná léčiva,baterie,akumulátory"
      },
      {
        "key": "ZPETNYODBER",
        "value": "elektrická a elektronická zařízení (např. lednice, pračky, sporáky, malé spotřebiče, TV, PC, rádia, zářivky, výbojky, nástroje, hračky)"
      },
      {
        "key": "PLATBAODPAD",
        "value": "zdarma pro občany s trvalým pobytem na území hl.m. Prahy; vždy je nutno se prokázat platným občanským průkazem"
      },
      {
        "key": "PLATBANEBEZPODPAD",
        "value": "zdarma pro občany s trvalým pobytem na území hl.m. Prahy; vždy je nutno se prokázat platným občanským průkazem"
      },
      {
        "key": "POZNAMKA",
        "value": "ve stabilních sběrnách nebezpečných odpadů zřízených v rámci Sběrných dvorů hl. m. Prahy jsou zářivky a výbojky odebírány v rámci zpětného odběru"
      }
    ]
  }
}
Response  404

Waste Collection Yards Properties

GET Waste Collection Yard Properties
GET/waste-collection-yards/properties

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/waste-collection-yards/properties
Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
[
  {
    "key": "ODPADPRIJEM",
    "title": "Odebíraný odpad"
  },
  {
    "key": "ODPADOMEZENI",
    "title": "Omezení"
  },
  {
    "key": "NEBEZPODPADPRIJEM",
    "title": "Odebíraný nebezpečný odpad"
  },
  {
    "key": "ZPETNYODBER",
    "title": "Zpětně odebírané výrobky"
  },
  {
    "key": "PLATBAODPAD",
    "title": "Poplatek za odpad"
  },
  {
    "key": "PLATBANEBEZPODPAD",
    "title": "Poplatek za nebezpčný odpad"
  },
  {
    "key": "POZNAMKA",
    "title": "Poznámka"
  }
]

Sorted Waste Stations

Station accessibility enum:

  • 1 volně

  • 2 obyvatelům domu

Trash types enum:

  • 1 Barevné sklo

  • 2 Elektrozařízení

  • 3 Kovy

  • 4 Nápojové kartóny

  • 5 Papír

  • 6 Plast

  • 7 Čiré sklo

  • 8 Textil

Container types:

  • 1100 NPU Okřínek SV

  • 1100 mini H SV

  • 1100 normální HV

  • 120 normální HV

  • 1500 M 1,5 SV

  • 2000 NPU Okřínek SV

  • 2150 MEVA SV

  • 240 normální HV

  • 2500 Reflex SV

  • 3000 Podzemní SV

  • 3200 Reflex SV

  • 3200 Schaffer SV

  • 3300 GFA DUO SV

  • 3350 Atomium Reflex SV

  • 4000 Podzemní SV

Cleaning Frequency:

  • četnost vývozu (1.hodnota = délka období, 2.hodnota = četnost vývozu, např.13 = 3x za 1 týden, 61 = 1x za 6 týdnů)

GET All Sorted Waste Stations
GET/sorted-waste-stations/{?latlng,range,district,accessibility,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/sorted-waste-stations/?latlng=50.124935,14.457204&range=5000&district=praha-4&accessibility=1&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

accessibility
string (optional) Example: 1

Filter by accessibility id.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.4652034170001,
          50.0670424130001
        ]
      },
      "properties": {
        "id": 1521,
        "station_number": "0010/ 171",
        "name": "Tádžická 1424/2",
        "district": "praha-10",
        "accessibility": {
          "description": "volně",
          "id": 1
        },
        "containers": [
          {
            "trash_type": {
              "description": "Nápojové kartóny",
              "id": 4
            },
            "cleaning_frequency": 21,
            "container_type": "1100 normální HV"
          },
          {
            "trash_type": {
              "description": "Papír",
              "id": 5
            },
            "cleaning_frequency": 13,
            "container_type": "1100 normální HV"
          },
          {
            "trash_type": {
              "description": "Barevné sklo",
              "id": 1
            },
            "cleaning_frequency": 21,
            "container_type": "1500 M 1,5 SV"
          },
          {
            "trash_type": {
              "description": "Plast",
              "id": 6
            },
            "cleaning_frequency": 14,
            "container_type": "1100 normální HV"
          },
          {
            "trash_type": {
              "description": "Textil",
              "id": 8
            },
            "cleaning_frequency": null,
            "container_type": null,
            "company": {
              "phone": "224 316 800, 491 524 342",
              "email": "diakonie@diakoniebroumov.org",
              "web": "http://www.diakoniebroumov.org",
              "name": "Diakonie Broumov"
            },
            "description": "u stanoviště separace"
          }
        ]
      }
    }
  ],
  "type": "FeatureCollection"
}

Sorted Waste Station

GET Sorted Waste Station
GET/sorted-waste-stations/{station_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/sorted-waste-stations/1521
URI Parameters
HideShow
station_id
number (required) Example: 1521

Identifier of the station.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.4652034170001,
      50.0670424130001
    ]
  },
  "properties": {
    "id": 1521,
    "station_number": "0010/ 171",
    "name": "Tádžická 1424/2",
    "district": "praha-10",
    "accessibility": {
      "description": "volně",
      "id": 1
    },
    "containers": [
      {
        "trash_type": {
          "description": "Nápojové kartóny",
          "id": 4
        },
        "cleaning_frequency": 21,
        "container_type": "1100 normální HV"
      },
      {
        "trash_type": {
          "description": "Papír",
          "id": 5
        },
        "cleaning_frequency": 13,
        "container_type": "1100 normální HV"
      },
      {
        "trash_type": {
          "description": "Barevné sklo",
          "id": 1
        },
        "cleaning_frequency": 21,
        "container_type": "1500 M 1,5 SV"
      },
      {
        "trash_type": {
          "description": "Plast",
          "id": 6
        },
        "cleaning_frequency": 14,
        "container_type": "1100 normální HV"
      },
      {
        "trash_type": {
          "description": "Textil",
          "id": 8
        },
        "cleaning_frequency": null,
        "container_type": null,
        "company": {
          "phone": "224 316 800, 491 524 342",
          "email": "diakonie@diakoniebroumov.org",
          "web": "http://www.diakoniebroumov.org",
          "name": "Diakonie Broumov"
        },
        "description": "u stanoviště separace"
      }
    ]
  }
}
Response  404

Municipal Police Stations

GET All Municipal Police Stations
GET/municipal-police-stations/{?latlng,range,district,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/municipal-police-stations/?latlng=50.124935,14.457204&range=5000&district=praha-4&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

district
string (optional) Example: praha-4

Filter by Prague city districts (slug) separated by comma. Not used if latlng and range are set.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.43279476,
          50.0916233950001
        ]
      },
      "properties": {
        "id": 2,
        "address": "Lodecká 1206/2, Nové Město, 110 00 Praha-Praha 1, Česko",
        "cadastral_area": "Nové Město",
        "district": "praha-1",
        "note": "Přestupky, dvě pracoviště"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.417930154,
          50.087115354
        ]
      },
      "properties": {
        "id": 3,
        "address": "Mariánské nám. 2/2, Staré Město, 110 00 Praha-Praha 1, Česko",
        "cadastral_area": "Staré Město",
        "district": "praha-1",
        "note": "Okr"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.4204245010001,
          50.083576351
        ]
      },
      "properties": {
        "id": 4,
        "address": "Uhelný trh 415/10, Staré Město, 110 00 Praha-Praha 1, Česko",
        "cadastral_area": "Staré Město",
        "district": "praha-1",
        "note": "Okr"
      }
    }
  ]
}

Municipal Police Station

GET Municipal Police Station
GET/municipal-police-stations/{station_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/municipal-police-stations/2
URI Parameters
HideShow
station_id
number (required) Example: 2

Identifier of the municipal police station.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.43279476,
      50.0916233950001
    ]
  },
  "properties": {
    "id": 2,
    "address": "Lodecká 1206/2, Nové Město, 110 00 Praha-Praha 1, Česko",
    "cadastral_area": "Nové Město",
    "district": "praha-1",
    "note": "Přestupky, dvě pracoviště"
  }
}
Response  404

My Prague

Data about news around Prague and other general information for the My Prague application.

Data provider:

News from Prague

GET All News
GET/news-from-prague/{?limit,offset,types}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/news-from-prague/?limit=10&offset=0&types=news,emergency
URI Parameters
HideShow
limit
number (optional) Example: 10

Limits number of retrieved items.

offset
number (optional) Example: 0

Number of the first items that are skipped.

types
string (optional) Example: news,emergency

Filter by types (One or more types separated by comma).

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
[
  {
    "id": "bistro-na-louzi-v-budove-nove-radnice",
    "title": "Bistro Na Louži v budově Nové radnice prochází rekonstrukcí",
    "url": "http://www.praha.eu/jnp/cz/o_meste/magistrat/tiskovy_servis/aktuality_z_prahy/bistro_na_louzi_v_budove_nove_radnice.html",
    "type": "news",
    "image": {
      "caption": "Bistro na pražském magistrátu nově provozuje sociální podnik Startujeme",
      "url": "http://oict-endpoint.development.oict.cz/images/news/dk7l_8F2pN7pyjcs.jpg",
      "size": 130917,
      "mimetype": "image/jpeg"
    },
    "published": "2017-09-21T00:00:00.000Z",
    "perex": "",
    "body": "<p>Bistro Na Louži v budově Nové radnice na Mariánském náměstí bude od 7. srpna 2017 z důvodu rekonstrukce uzavřeno. Předpokládaná délka rekonstrukce je zhruba tři měsíce, léto je nejlepší termín, kdy nutné práce udělat. O ukončení rekonstrukce a dalších novinkách budeme prostřednictvím webového portálu hlavního města včas informovat.,</p><p>Za vzniklé komplikace se omlouváme.</p>"
  },
  {
    "id": "centrum-vysocan-se-stane-opravdovym",
    "title": "Centrum Vysočan se stane opravdovým náměstím",
    "url": "http://www.praha.eu/jnp/cz/o_meste/magistrat/tiskovy_servis/aktuality_z_prahy/centrum_vysocan_se_stane_opravdovym.html",
    "type": "news",
    "image": {
      "caption": "náměstí OSN ve Vysočanech",
      "url": "http://oict-endpoint.development.oict.cz/images/news/dk7l_8F2pN7pyjcs.jpg",
      "size": 130917,
      "mimetype": "image/jpeg"
    },
    "published": "2017-09-19T00:00:00.000Z",
    "perex": "Radní hl. m. Prahy schválili studii, která povede ke zkvalitnění náměstí OSN ve Vysočanech. Studie z dílny Institutu plánování a rozvoje hl. m. Prahy (IPR) navrhuje nové přechody, chodníky, lavičky nebo stromy. Zastávky MHD budou bezbariérové, nádraží se lépe propojí s MHD. Rekonstrukce by mohla začít v roce 2020.",
    "body": "<p><em>„Vysočany se začínají stavebně rozvíjet a nemají žádné centrální náměstí, kde by se místní mohli potkávat. Věřím, že návrhy ve studii napomůžou náměstí oživit a učinit z něj příjemné místo nejen pro místní obyvatele,“</em> říká Petra Kolínská, náměstkyně primátorky a radní pro územní rozvoj.</p><p>Tramvajovou trať v ulici Sokolovská – Kolbenova čeká rekonstrukce. Spolu s tím se promění i přilehlá veřejná prostranství. Dnes není jednoznačné, kde náměstí OSN vlastně končí. Mnozí za náměstí považují zdejší park, jiní plochu dnešní křižovatky, do níž ústí pět ulic: Sokolovská, Freyova, Kolbenova, Pod Pekárnami a Jandova. Přesunutím tramvajové smyčky z křižovatky do ulice Pod Pekárnami se uvolní plocha pro nové náměstí v pravém slova smyslu. Tramvajová smyčka byla v navržené poloze vedena už v předválečném období. Parkování zůstane zachováno, ale přibydou zde předzahrádky, chodníky a stromy.</p><p><em>„Plánované změny by měly usnadnit pohyb chodců i cyklistů. Zároveň by se díky odstranění bariér a zvýšení bezpečnosti měli lidé cítit příjemněji, a o to nám hlavně jde,“</em> vysvětluje Ondřej Boháč, ředitel IPR Praha.</p><p>Podle návrhu by měla také vzniknout nová tramvajová zastávka přímo na náměstí. Přestup mezi tramvajemi, autobusy a metrem tak bude přímý a krátký. Navrhované bezbariérové úpravy, nové přechody a bezpečnostní ostrůvky výrazně zlepší podmínky pro chodce. Jízdní pruhy pro cyklisty na hlavních ulicích a nové přejezdy na hlavních a plánovaných páteřních trasách zase usnadní pohyb cyklistům. Chodníky pokryje nový povrch odpovídající významu lokality, v ulicích pak přibydou lavičky a stromy.</p><p>Projekt nyní přebírá magistrátní Odbor strategických investic. Realizovat se bude v jednotlivých etapách, hlavní stavební práce by mohly začít v roce 2020. Odhadované náklady jsou 370 milionů korun bez DPH.</p><p>Do přípravy studie byla zapojena veřejnost a příslušné instituce a organizace. Více informací na: <a href=\"http://www.iprpraha.cz/namestiosn\">www.iprpraha.cz/namestiosn</a>.</p><p>&nbsp;</p>"
  }
]

Detail of News from Prague

GET News Detail
GET/news-from-prague/{news_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/news-from-prague/elektrobusy-budou-jezdit-z-palmovky-do-letnan
URI Parameters
HideShow
news_id
string (required) Example: elektrobusy-budou-jezdit-z-palmovky-do-letnan

Identifier of the news.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "id": "elektrobusy-budou-jezdit-z-palmovky-do-letnan",
  "title": "Elektrobusy budou jezdit z Palmovky do Letňan",
  "url": "http://www.praha.eu/jnp/cz/o_meste/magistrat/tiskovy_servis/aktuality_z_prahy/elektrobusy_budou_jezdit_z_palmovky_do.html",
  "type": "news",
  "image": {
    "caption": "Ilustrační obrázek: Elektrobus",
    "url": "http://oict-endpoint.development.oict.cz/images/news/I4-eBTHPBK86nvNf.jpg",
    "size": 595168,
    "mimetype": "image/jpeg"
  },
  "published": "2017-09-18T00:00:00.000Z",
  "perex": "Dopravní podnik hl. m. Prahy (DPP) zahájil výstavbu trolejového vedení v Prosecké ulici. Po dokončení bude dráha sloužit pro testování elektrobusů s dynamickým dobíjením. Je to další etapa na cestě k ekologičtější MHD v hlavním městě.",
  "body": "DPP již v letech 2015 – 2017 testoval staticky dobíjené elektrobusy v obratišti Želivského. U páteřních linek s velkou přepravní poptávkou cestujících by bylo nutné při použití elektrobusů se statickým nabíjením (pouze při stání v obratištích) prodloužit nabíjecí přestávky. Testování provozu elektrobusů s dynamickým dobíjením však bude pro DPP novinkou. K samotnému dynamickému dobíjení dojde maximálně na 15 % z celkového testovaného úseku. Tento úsek byl vybrán kvůli velmi prudkému kopci, který by jinak mohl bateriím limitovat jejich životnost."
}
Response  404

Other City Mobile and Web Applications

GET All Other City Mobile and Web Application
GET/other-applications

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/other-applications
Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
[
  {
    "id": "na-kole-prahou",
    "name": "Na kole Prahou.",
    "description": "Nový plánovač tras specializovaný na městkou cyklistiku vám pomůže objevit skvělé trasy do práce, do školy a kamkoliv na kole potřebujete. Jako jediný cykloplánovač na světě vám Na kole Prahou najde i intermodální trasy kombinující jízdu na kole s jízdou vlakem, metrem nebo tramvají.",
    "links": [
      {
        "type": "web",
        "url": "https://nakoleprahou.cz/plan.php"
      },
      {
        "type": "android",
        "url": "https://play.google.com/store/apps/details?id=com.umotional.ucpraha"
      },
      {
        "type": "ios",
        "url": "https://itunes.apple.com/cz/app/na-kole-prahou/id1213867293"
      }
    ],
    "image": {
      "url": "https://nakoleprahou.cz/img/web_logo.png"
    }
  },
  {
    "id": "bezpecnost-praha-eu",
    "name": "Bezpečnostní portál Magistrátu hl. m. Prahy",
    "description": "",
    "links": [
      {
        "type": "web",
        "url": "https://bezpecnost.praha.eu"
      }
    ],
    "image": {
      "url": "https://bezpecnost.praha.eu/styles/img/logo.svg"
    }
  }
]

Other City Mobile and Web Application

GET Other City Mobile and Web Application
GET/other-applications/{app_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/other-applications/na-kole-prahou
URI Parameters
HideShow
app_id
string (required) Example: na-kole-prahou

Identifier of other city application.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "id": "na-kole-prahou",
  "name": "Na kole Prahou.",
  "description": "Nový plánovač tras specializovaný na městkou cyklistiku vám pomůže objevit skvělé trasy do práce, do školy a kamkoliv na kole potřebujete. Jako jediný cykloplánovač na světě vám Na kole Prahou najde i intermodální trasy kombinující jízdu na kole s jízdou vlakem, metrem nebo tramvají.",
  "links": [
    {
      "type": "web",
      "url": "https://nakoleprahou.cz/plan.php"
    },
    {
      "type": "android",
      "url": "https://play.google.com/store/apps/details?id=com.umotional.ucpraha"
    },
    {
      "type": "ios",
      "url": "https://itunes.apple.com/cz/app/na-kole-prahou/id1213867293"
    }
  ],
  "image": {
    "url": "https://nakoleprahou.cz/img/web_logo.png"
  }
}
Response  404

Culture

Data about cultural events around Prague and about theaters with the city’s support.

Data provider:

Cultural Events

GET All Cultural Events
GET/cultural-events/{?limit,offset,types}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/cultural-events/?limit=10&offset=0&types=tips,others
URI Parameters
HideShow
limit
number (optional) Example: 10

Limits number of retrieved items.

offset
number (optional) Example: 0

Number of the first items that are skipped.

types
string (optional) Example: tips,others

Filter by types (One or more types separated by comma).

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
[
  {
    "id": "stimul-festival",
    "title": "STIMUL festival",
    "url": "www.stimul-festival.cz",
    "image": {
      "caption": "STIMUL festival",
      "size": 19483,
      "mimetype": "image/jpeg",
      "url": "http://oict-endpoint.development.oict.cz/images/cultural_events/IOGhi1BFU3pYOVSh.jpg"
    },
    "end_date": "2017-10-06T00:00:00.000Z",
    "start_date": "2017-10-06T00:00:00.000Z",
    "perex": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere nunc sit amet nunc blandit pharetra. Cras sit amet erat ante. Suspendisse potenti.",
    "body": "<p>estibulum erat lacus, luctus sit amet enim nec, imperdiet pellentesque nisl. Nunc ut ligula facilisis, egestas urna et, semper felis. </p>",
    "where": null,
    "price": null,
    "type": "tips"
  },
  {
    "id": "dny-bohuslava-martinu-2017",
    "title": "Dny Bohuslava Martinů 2017",
    "url": "www.martinu.cz",
    "image": {
      "caption": "Dny Bohuslava Martinů 2017",
      "size": 19483,
      "mimetype": "image/jpeg",
      "url": "http://oict-endpoint.development.oict.cz/images/cultural_events/IOGhi1BFU3pYOVSh.jpg"
    },
    "end_date": "2017-10-06T00:00:00.000Z",
    "start_date": "2017-10-06T00:00:00.000Z",
    "perex": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere nunc sit amet nunc blandit pharetra. Cras sit amet erat ante. Suspendisse potenti.",
    "body": "<p>estibulum erat lacus, luctus sit amet enim nec, imperdiet pellentesque nisl. Nunc ut ligula facilisis, egestas urna et, semper felis. </p>",
    "where": "Lichtenštejnský palác, Sál Martinů",
    "price": "zdarma",
    "type": "others"
  }
]

Cultural Event

GET Cultural Event
GET/cultural-events/{event_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/cultural-events/chilli-fest
URI Parameters
HideShow
event_id
string (required) Example: chilli-fest

Identifier of the cultural event.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "id": "chilli-fest",
  "title": "CHILLI FEST",
  "url": "http://foodevent.cz/",
  "start_date": "2017-09-29T00:00:00.000Z",
  "end_date": "2017-09-29T00:00:00.000Z",
  "perex": "2.ročník Chilli festu je tady! Nejpálivější festival roku vás zavede do světa těch nejostřejších papriček.",
  "body": "V sobotu 30.9. přijďte na Smíchovskou náplavku a ochutnejte chilli pokrmy, nakupte si sazeničky, extrakty nebo sušené chilli a koření. Během festivalu vám představíme také různé druhy papriček. Od klasické maďarské papriky, přes feferonky, Jalapeno, Piri piri, Habanero, Tabasco, Ancho až po nejpálivější chilli na světě – Carolina Reaper. Součástí festivalu bude i trh s pálivými omáčkami, kořením a bylinkami. Připraven je pestrý hudební a doprovodný program. Vyvrcholením Chilli festu bude Soutěž v pojídání chilli papriček!!! Vyzkoušejte, co opravdu vydržíte a zasoutěžte si o zajímavé ceny.",
  "image": {
    "caption": "chillifest",
    "url": "http://oict-endpoint.development.oict.cz/images/cultural_events/6ty3CvbDG4Xuw9Jn.png",
    "size": 4607,
    "mimetype": "image/png"
  },
  "where": null,
  "price": null,
  "type": "tips"
}
Response  404

For Mobile App Only

Shared Bikes

GET All Shared Bikes
GET/shared-bikes/{?latlng,range,limit,offset}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/shared-bikes/?latlng=50.124935,14.457204&range=5000&limit=10&offset=0
URI Parameters
HideShow
latlng
string (optional) Example: 50.124935,14.457204

Sorting by location (Latitude and Longitude separated by comma).

range
number (optional) Example: 5000

Filter by distance from latlng in meters (range query). Depends on the latlng parameter.

limit
number (optional) Example: 10

Limits number of retrieved items. Not used if latlng and range are set.

offset
number (optional) Example: 0

Number of the first items that are skipped. Not used if latlng and range are set.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
    "features": [
        {
            "geometry": {
                "coordinates": [
                    14.4093565,
                    50.1103393
                ],
                "type": "Point"
            },
            "properties": {
                "company": {
                    "name": "Rekola",
                    "web": "www.rekola.cz"
                },
                "id": "rekola-411",
                "in_rack": true,
                "label": "",
                "location_note": "Městské stojany u TK Sparta Praha",
                "name": "Thor",
                "res_url": "https://app.rekola.cz/",
                "type": {
                    "description": "bike",
                    "id": 1
                }
            },
            "type": "Feature"
        },
        {
            "geometry": {
                "coordinates": [
                    14.564625,
                    50.1086030556
                ],
                "type": "Point"
            },
            "properties": {
                "company": {
                    "name": "HOMEPORT",
                    "web": "prague.freebike.com"
                },
                "estimated_trip_length_in_km": -462.5,
                "id": "homeport-78",
                "in_rack": true,
                "label": "",
                "location_note": null,
                "name": "0076",
                "res_url": "https://freebike.app.link?bikeId=78&system=praha",
                "type": {
                    "description": "ebike",
                    "id": 2
                }
            },
            "type": "Feature"
        },
    ],
    "type": "FeatureCollection"
}

Shared Bike

GET Shared Bike
GET/shared-cars/{bike_id}

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/shared-cars/rekola-411
URI Parameters
HideShow
bike_id
string (required) Example: rekola-411

Identifier of the car.

Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "geometry": {
    "coordinates": [
      14.4093565,
      50.1103393
    ],
    "type": "Point"
  },
  "properties": {
    "company": {
      "name": "Rekola",
      "web": "www.rekola.cz"
    },
    "id": "rekola-411",
    "in_rack": true,
    "label": "",
    "location_note": "Městské stojany u TK Sparta Praha",
    "name": "Thor",
    "res_url": "https://app.rekola.cz/",
    "type": {
      "description": "bike",
      "id": 1
    }
  },
  "type": "Feature"
}
Response  404

Under Construction

Incident Reporting

Report a new Incident
POST/incident-reports

UNDER CONSTRUCTION

Example URI

POST http://private-b2c96-mojeprahaapi.apiary-mock.com/incident-reports
Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Body
{
  "description": "Papíry, plasty a plechovky v zeleni u chodníku. Dále by bylo vhodné tento prostor vyčistit od suché trávy.",
  "category": "public-space",
  "location": {
    "address": "Bieblova 23, 150 00 Praha 5, Česko",
    "coordinates": [
      14.399223,
      50.066302
    ]
  },
  "image": {
    "format": "image/png",
    "data": "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="
  },
  "created": "2018-03-23T15:17:05.00Z",
  "author": {
    "wants_to_be_informed": true,
    "first_name": "John",
    "last_name": "Doe",
    "email": "john@doe.com"
  }
}
Response  201
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "id": 1,
  "state": "new",
  "description": "Papíry, plasty a plechovky v zeleni u chodníku. Dále by bylo vhodné tento prostor vyčistit od suché trávy.",
  "category": "public-space",
  "location": {
    "address": "Bieblova 23, 150 00 Praha 5, Česko",
    "coordinates": [
      14.399223,
      50.066302
    ]
  },
  "image": {
    "size": 1948,
    "mimetype": "image/png",
    "url": "http://oict-endpoint.development.oict.cz/images/problemas_and_failures/IOGhi1BFU3pYOVSh.jpg"
  },
  "created": "2018-03-23T15:17:05.000Z"
}
Schema
{}
Response  422
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "error_code": "422",
  "error_message": "Validation failed."
}

GET All Incident Reports
GET/incident-reports

UNDER CONSTRUCTION

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/incident-reports
Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          14.399223,
          50.066302
        ]
      },
      "properties": {
        "id": 1,
        "state": "accepted",
        "description": "Papíry, plasty a plechovky v zeleni u chodníku. Dále by bylo vhodné tento prostor vyčistit od suché trávy.",
        "category": "public-space",
        "address": "Bieblova 23, 150 00 Praha 5, Česko",
        "image": {
          "size": 1948,
          "mimetype": "image/png",
          "url": "http://oict-endpoint.development.oict.cz/images/problemas_and_failures/IOGhi1BFU3pYOVSh.jpg"
        },
        "created": "2018-03-23T15:17:05.000Z",
        "modified": "2018-03-23T15:35:42.000Z"
      }
    }
  ]
}
Schema
{}

Incident Report

GET an Incident Report
GET/incident-reports/{id}

UNDER CONSTRUCTION

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/incident-reports/1
URI Parameters
HideShow
id
number (required) Example: 1
Request
HideShow
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      14.399223,
      50.066302
    ]
  },
  "properties": {
    "id": 1,
    "state": "accepted",
    "description": "Papíry, plasty a plechovky v zeleni u chodníku. Dále by bylo vhodné tento prostor vyčistit od suché trávy.",
    "category": "public-space",
    "address": "Bieblova 23, 150 00 Praha 5, Česko",
    "image": {
      "size": 1948,
      "mimetype": "image/png",
      "url": "http://oict-endpoint.development.oict.cz/images/problemas_and_failures/IOGhi1BFU3pYOVSh.jpg"
    },
    "created": "2018-03-23T15:17:05.000Z",
    "modified": "2018-03-23T15:35:42.000Z"
  }
}
Schema
{}
Response  404

Categories of Incidents

GET All Categories
GET/incident-report-categories

UNDER CONSTRUCTION

Example URI

GET http://private-b2c96-mojeprahaapi.apiary-mock.com/incident-report-categories
Request
HideShow
Headers
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Response  200
HideShow
Headers
Content-Type: application/json; charset=utf-8
Body
[
  {
    "id": "public-space",
    "description": "Veřejný prostor"
  },
  {
    "id": "transport",
    "description": "Doprava"
  },
  {
    "id": "greenery",
    "description": "Zeleň"
  }
]
Schema
{}

Generated by aglio on 19 Mar 2024