← Tools Reference

Positionstack

Positionstack integration (Location, Data). Imported from open-connector.

API key2 toolshttps://api.positionstack.com/v1
GET
positionstack_forward_geocode
Convert an address or place query into Positionstack geocoding results.

/forward

10 parameters
ParamTypeRequiredDescription
querystringrequiredThe address, place, latitude/longitude pair, or IP address to geocode.
countrystringoptionalComma-separated 2- or 3-letter country codes used to restrict results.
regionstringoptionalRegion filter such as a state, county, or city name.
languagestringoptionalPreferred response language code, such as en or de.
limitintegeroptionalMaximum number of results to return, from 1 to 80.
fieldsarrayoptionalOptional response field paths to include, such as results.latitude or results.l…
country_modulebooleanoptionalWhether to include extended country metadata in each result.
sun_modulebooleanoptionalWhether to include sunrise, sunset, and solar metadata in each result.
timezone_modulebooleanoptionalWhether to include timezone metadata in each result.
bbox_modulebooleanoptionalWhether to include bounding box coordinates in each result.
GET
positionstack_reverse_geocode
Convert coordinates or an IP address into Positionstack reverse geocoding results.

/reverse

10 parameters
ParamTypeRequiredDescription
querystringrequiredLatitude and longitude formatted as latitude,longitude, or an IP address to rev…
countrystringoptionalComma-separated 2- or 3-letter country codes used to restrict results.
regionstringoptionalRegion filter such as a state, county, or city name.
languagestringoptionalPreferred response language code, such as en or de.
limitintegeroptionalMaximum number of results to return, from 1 to 80.
fieldsarrayoptionalOptional response field paths to include, such as results.latitude or results.l…
country_modulebooleanoptionalWhether to include extended country metadata in each result.
sun_modulebooleanoptionalWhether to include sunrise, sunset, and solar metadata in each result.
timezone_modulebooleanoptionalWhether to include timezone metadata in each result.
bbox_modulebooleanoptionalWhether to include bounding box coordinates in each result.