Address Components
¶ Address Components
Address Components represent the individual components that form an address. Many of the Maps APIs endpoints return address components in the response object.
Following is the definition for each available address component.
| Component | Description |
|---|---|
| COUNTRY | Represents the country, i.e., United States, USA, US, etc. |
| FEDERATED_STATE | Typically the first level of administrative division below the country level. In the US, this would be a state, ie., “California”. In Canada, this would be a province, ie., “Ontario” |
| CITY | Represents the hierarchical level which is commonly referred to as a city. i.e., in the US, we have “San Francisco” i.e., in Brasil, we have “Rio de Janeiro” |
| NEIGHBORHOOD | Represents the component commonly referred to as a neighborhood, i.e., in the US, we have “Mission Bay” |
| POSTAL_CODE | Represents the component corresponding to that country’s postal code, i.e., in the US, we have “94158” |
| STREET_NAME | Represents a street name, i.e., in the US, we have “Third Street” |
| HOUSE_NUMBER | Represents a street/house number, ie., in the US, we have “1655” |
| UNIT | Represents a unit/apartment/room number, ie., in the US, we have “101” |