← Tools Reference

OpenCage

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

API key3 toolshttps://api.opencagedata.com
GET
opencage_geocode_forward
Convert an address or place name into OpenCage geocoding results.

/geocode/v1/json

11 parameters
ParamTypeRequiredDescription
qstringrequiredAddress or free-form query string to geocode.
limitintegeroptionalMaximum number of results to return, from 1 to 100.
boundsstringoptionalBounding box bias formatted as west,south,east,north.
languagestringoptionalPreferred response language code.
proximitystringoptionalBias results near a latitude,longitude point.
countrycodestringoptionalComma-separated ISO 3166-1 alpha-2 country codes used to restrict results.
abbrvbooleanoptionalWhether to abbreviate road and route names.
add_requestbooleanoptionalWhether to include the original request in the response.
no_annotationsbooleanoptionalWhether to omit annotations such as timezone or currency details.
prettybooleanoptionalWhether to pretty-print the JSON response.
min_confidenceintegeroptionalMinimum confidence score allowed for returned results, from 1 to 10.
GET
opencage_geocode_reverse
Convert a latitude and longitude pair into OpenCage reverse geocoding results.

/geocode/v1/json

9 parameters
ParamTypeRequiredDescription
qstringrequiredLatitude and longitude formatted as latitude,longitude.
languagestringoptionalPreferred response language code.
roadinfobooleanoptionalWhether to include road information in the response.
abbrvbooleanoptionalWhether to abbreviate road and route names.
add_requestbooleanoptionalWhether to include the original request in the response.
no_annotationsbooleanoptionalWhether to omit annotations such as timezone or currency details.
prettybooleanoptionalWhether to pretty-print the JSON response.
min_confidenceintegeroptionalMinimum confidence score allowed for returned results, from 1 to 10.
normalizecitybooleanoptionalWhether to normalize city names in the response.
GET
opencage_geocode_geojson
Return OpenCage geocoding results in GeoJSON FeatureCollection format.

/geocode/v1/geojson

12 parameters
ParamTypeRequiredDescription
qstringrequiredAddress or free-form query string to geocode.
limitintegeroptionalMaximum number of results to return, from 1 to 100.
boundsstringoptionalBounding box bias formatted as west,south,east,north.
languagestringoptionalPreferred response language code.
proximitystringoptionalBias results near a latitude,longitude point.
countrycodestringoptionalComma-separated ISO 3166-1 alpha-2 country codes used to restrict results.
abbrvbooleanoptionalWhether to abbreviate road and route names.
add_requestbooleanoptionalWhether to include the original request in the response.
no_annotationsbooleanoptionalWhether to omit annotations such as timezone or currency details.
prettybooleanoptionalWhether to pretty-print the JSON response.
min_confidenceintegeroptionalMinimum confidence score allowed for returned results, from 1 to 10.
roadinfobooleanoptionalWhether to include road information in the response.