New to Corsair? See API access, authentication, and error handling.
Geocode
fromAddress
geocode.fromAddress
Get the Placekey plus latitude/longitude and precision (geocode.location, geocode.location_type) for an address. Uses two lookups.
Risk: read
POST /v1/placekey with options.fields including geocode. geocode.location has lat and lng (not longitude); location_type is ROOFTOP, PARCEL, APPROXIMATE or RANGE_INTERPOLATED. Costs two lookups.
placeMetadata full type
placeMetadata full type
normalized_address full type
normalized_address full type
geocode full type
geocode full type
Placekey
fromAddress
placekey.fromAddress
Get the Placekey for a street address, optionally with a place name for a point of interest. Needs region and country plus city or postal code.
Risk: read
POST /v1/placekey with an address query.
placeMetadata full type
placeMetadata full type
normalized_address full type
normalized_address full type
geocode full type
geocode full type
fromCoordinates
placekey.fromCoordinates
Get the Where part of a Placekey (the hexagon, e.g. @5vg-82n-kzz) for a latitude and longitude.
Risk: read
POST /v1/placekey with latitude and longitude only. Returns just the Where part, e.g. @5vg-82n-kzz.
Output
normalized_address full type
normalized_address full type
geocode full type
geocode full type
get
placekey.get
Get the Placekey for one place from any mix of name, address, coordinates and business details (phone, website, NAICS/MCC code, store id). fields adds address/building Placekeys, confidence, normalized address, geocode, parcel ids and GERS. A query that cannot be matched comes back with error instead of placekey.
Risk: read
POST /v1/placekey. Minimum input is a street address with region and country (plus city or postal code), or latitude and longitude. A place name (locationName) gives the point-of-interest Placekey (What@Where); placeMetadata (phone, website, NAICS/MCC code, store id) improves the match.
placeMetadata full type
placeMetadata full type
normalized_address full type
normalized_address full type
geocode full type
geocode full type
Placekeys
bulk
placekeys.bulk
Get Placekeys for up to 100 places in one request. Each query counts as a lookup; answers come back in order with query_id.
Risk: read
POST /v1/placekeys with up to 100 queries and one fields list for all of them. Placekey’s docs ask that the queries share one country code. Unnamed queries get query_id “0”, “1”, … by position.
queries full type
queries full type
object[]
Output full type
Output full type