Skip to main content

AddressSuggestion

Represents a single address suggestion returned from the geocoding API. Used for autocomplete functionality to help users find and select valid addresses.

type AddressSuggestion {
city: String
country: String
countryCode: String
houseNumber: String
latitude: Float!
longitude: Float!
name: String!
street: String
zipCode: String
}

Fields​

AddressSuggestion.city ● String scalar​

City name extracted from the address. Example: "Berlin"

AddressSuggestion.country ● String scalar​

Country name extracted from the address. Example: "Germany"

AddressSuggestion.countryCode ● String scalar​

ISO 3166-1 alpha-2 country code. Example: "DE"

AddressSuggestion.houseNumber ● String scalar​

House number extracted from the address. Example: "10"

AddressSuggestion.latitude ● Float! non-null scalar​

Latitude coordinate of the address. Used for map display and distance calculations.

AddressSuggestion.longitude ● Float! non-null scalar​

Longitude coordinate of the address. Used for map display and distance calculations.

AddressSuggestion.name ● String! non-null scalar​

Full formatted address as returned by the geocoding service. Example: "Hauptstraße 10, 10827 Berlin, Germany"

AddressSuggestion.street ● String scalar​

Street name extracted from the address. Example: "Hauptstraße"

AddressSuggestion.zipCode ● String scalar​

Postal/ZIP code extracted from the address. Example: "10827"

Returned By​

addressSuggestions query