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

  1. Back4App
  2. πŸ‡¨πŸ‡± Chile
Public

12
13
12
13
  • 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": "06",
          "cityId": 3870282,
          "country": "Chile",
          "countryCode": "CL",
          "createdAt": "2019-12-12T19:07:59.361Z",
          "featureCode": "PPL",
          "id": "ItOUgjjnGP",
          "location": {
            "latitude": -36.72494,
            "longitude": -73.11684
          },
          "muni": "08110",
          "name": "Talcahuano",
          "population": 252968,
          "updatedAt": "2019-12-12T19:07:59.361Z"
        },
        {
          "ACL": null,
          "adminCode": "08",
          "cityId": 3871276,
          "country": "Chile",
          "countryCode": "CL",
          "createdAt": "2019-12-12T19:07:59.361Z",
          "featureCode": "PPL",
          "id": "cX3rmd0p5H",
          "location": {
            "latitude": -34.43859,
            "longitude": -71.07751
          },
          "muni": "06117",
          "name": "San Vicente de Tagua Tagua",
          "population": 29560,
          "updatedAt": "2019-12-12T19:07:59.361Z"
        },
        {
          "ACL": null,
          "adminCode": "06",
          "cityId": 3869657,
          "country": "Chile",
          "countryCode": "CL",
          "createdAt": "2019-12-12T19:07:59.361Z",
          "featureCode": "PPL",
          "id": "2IMgTTF3qB",
          "location": {
            "latitude": -36.61756,
            "longitude": -72.95593
          },
          "muni": "08111",
          "name": "TomΓ©",
          "population": 46698,
          "updatedAt": "2019-12-12T19:07:59.361Z"
        }
      ]
    }
  }
}