US Census Bureau · Example Payload

Census Geocoder Onelineaddress Example

Geocode the Census Bureau headquarters address using the public benchmark.

GovernmentFederalDemographicsStatisticsEconomicsGeospatialOpen DataPublic Sector

Census Geocoder Onelineaddress Example is an example object payload from US Census Bureau, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationdescriptionrequestresponse

Example Payload

Raw ↑
{
  "operation": "locationsOnelineAddress",
  "description": "Geocode the Census Bureau headquarters address using the public benchmark.",
  "request": {
    "method": "GET",
    "url": "https://geocoding.geo.census.gov/geocoder/locations/onelineaddress?address=4600+Silver+Hill+Rd,+Washington,+DC+20233&benchmark=Public_AR_Current&format=json"
  },
  "response": {
    "result": {
      "input": {
        "address": {"address": "4600 Silver Hill Rd, Washington, DC 20233"},
        "benchmark": {
          "isDefault": false,
          "benchmarkDescription": "Public Address Ranges - Current Benchmark",
          "id": "4",
          "benchmarkName": "Public_AR_Current"
        }
      },
      "addressMatches": [
        {
          "tigerLine": {"side": "L", "tigerLineId": "76355984"},
          "coordinates": {"x": -76.92744, "y": 38.84601},
          "addressComponents": {
            "fromAddress": "4600",
            "toAddress": "4698",
            "preQualifier": "",
            "preDirection": "",
            "preType": "",
            "streetName": "SILVER HILL",
            "suffixType": "RD",
            "suffixDirection": "",
            "suffixQualifier": "",
            "city": "WASHINGTON",
            "state": "DC",
            "zip": "20233"
          },
          "matchedAddress": "4600 SILVER HILL RD, WASHINGTON, DC, 20233"
        }
      ]
    }
  }
}