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

  1. Back4App
  2. USA Cities by State
Public

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

All CTS

This GraphQL query fetches All CTS


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 allCTS {
      cTS (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          containingState {
            id
          }
          country
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "cTS": {
      "results": [
        {
          "ACL": null,
          "adminCode": "CT",
          "cityId": 4831764,
          "containingState": {
            "id": "tC3LV8KpB4"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:39:24.924Z",
          "featureCode": "PPL",
          "id": "RRwsisdZ1r",
          "location": {
            "latitude": 41.7701,
            "longitude": -72.30508
          },
          "muni": "17800",
          "name": "South Coventry",
          "population": 1483,
          "updatedAt": "2019-12-11T12:39:24.924Z"
        },
        {
          "ACL": null,
          "adminCode": "CT",
          "cityId": 4831766,
          "containingState": {
            "id": "tC3LV8KpB4"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:39:24.924Z",
          "featureCode": "PPL",
          "id": "rbQqXhqODT",
          "location": {
            "latitude": 41.90871,
            "longitude": -72.7601
          },
          "muni": "68940",
          "name": "Tariffville",
          "population": 1324,
          "updatedAt": "2019-12-11T12:39:24.924Z"
        },
        {
          "ACL": null,
          "adminCode": "CT",
          "cityId": 4832353,
          "containingState": {
            "id": "tC3LV8KpB4"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:39:24.924Z",
          "featureCode": "PPL",
          "id": "cPXM45S3ZF",
          "location": {
            "latitude": 41.39482,
            "longitude": -73.45401
          },
          "muni": "18500",
          "name": "Danbury",
          "population": 84657,
          "updatedAt": "2019-12-11T12:39:24.924Z"
        }
      ]
    }
  }
}