AACFlow

Google Maps

Geocoding, directions, places, and distance calculations

Usage Instructions

Integrate Google Maps Platform APIs into your workflow. Supports geocoding addresses to coordinates, reverse geocoding, getting directions between locations, calculating distance matrices, searching for places, retrieving place details, elevation data, and timezone information.

Tools

google_maps_air_quality

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
latnumberYesNo description
lngnumberYesNo description
languageCodestringNoLanguage code for the response (e.g., "en", "es")
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
dateTimestringTimestamp of the air quality data
regionCodestringRegion code for the location
indexesarrayArray of air quality indexes
codestringIndex code (e.g., "uaqi", "usa_epa")
displayNamestringDisplay name of the index
aqinumberAir quality index value
aqiDisplaystringFormatted AQI display string
colorobjectRGB color for the AQI level
categorystringCategory description (e.g., "Good", "Moderate")
dominantPollutantstringThe dominant pollutant
pollutantsarrayArray of pollutant concentrations
codestringPollutant code (e.g., "pm25", "o3")
displayNamestringDisplay name
fullNamestringFull pollutant name
concentrationobjectConcentration info
valuenumberConcentration value
unitsstringUnits (e.g., "PARTS_PER_BILLION")
additionalInfoobjectAdditional info about sources and effects
healthRecommendationsobjectHealth recommendations for different populations

google_maps_directions

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
originstringYesNo description
destinationstringYesNo description
modestringNoNo description
avoidstringNoNo description
waypointsjsonNoNo description
unitsstringNoNo description
languagestringNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
routesarrayAll available routes
summarystringRoute summary (main road names)
legsarrayRoute legs (segments between waypoints)
overviewPolylinestringEncoded polyline for the entire route
warningsarrayRoute warnings
waypointOrderarrayOptimized waypoint order (if requested)
distanceTextstringTotal distance as human-readable text (e.g., "5.2 km")
distanceMetersnumberTotal distance in meters
durationTextstringTotal duration as human-readable text (e.g., "15 mins")
durationSecondsnumberTotal duration in seconds
startAddressstringResolved starting address
endAddressstringResolved ending address
stepsarrayTurn-by-turn navigation instructions
instructionstringNavigation instruction (HTML stripped)
distanceTextstringStep distance as text
distanceMetersnumberStep distance in meters
durationTextstringStep duration as text
durationSecondsnumberStep duration in seconds
startLocationobjectStep start coordinates
endLocationobjectStep end coordinates
travelModestringTravel mode for this step
maneuverstringManeuver type (turn-left, etc.)
polylinestringEncoded polyline for the primary route

google_maps_distance_matrix

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
originstringYesNo description
destinationsjsonYesNo description
modestringNoNo description
avoidstringNoNo description
unitsstringNoNo description
languagestringNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
originAddressesarrayResolved origin addresses
destinationAddressesarrayResolved destination addresses
rowsarrayDistance matrix rows (one per origin)
elementsarrayElements (one per destination)
distanceTextstringDistance as text (e.g., "5.2 km")
distanceMetersnumberDistance in meters
durationTextstringDuration as text (e.g., "15 mins")
durationSecondsnumberDuration in seconds
durationInTrafficTextstringDuration in traffic as text
durationInTrafficSecondsnumberDuration in traffic in seconds
statusstringElement status (OK, NOT_FOUND, ZERO_RESULTS)

google_maps_elevation

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
latnumberYesNo description
lngnumberYesNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
elevationnumberElevation in meters above sea level (negative for below)
latnumberLatitude of the elevation sample
lngnumberLongitude of the elevation sample
resolutionnumberMaximum distance between data points (meters) from which elevation was interpolated

google_maps_geocode

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
addressstringYesNo description
languagestringNoNo description
regionstringNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
formattedAddressstringThe formatted address string
latnumberLatitude coordinate
lngnumberLongitude coordinate
locationjsonLocation object with lat and lng
placeIdstringGoogle Place ID for this location
addressComponentsarrayDetailed address components
longNamestringFull name of the component
shortNamestringAbbreviated name
typesarrayComponent types
locationTypestringLocation accuracy type (ROOFTOP, RANGE_INTERPOLATED, etc.)

google_maps_geolocate

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
homeMobileCountryCodenumberNoNo description
homeMobileNetworkCodenumberNoNo description
radioTypestringNoNo description
carrierstringNoNo description
considerIpbooleanNoNo description
cellTowersarrayNoArray of cell tower objects with cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode
wifiAccessPointsarrayNoArray of WiFi access point objects with macAddress (required), signalStrength, etc.
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
latnumberLatitude coordinate
lngnumberLongitude coordinate
accuracynumberAccuracy radius in meters

google_maps_place_details

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
placeIdstringYesNo description
fieldsstringNoNo description
languagestringNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
placeIdstringplaceId output from the tool
namestringPlace name
formattedAddressstringFormatted street address
latnumberLatitude coordinate
lngnumberLongitude coordinate
typesarrayPlace types (e.g., restaurant, cafe)
ratingnumberAverage rating (1.0 to 5.0)
userRatingsTotalnumberTotal number of user ratings
priceLevelnumberPrice level (0=Free, 1=Inexpensive, 2=Moderate, 3=Expensive, 4=Very Expensive)
websitestringPlace website URL
phoneNumberstringLocal formatted phone number
internationalPhoneNumberstringInternational formatted phone number
openNowbooleanWhether the place is currently open
weekdayTextarrayOpening hours formatted by day of week
reviewsarrayUser reviews (up to 5 most relevant)
authorNamestringReviewer name
authorUrlstringReviewer profile URL
profilePhotoUrlstringReviewer photo URL
ratingnumberRating given (1-5)
textstringReview text
timenumberReview timestamp (Unix epoch)
relativeTimeDescriptionstringRelative time (e.g., "a month ago")
photosarrayPlace photos
photoReferencestringPhoto reference for Place Photos API
heightnumberPhoto height in pixels
widthnumberPhoto width in pixels
htmlAttributionsarrayRequired attributions
urlstringGoogle Maps URL for the place
utcOffsetnumberUTC offset in minutes
vicinitystringSimplified address (neighborhood/street)
businessStatusstringBusiness status (OPERATIONAL, CLOSED_TEMPORARILY, CLOSED_PERMANENTLY)

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
querystringYesSearch query (e.g., "restaurants in Times Square")
locationjsonNoNo description
radiusnumberNoNo description
typestringNoNo description
languagestringNoNo description
regionstringNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
placesarrayList of places found
placeIdstringGoogle Place ID
namestringPlace name
formattedAddressstringFormatted address
latnumberLatitude
lngnumberLongitude
typesarrayPlace types
ratingnumberAverage rating (1-5)
userRatingsTotalnumberNumber of ratings
priceLevelnumberPrice level (0-4)
openNowbooleanWhether currently open
photoReferencestringPhoto reference for Photos API
businessStatusstringBusiness status
nextPageTokenstringToken for fetching the next page of results

google_maps_reverse_geocode

Convert geographic coordinates (latitude and longitude) into a human-readable address

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
latnumberYesNo description
lngnumberYesNo description
languagestringNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
formattedAddressstringThe formatted address string
placeIdstringGoogle Place ID for this location
addressComponentsarrayDetailed address components
longNamestringFull name of the component
shortNamestringAbbreviated name
typesarrayComponent types
typesarrayAddress types (e.g., street_address, route)

google_maps_snap_to_roads

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
pathstringYesPipe-separated list of lat,lng coordinates (e.g., "60.170880,24.942795|60.170879,24.942796")
interpolatebooleanNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
snappedPointsarrayArray of snapped points on roads
locationobjectSnapped location coordinates
latnumberLatitude
lngnumberLongitude
originalIndexnumberIndex in the original path (if not interpolated)
placeIdstringPlace ID for this road segment
warningMessagestringWarning message if any (e.g., if points could not be snapped)

google_maps_speed_limits

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
pathstringNoNo description
placeIdsarrayNoNo description

Output

ParameterTypeDescription
speedLimitsarrayArray of speed limits for road segments
placeIdstringPlace ID for the road segment
speedLimitnumberSpeed limit value
unitsstringSpeed limit units (KPH or MPH)
snappedPointsarrayArray of snapped points corresponding to the speed limits
locationobjectSnapped location coordinates
latnumberLatitude
lngnumberLongitude
originalIndexnumberIndex in the original path
placeIdstringPlace ID for this road segment

google_maps_timezone

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
latnumberYesNo description
lngnumberYesNo description
timestampnumberNoNo description
languagestringNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
timeZoneIdstringIANA timezone ID (e.g., "America/New_York", "Europe/London")
timeZoneNamestringLocalized timezone name (e.g., "Eastern Daylight Time")
rawOffsetnumberUTC offset in seconds (without DST)
dstOffsetnumberDaylight Saving Time offset in seconds (0 if not in DST)
totalOffsetSecondsnumberTotal UTC offset in seconds (rawOffset + dstOffset)
totalOffsetHoursnumberTotal UTC offset in hours (e.g., -5 for EST, -4 for EDT)

google_maps_validate_address

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
addressstringYesNo description
regionCodestringNoISO 3166-1 alpha-2 country code (e.g., "US", "CA")
localitystringNoNo description
enableUspsCassbooleanNoNo description
pricingper_requestNoNo description
rateLimitstringNoNo description

Output

ParameterTypeDescription
formattedAddressstringThe standardized formatted address
latnumberLatitude coordinate
lngnumberLongitude coordinate
placeIdstringGoogle Place ID for this address
addressCompletebooleanWhether the address is complete and deliverable
hasUnconfirmedComponentsbooleanWhether some address components could not be confirmed
hasInferredComponentsbooleanWhether some components were inferred (not in input)
hasReplacedComponentsbooleanWhether some components were replaced with canonical values
validationGranularitystringGranularity of validation (PREMISE, SUB_PREMISE, ROUTE, etc.)
geocodeGranularitystringGranularity of the geocode result
addressComponentsarrayDetailed address components
longNamestringFull name of the component
shortNamestringAbbreviated name
typesarrayComponent types
missingComponentTypesarrayTypes of address components that are missing
unconfirmedComponentTypesarrayTypes of components that could not be confirmed
unresolvedTokensarrayInput tokens that could not be resolved

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started