The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. 🇧🇬 Bulgaria
Public

12
21
12
21
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Cities

This GraphQL query fetches All Cities


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
query allCities {
      cities (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          country
          countryCode
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "cities": {
      "results": [
        {
          "ACL": null,
          "adminCode": "58",
          "cityId": 725283,
          "country": "Bulgaria",
          "countryCode": "BG",
          "createdAt": "2019-12-12T18:54:51.268Z",
          "featureCode": "PPL",
          "id": "P22fWFrLjS",
          "location": {
            "latitude": 42.71667,
            "longitude": 24.13333
          },
          "muni": null,
          "name": "Zlatitsa",
          "population": 5786,
          "updatedAt": "2019-12-12T18:54:51.268Z"
        },
        {
          "ACL": null,
          "adminCode": "39",
          "cityId": 725816,
          "country": "Bulgaria",
          "countryCode": "BG",
          "createdAt": "2019-12-12T18:54:51.269Z",
          "featureCode": "PPL",
          "id": "BFox5vwGAI",
          "location": {
            "latitude": 42.7136,
            "longitude": 27.75867
          },
          "muni": "BGS15-02",
          "name": "Sveti Vlas",
          "population": 3875,
          "updatedAt": "2019-12-12T18:54:51.269Z"
        },
        {
          "ACL": null,
          "adminCode": "52",
          "cityId": 725435,
          "country": "Bulgaria",
          "countryCode": "BG",
          "createdAt": "2019-12-12T18:54:51.268Z",
          "featureCode": "PPLA2",
          "id": "l5tYeXSX9r",
          "location": {
            "latitude": 43.76036,
            "longitude": 26.68063
          },
          "muni": null,
          "name": "Zavet",
          "population": 3589,
          "updatedAt": "2019-12-12T18:54:51.268Z"
        }
      ]
    }
  }
}