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

  1. Back4App
  2. USA Cities by State
Public

84
247
84
247
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All MAS

This GraphQL query fetches All MAS


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
query allMAS {
      mAS (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          containingState {
            id
          }
          country
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "mAS": {
      "results": [
        {
          "ACL": null,
          "adminCode": "MA",
          "cityId": 4832176,
          "containingState": {
            "id": "sPjSpZJwLn"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:41:13.998Z",
          "featureCode": "PPL",
          "id": "cr6KsjbIjD",
          "location": {
            "latitude": 41.57844,
            "longitude": -70.55864
          },
          "muni": "23105",
          "name": "East Falmouth",
          "population": 6038,
          "updatedAt": "2019-12-11T12:41:13.998Z"
        },
        {
          "ACL": null,
          "adminCode": "MA",
          "cityId": 4832294,
          "containingState": {
            "id": "sPjSpZJwLn"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:41:13.998Z",
          "featureCode": "PPL",
          "id": "5Za8ixW1ov",
          "location": {
            "latitude": 42.40843,
            "longitude": -71.01199
          },
          "muni": "56585",
          "name": "Revere",
          "population": 53422,
          "updatedAt": "2019-12-11T12:41:13.998Z"
        },
        {
          "ACL": null,
          "adminCode": "MA",
          "cityId": 4832272,
          "containingState": {
            "id": "sPjSpZJwLn"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:41:13.998Z",
          "featureCode": "PPL",
          "id": "AIjBFNaB2r",
          "location": {
            "latitude": 42.6987,
            "longitude": -71.13506
          },
          "muni": "46365",
          "name": "North Andover",
          "population": 28222,
          "updatedAt": "2019-12-11T12:41:13.998Z"
        }
      ]
    }
  }
}