{ "info": { "_postman_id": "3cd92646-0f8c-48f3-b61d-a7fd65d78d73", "name": "LocationIQ Collection v1.5.0", "description": "LocationIQ provides flexible enterprise-grade location based solutions. We work with developers, startups and enterprises worldwide serving billions of requests everyday.\n\nEach request to LocationIQ's APIs or Map tiles needs to be authenticated with a token (also known as a key or an access token). Read more about it at https://locationiq.com/docs\n", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Search / Forward Geocoding", "item": [ { "name": "Free-form query", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/search?key={{Your_API_Key}}&q=Empire State Building&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "search" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Key" }, { "key": "q", "value": "Empire State Building", "description": "Free-form query string to search for. Commas are optional, but improves performance by reducing the complexity of the search. Do not combine with structured/postalcode parameters" }, { "key": "format", "value": "json", "description": "Output Format [json | xml]" }, { "key": "viewbox", "value": "-132.84908,47.69382,-70.44674,30.82531", "description": "The preferred area to find search results. Any two corner points of the box - max_lon,max_lat,min_lon,min_lat or min_lon,min_lat,max_lon,max_lat - are accepted in any order as long as they span a real box. To restrict results to those within the viewbox, use along with the bounded option.", "disabled": true }, { "key": "bounded", "value": "None", "description": "Restrict the results to only items contained with the viewbox", "disabled": true }, { "key": "addressdetails", "value": "1", "description": "Include a breakdown of the address into elements. Defaults to 0", "disabled": true }, { "key": "limit", "value": "10", "description": "Limit the number of returned results. Default is 10. [ 1- 50 ]", "disabled": true }, { "key": "accept-language", "value": "en", "description": "Preferred language order for showing search results, overrides the value specified in the Accept-Language HTTP header. Defaults to en. To use native language for the response when available, use accept-language=native. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. Read more. ", "disabled": true }, { "key": "countrycodes", "value": "us", "description": "Limit search to a list of countries. ", "disabled": true }, { "key": "namedetails", "value": "1", "description": "Include a list of alternative names in the results. These may include language variants, references, operator and brand.", "disabled": true }, { "key": "dedupe", "value": "1", "description": "Sometimes you have several objects in OSM identifying the same place or object in reality. The simplest case is a street being split in many different OSM ways due to different characteristics. Nominatim will attempt to detect such duplicates and only return one match; this is controlled by the dedupe parameter which defaults to 1. Since the limit is, for reasons of efficiency, enforced before and not after de-duplicating, it is possible that de-duplicating leaves you with less results than requested.", "disabled": true }, { "key": "json_callback", "value": "1", "description": "Wrap json output in a callback function (JSONP) i.e. (). Only has an effect for JSON output formats.", "disabled": true }, { "key": "polygon", "value": "", "description": "Output polygon outlines for items found", "disabled": true }, { "key": "polygon_geojson", "value": "", "description": "Output geometry of results in geojson format.", "disabled": true }, { "key": "polygon_kml", "value": "", "description": "Output geometry of results in kml format.", "disabled": true }, { "key": "polygon_svg", "value": "", "description": "Output geometry of results in svg format.", "disabled": true }, { "key": "polygon_text", "value": "", "description": "Output geometry of results as a WKT.", "disabled": true }, { "key": "polygon_threshold", "value": "0.2", "disabled": true }, { "key": "extratags", "value": "0", "description": "Include additional information in the result if available, e.g. wikipedia link, opening hours.", "disabled": true }, { "key": "exclude_place_ids", "value": "", "description": "If you do not want certain OSM objects to appear in the search result, give a comma separated list of the place_ids you want to skip. This can be used to broaden search results. For example, if a previous query only returned a few results, then including those here would cause the search to return other, less accurate, matches (if possible).", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0. [ 0,1 ]", "disabled": true }, { "key": "statecode", "value": "0", "description": "Adds state or province code when available to the statecode key inside the address object. Currently supported for addresses in the USA, Canada and Australia. Defaults to 0 [ 0,1 ]", "disabled": true }, { "key": "matchquality", "value": "1", "description": "Returns additional information about quality of the result in a matchquality object. Read more Defaults to 0 [0,1]", "disabled": true }, { "key": "postaladdress", "value": "1", "description": "Returns address inside the postaladdress key, that is specifically formatted for each country. Currently supported for addresses in Belgium, France, Germany, Italy, Spain and United Kingdom. Defaults to 0", "disabled": true }, { "key": "normalizeaddress", "value": "0", "description": "Makes parsing of the address object easier by returning a predictable and defined list of elements. ( Refer \"https://locationiq.com/docs\" for complete list of elements ) Defaults to 0 for backward compatibility. We recommend setting this to 1 for new projects.", "disabled": true }, { "key": "normalizecity", "value": "0", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true } ] }, "description": "It takes free form query string to search, commas are optional but improves performance by reducing the complexity of the search.\n\n> The Search API allows converting addresses, such as a street address, into geographic coordinates (latitude and longitude). These coordinates can serve various use-cases, from placing markers on a map to helping algorithms determine nearby bus stops. This process is also known as Forward Geocoding" }, "response": [] }, { "name": "Free-form - Limit countries", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/search?key={{Your_API_Key}}&q=Empire State Building&format=json&countrycodes=us", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "search" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Key" }, { "key": "q", "value": "Empire State Building", "description": "Free-form query string to search for. Commas are optional, but improves performance by reducing the complexity of the search. Do not combine with structured/postalcode parameters" }, { "key": "format", "value": "json", "description": "Output Format [json | xml]" }, { "key": "viewbox", "value": "-132.84908,47.69382,-70.44674,30.82531", "description": "The preferred area to find search results. Any two corner points of the box - max_lon,max_lat,min_lon,min_lat or min_lon,min_lat,max_lon,max_lat - are accepted in any order as long as they span a real box. To restrict results to those within the viewbox, use along with the bounded option.", "disabled": true }, { "key": "bounded", "value": "None", "description": "Restrict the results to only items contained with the viewbox", "disabled": true }, { "key": "addressdetails", "value": "1", "description": "Include a breakdown of the address into elements. Defaults to 0", "disabled": true }, { "key": "limit", "value": "10", "description": "Limit the number of returned results. Default is 10. [ 1- 50 ]", "disabled": true }, { "key": "accept-language", "value": "en", "description": "Preferred language order for showing search results, overrides the value specified in the Accept-Language HTTP header. Defaults to en. To use native language for the response when available, use accept-language=native. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. Read more. ", "disabled": true }, { "key": "countrycodes", "value": "us", "description": "Limit search to a list of countries. " }, { "key": "namedetails", "value": "1", "description": "Include a list of alternative names in the results. These may include language variants, references, operator and brand.", "disabled": true }, { "key": "dedupe", "value": "1", "description": "Sometimes you have several objects in OSM identifying the same place or object in reality. The simplest case is a street being split in many different OSM ways due to different characteristics. Nominatim will attempt to detect such duplicates and only return one match; this is controlled by the dedupe parameter which defaults to 1. Since the limit is, for reasons of efficiency, enforced before and not after de-duplicating, it is possible that de-duplicating leaves you with less results than requested.", "disabled": true }, { "key": "json_callback", "value": "1", "description": "Wrap json output in a callback function (JSONP) i.e. (). Only has an effect for JSON output formats.", "disabled": true }, { "key": "polygon", "value": "", "description": "Output polygon outlines for items found", "disabled": true }, { "key": "polygon_geojson", "value": "", "description": "Output geometry of results in geojson format.", "disabled": true }, { "key": "polygon_kml", "value": "", "description": "Output geometry of results in kml format.", "disabled": true }, { "key": "polygon_svg", "value": "", "description": "Output geometry of results in svg format.", "disabled": true }, { "key": "polygon_text", "value": "", "description": "Output geometry of results as a WKT.", "disabled": true }, { "key": "polygon_threshold", "value": "0.2", "description": "When one of the polygon_* outputs is chosen, return a simplified version of the output geometry. The parameter describes the tolerance in degrees with which the geometry may differ from the original geometry. Topology is preserved in the geometry.", "disabled": true }, { "key": "extratags", "value": "0", "description": "Include additional information in the result if available, e.g. wikipedia link, opening hours.", "disabled": true }, { "key": "exclude_place_ids", "value": "", "description": "If you do not want certain OSM objects to appear in the search result, give a comma separated list of the place_ids you want to skip. This can be used to broaden search results. For example, if a previous query only returned a few results, then including those here would cause the search to return other, less accurate, matches (if possible).", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0. [ 0,1 ]", "disabled": true }, { "key": "statecode", "value": "0", "description": "Adds state or province code when available to the statecode key inside the address object. Currently supported for addresses in the USA, Canada and Australia. Defaults to 0 [ 0,1 ]", "disabled": true }, { "key": "matchquality", "value": "1", "description": "Returns additional information about quality of the result in a matchquality object. Read more Defaults to 0 [0,1]", "disabled": true }, { "key": "postaladdress", "value": "1", "description": "Returns address inside the postaladdress key, that is specifically formatted for each country. Currently supported for addresses in Belgium, France, Germany, Italy, Spain and United Kingdom. Defaults to 0", "disabled": true }, { "key": "normalizeaddress", "value": "0", "description": "Makes parsing of the address object easier by returning a predictable and defined list of elements. ( Refer \"https://locationiq.com/docs\" for complete list of elements ) Defaults to 0 for backward compatibility. We recommend setting this to 1 for new projects.", "disabled": true }, { "key": "normalizecity", "value": "0", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true } ] }, "description": "It takes free form query string to search, commas are optional but improves performance by reducing the complexity of the search.\n\n> The Search API allows converting addresses, such as a street address, into geographic coordinates (latitude and longitude). These coordinates can serve various use-cases, from placing markers on a map to helping algorithms determine nearby bus stops. This process is also known as Forward Geocoding" }, "response": [] }, { "name": "Structured query", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/search?key={{Your_API_Key}}&street=20 W 34th St&city=New York&county=New York County&state=New York&country=United States of America&postalcode=10001&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "search" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Key" }, { "key": "street", "value": "20 W 34th St", "description": "Street Number to search for." }, { "key": "city", "value": "New York", "description": "City name to search for." }, { "key": "county", "value": "New York County", "description": "County name to search for." }, { "key": "state", "value": "New York", "description": "State name to search for." }, { "key": "country", "value": "United States of America", "description": "Country name to search for." }, { "key": "postalcode", "value": "10001", "description": "Alternative query string format for postal code requests that uses a special postal code dataset for geocoding. Do not combine with q= or other structured parameters for postal code search. Combine with countrycodes= parameter for a better response" }, { "key": "format", "value": "json", "description": "Output Format [json | xml]" }, { "key": "viewbox", "value": "-132.84908,47.69382,-70.44674,30.82531", "description": "The preferred area to find search results. Any two corner points of the box - max_lon,max_lat,min_lon,min_lat or min_lon,min_lat,max_lon,max_lat - are accepted in any order as long as they span a real box. To restrict results to those within the viewbox, use along with the bounded option.", "disabled": true }, { "key": "bounded", "value": "1", "description": "Restrict the results to only items contained with the viewbox", "disabled": true }, { "key": "addressdetails", "value": "1", "description": "Include a breakdown of the address into elements. Defaults to 0", "disabled": true }, { "key": "limit", "value": "10", "description": "Limit the number of returned results. Default is 10. [ 1- 50 ]", "disabled": true }, { "key": "accept-language", "value": "en", "description": "Preferred language order for showing search results, overrides the value specified in the Accept-Language HTTP header. Defaults to en. To use native language for the response when available, use accept-language=native. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. Read more. ", "disabled": true }, { "key": "countrycodes", "value": "us", "description": "Limit search to a list of countries. ", "disabled": true }, { "key": "namedetails", "value": "1", "description": "Include a list of alternative names in the results. These may include language variants, references, operator and brand.", "disabled": true }, { "key": "dedupe", "value": "1", "description": "Sometimes you have several objects in OSM identifying the same place or object in reality. The simplest case is a street being split in many different OSM ways due to different characteristics. Nominatim will attempt to detect such duplicates and only return one match; this is controlled by the dedupe parameter which defaults to 1. Since the limit is, for reasons of efficiency, enforced before and not after de-duplicating, it is possible that de-duplicating leaves you with less results than requested.", "disabled": true }, { "key": "json_callback", "value": "", "description": "Wrap json output in a callback function (JSONP) i.e. (). Only has an effect for JSON output formats.", "disabled": true }, { "key": "polygon", "value": "", "description": "Output polygon outlines for items found", "disabled": true }, { "key": "polygon_geojson", "value": "", "description": "Output geometry of results in geojson format.", "disabled": true }, { "key": "polygon_kml", "value": "", "description": "Output geometry of results in kml format.", "disabled": true }, { "key": "polygon_svg", "value": "", "description": "Output geometry of results in svg format.", "disabled": true }, { "key": "polygon_text", "value": "", "description": "Output geometry of results as a WKT.", "disabled": true }, { "key": "polygon_threshold", "value": "0.2", "description": "When one of the polygon_* outputs is chosen, return a simplified version of the output geometry. The parameter describes the tolerance in degrees with which the geometry may differ from the original geometry. Topology is preserved in the geometry.", "disabled": true }, { "key": "extratags", "value": "0", "description": "Include additional information in the result if available, e.g. wikipedia link, opening hours.", "disabled": true }, { "key": "exclude_place_ids", "value": "", "description": "If you do not want certain OSM objects to appear in the search result, give a comma separated list of the place_ids you want to skip. This can be used to broaden search results. For example, if a previous query only returned a few results, then including those here would cause the search to return other, less accurate, matches (if possible).", "disabled": true }, { "key": "statecode", "value": "0", "description": "Adds state or province code when available to the statecode key inside the address element. Currently supported for addresses in the USA, Canada and Australia. Defaults to 0", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0. [ 0,1 ]", "disabled": true }, { "key": "matchquality", "value": "0", "description": "Returns additional information about quality of the result in a matchquality object. Read more Defaults to 0 [0,1]", "disabled": true }, { "key": "postaladdress", "value": "0", "description": "Returns address inside the postaladdress key, that is specifically formatted for each country. Currently supported for addresses in Belgium, France, Germany, Italy, Spain and United Kingdom. Defaults to 0", "disabled": true }, { "key": "normalizeaddress", "value": "0", "description": "Makes parsing of the address object easier by returning a predictable and defined list of elements. ( Refer \"https://locationiq.com/docs\" for complete list of elements ) Defaults to 0 for backward compatibility. We recommend setting this to 1 for new projects.", "disabled": true }, { "key": "normalizecity", "value": "0", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true } ] }, "description": "It takes structured address as input.\n\n> The Search API allows converting addresses, such as a street address, into geographic coordinates (latitude and longitude). These coordinates can serve various use-cases, from placing markers on a map to helping algorithms determine nearby bus stops. This process is also known as Forward Geocoding." }, "response": [] }, { "name": "Postal code query", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/search?key={{Your_API_Key}}&postalcode=10001&countrycodes=us&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "search" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Key" }, { "key": "postalcode", "value": "10001", "description": "Alternative query string format for postal code requests that uses a special postal code dataset for geocoding. Do not combine with q= or other structured parameters for postal code search. Combine with countrycodes= parameter for a better response" }, { "key": "countrycodes", "value": "us", "description": "Limit search to a list of countries. " }, { "key": "format", "value": "json", "description": "Output Format [json | xml]" }, { "key": "viewbox", "value": "-132.84908,47.69382,-70.44674,30.82531", "description": "The preferred area to find search results. Any two corner points of the box - max_lon,max_lat,min_lon,min_lat or min_lon,min_lat,max_lon,max_lat - are accepted in any order as long as they span a real box. To restrict results to those within the viewbox, use along with the bounded option.", "disabled": true }, { "key": "bounded", "value": "None", "description": "Restrict the results to only items contained with the viewbox", "disabled": true }, { "key": "addressdetails", "value": "1", "description": "Include a breakdown of the address into elements. Defaults to 0", "disabled": true }, { "key": "accept-language", "value": "en", "description": "Preferred language order for showing search results, overrides the value specified in the Accept-Language HTTP header. Defaults to en. To use native language for the response when available, use accept-language=native. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. Read more. ", "disabled": true }, { "key": "limit", "value": "10", "description": "Limit the number of returned results. Default is 10. [ 1- 50 ]", "disabled": true }, { "key": "namedetails", "value": "1", "description": "Include a list of alternative names in the results. These may include language variants, references, operator and brand.", "disabled": true }, { "key": "dedupe", "value": "1", "description": "Sometimes you have several objects in OSM identifying the same place or object in reality. The simplest case is a street being split in many different OSM ways due to different characteristics. Nominatim will attempt to detect such duplicates and only return one match; this is controlled by the dedupe parameter which defaults to 1. Since the limit is, for reasons of efficiency, enforced before and not after de-duplicating, it is possible that de-duplicating leaves you with less results than requested.", "disabled": true }, { "key": "json_callback", "value": "", "description": "Wrap json output in a callback function (JSONP) i.e. (). Only has an effect for JSON output formats.", "disabled": true }, { "key": "polygon", "value": "1", "description": "Output polygon outlines for items found", "disabled": true }, { "key": "polygon_geojson", "value": "", "description": "Output geometry of results in geojson format.", "disabled": true }, { "key": "polygon_kml", "value": "", "description": "Output geometry of results in kml format.", "disabled": true }, { "key": "polygon_svg", "value": "", "description": "Output geometry of results in svg format.", "disabled": true }, { "key": "polygon_text", "value": "", "description": "Output geometry of results as a WKT.", "disabled": true }, { "key": "polygon_threshold", "value": "0.2", "description": "When one of the polygon_* outputs is chosen, return a simplified version of the output geometry. The parameter describes the tolerance in degrees with which the geometry may differ from the original geometry. Topology is preserved in the geometry.", "disabled": true }, { "key": "extratags", "value": "0", "description": "Include additional information in the result if available, e.g. wikipedia link, opening hours.", "disabled": true }, { "key": "exclude_place_ids", "value": "", "description": "If you do not want certain OSM objects to appear in the search result, give a comma separated list of the place_ids you want to skip. This can be used to broaden search results. For example, if a previous query only returned a few results, then including those here would cause the search to return other, less accurate, matches (if possible).", "disabled": true }, { "key": "statecode", "value": "0", "description": "Adds state or province code when available to the statecode key inside the address element. Currently supported for addresses in the USA, Canada and Australia. Defaults to 0", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0. [ 0,1 ]", "disabled": true }, { "key": "matchquality", "value": "0", "description": "Returns additional information about quality of the result in a matchquality object. Read more Defaults to 0 [0,1]", "disabled": true }, { "key": "postaladdress", "value": "0", "description": "Returns address inside the postaladdress key, that is specifically formatted for each country. Currently supported for addresses in Belgium, France, Germany, Italy, Spain and United Kingdom. Defaults to 0", "disabled": true }, { "key": "normalizeaddress", "value": "0", "description": "Makes parsing of the address object easier by returning a predictable and defined list of elements. ( Refer \"https://locationiq.com/docs\" for complete list of elements ) Defaults to 0 for backward compatibility. We recommend setting this to 1 for new projects.", "disabled": true }, { "key": "normalizecity", "value": "0", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true } ] }, "description": "It takes postalcode & countrycode as input.\n\n> The Search API allows converting addresses, such as a street address, into geographic coordinates (latitude and longitude). These coordinates can serve various use-cases, from placing markers on a map to helping algorithms determine nearby bus stops. This process is also known as Forward Geocoding." }, "response": [] } ], "description": "The Search API allows converting addresses, such as a street address, into geographic coordinates (latitude and longitude). These coordinates can serve various use-cases, from placing markers on a map to helping algorithms determine nearby bus stops. This process is also known as Forward Geocoding", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Reverse Geocoding", "item": [ { "name": "Using Lat & Lon", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/reverse?key={{Your_API_Key}}&lat=40.7487727&lon=-73.9849336&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "reverse" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication key." }, { "key": "lat", "value": "40.7487727", "description": "Latitude of the location to generate an address for." }, { "key": "lon", "value": "-73.9849336", "description": "Longitude of the location to generate an address for." }, { "key": "zoom", "value": "", "description": "Level of detail required where 0 is country and 18 is house/building. Defaults to 18. A lower number increases speed of the server's response. ", "disabled": true }, { "key": "format", "value": "json", "description": "Output Format. Defaults to xml" }, { "key": "addressdetails", "value": "1", "description": "Include a breakdown of the address into elements. Defaults to 1.", "disabled": true }, { "key": "namedetails", "value": "0", "description": "Include a list of alternative names in the results. These may include language variants, references, operator and brand.", "disabled": true }, { "key": "accept_language", "value": "en", "description": "Preferred language order for showing search results, overrides the value specified in the Accept-Language HTTP header. Defaults to en. To use native language for the response when available, use accept-language=native. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. ", "disabled": true }, { "key": "osm_type", "value": "W", "description": "A specific osm type, node / way / relation to search an address for [ N, W , R ], only applicable when neither (lat lon) is present. That is use in combination osm_id and osm_type or lat and lon to get result", "disabled": true }, { "key": "osm_id", "value": "34633869", "description": "A specific osm node / way / relation to return an address for", "disabled": true }, { "key": "json_callback", "value": "", "description": "Wrap json output in a callback function (JSONP) i.e. (). Only has an effect for JSON output formats.", "disabled": true }, { "key": "polygon_geojson", "value": "1", "description": "Output geometry of results in geojson format.", "disabled": true }, { "key": "polygon_kml", "value": "", "description": "Output geometry of results in kml format.", "disabled": true }, { "key": "polygon_svg", "value": "", "description": "Output geometry of results in svg format.", "disabled": true }, { "key": "polygon_text", "value": "", "description": "Output geometry of results as a WKT.", "disabled": true }, { "key": "polygon_threshold", "value": "0.2", "description": "When one of the polygon_* outputs is chosen, return a simplified version of the output geometry. The parameter describes the tolerance in degrees with which the geometry may differ from the original geometry. Topology is preserved in the geometry.", "disabled": true }, { "key": "extratags", "value": "0", "description": "Include additional information in the result if available, e.g. wikipedia link, opening hours.", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0. [ 0,1 ]", "disabled": true }, { "key": "statecode", "value": "0", "description": "Adds state or province code when available to the statecode key inside the address object. Currently supported for addresses in the USA, Canada and Australia. Defaults to 0 [ 0,1 ]", "disabled": true }, { "key": "showdistance", "value": "1", "description": "Returns the straight line distance (meters) between the input location and the result's location. Value is set in the distance key of the response. Defaults to 0 [0,1]", "disabled": true }, { "key": "postaladdress", "value": "0", "description": "Returns address inside the postaladdress key, that is specifically formatted for each country. Currently supported for addresses in Belgium, France, Germany, Italy, Spain and United Kingdom. Defaults to 0", "disabled": true }, { "key": "normalizeaddress", "value": "0", "description": "Makes parsing of the address object easier by returning a predictable and defined list of elements. ( Refer \"https://locationiq.com/docs\" for complete list of elements ) Defaults to 0 for backward compatibility. We recommend setting this to 1 for new projects.", "disabled": true }, { "key": "normalizecity", "value": "0", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true } ] }, "description": "It takes latitude and longitude as input to reverse geocode.\n\n> Reverse geocoding is the process of converting a coordinate or location (latitude, longitude) to a readable address or place name. This permits the identification of nearby street addresses, places, and/or area subdivisions such as a neighborhood, county, state, or country." }, "response": [] } ], "description": "Reverse geocoding is the process of converting a coordinate or location (latitude, longitude) to a readable address or place name. This permits the identification of nearby street addresses, places, and/or area subdivisions such as a neighborhood, county, state, or country.", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Autocomplete API", "item": [ { "name": "General usage", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/autocomplete?key={{Your_API_Key}}&q=Empire State", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "autocomplete" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API key" }, { "key": "q", "value": "Empire State", "description": "Query string to search for" }, { "key": "limit", "value": "10", "description": "Limit the number of returned results. Default is 10.", "disabled": true }, { "key": "viewbox", "value": "-132.84908,47.69382,-70.44674,30.82531", "description": "The preferred area to find search results. Any two corner points of the box - max_lon,max_lat,min_lon,min_lat or min_lon,min_lat,max_lon,max_lat - are accepted in any order as long as they span a real box. Currently, this option in the Autocomplete API only increases weigtage of results inside the viewbox. It does not restrict results to this box.", "disabled": true }, { "key": "bounded", "value": "1", "description": "Restrict result to items contained within the bounds specified in the viewbox parameter [0] [1]", "disabled": true }, { "key": "countrycodes", "value": "us", "description": "Limit search to a list of countries. Example : \"us,ca\", For more info refer https://locationiq.com/docs-html/index.html#country-codes", "disabled": true }, { "key": "json_callback", "value": "", "description": "Wrap json output in a callback function (JSONP) i.e. ()", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true }, { "key": "accept-language", "value": "en", "description": "Preferred language for showing search results. Defaults to en. Unlike Search and Reverse endpoints, the Autocomplete endpoint supports only a single 2 digit language code. The Autocomplete endpoint currently support 7 languages: English en, Dutch nl, French fr, German de, Italian it, Spanish es and Swedish sv.", "disabled": true }, { "key": "tag", "value": "place", "description": "Restricts the autocomplete search results to elements of specific OSM class and type. Now supports multiple tags. Examples :-\n1. To return only cities: tag=place:city\n2. To return only types of place, such as Suburbs, Towns and Cities, use a wildcard: tag=place:*\n3. To restrict results to specific types of place: tag=place:city,place:town,place:village\n4. To restrict results to cafes: tag=amenity:cafe", "disabled": true }, { "key": "dedupe", "value": "0", "description": "Sometimes you have several objects in OSM identifying the same place or object in reality. The simplest case is a street being split in many different OSM ways due to different characteristics. Our Geocoder will attempt to detect such duplicates and only return one match; this is controlled by the dedupe parameter which defaults to 1. Since the limit is, for reasons of efficiency, enforced before and not after de-duplicating, it is possible that de-duplicating leaves you with less results than requested. Defaults to 0 for backward compatibility.", "disabled": true }, { "key": "normalizecity", "value": "0", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true } ] }, "description": "The Autocomplete API is a variant of the Search API that returns place predictions in response to an HTTP request. The request specifies a textual search string and optional geographic bounds. The service can be used to provide autocomplete functionality for text-based geographic searches, by returning places such as businesses, addresses and points of interest as a user types.\n\nThe Autocomplete API can match on full words as well as substrings. Applications can therefore send queries as the user types, to provide on-the-fly place predictions." }, "response": [] }, { "name": "Limit by country code", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/autocomplete?key={{Your_API_Key}}&q=Empire State&countrycodes=fr", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "autocomplete" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API key" }, { "key": "q", "value": "Empire State", "description": "Query string to search for" }, { "key": "limit", "value": "10", "description": "Limit the number of returned results. Default is 10.", "disabled": true }, { "key": "viewbox", "value": "-132.84908,47.69382,-70.44674,30.82531", "description": "The preferred area to find search results. Any two corner points of the box - max_lon,max_lat,min_lon,min_lat or min_lon,min_lat,max_lon,max_lat - are accepted in any order as long as they span a real box. Currently, this option in the Autocomplete API only increases weigtage of results inside the viewbox. It does not restrict results to this box.", "disabled": true }, { "key": "bounded", "value": "", "description": "Restrict result to items contained within the bounds specified in the viewbox parameter [0] [1]", "disabled": true }, { "key": "countrycodes", "value": "fr", "description": "Limit search to a list of countries. Example : \"us,ca\", For more info refer https://locationiq.com/docs-html/index.html#country-codes" }, { "key": "json_callback", "value": "", "description": "Wrap json output in a callback function (JSONP) i.e. ()", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true }, { "key": "accept-language", "value": "en", "description": "Preferred language for showing search results. Defaults to en. Unlike Search and Reverse endpoints, the Autocomplete endpoint supports only a single 2 digit language code. The Autocomplete endpoint currently support 7 languages: English en, Dutch nl, French fr, German de, Italian it, Spanish es and Swedish sv.", "disabled": true }, { "key": "tag", "value": "place", "description": "Restricts the autocomplete search results to elements of specific OSM class and type. Now supports multiple tags. Examples :-\n1. To return only cities: tag=place:city\n2. To return only types of place, such as Suburbs, Towns and Cities, use a wildcard: tag=place:*\n3. To restrict results to specific types of place: tag=place:city,place:town,place:village\n4. To restrict results to cafes: tag=amenity:cafe", "disabled": true }, { "key": "dedupe", "value": "0", "description": "Sometimes you have several objects in OSM identifying the same place or object in reality. The simplest case is a street being split in many different OSM ways due to different characteristics. Our Geocoder will attempt to detect such duplicates and only return one match; this is controlled by the dedupe parameter which defaults to 1. Since the limit is, for reasons of efficiency, enforced before and not after de-duplicating, it is possible that de-duplicating leaves you with less results than requested. Defaults to 0 for backward compatibility.", "disabled": true }, { "key": "normalizecity", "value": "0", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true } ] }, "description": "Limit the place predictions to specific country.\r\n\r\n> The Autocomplete API is a variant of the Search API that returns place predictions in response to an HTTP request. The request specifies a textual search string and optional geographic bounds. The service can be used to provide autocomplete functionality for text-based geographic searches, by returning places such as businesses, addresses and points of interest as a user types.\r\n\r\n> The Autocomplete API can match on full words as well as substrings. Applications can therefore send queries as the user types, to provide on-the-fly place predictions." }, "response": [] }, { "name": "Limit by viewbox", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/autocomplete?key={{Your_API_Key}}&q=Empire State&viewbox=-132.84908,47.69382,-70.44674,30.82531&bounded=1", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "autocomplete" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API key" }, { "key": "q", "value": "Empire State", "description": "Query string to search for" }, { "key": "limit", "value": "10", "description": "Limit the number of returned results. Default is 10.", "disabled": true }, { "key": "viewbox", "value": "-132.84908,47.69382,-70.44674,30.82531", "description": "The preferred area to find search results. Any two corner points of the box - max_lon,max_lat,min_lon,min_lat or min_lon,min_lat,max_lon,max_lat - are accepted in any order as long as they span a real box. Currently, this option in the Autocomplete API only increases weigtage of results inside the viewbox. It does not restrict results to this box." }, { "key": "bounded", "value": "1", "description": "Restrict result to items contained within the bounds specified in the viewbox parameter [0] [1]" }, { "key": "countrycodes", "value": "us", "description": "Limit search to a list of countries. Example : \"us,ca\", For more info refer https://locationiq.com/docs-html/index.html#country-codes", "disabled": true }, { "key": "json_callback", "value": "", "description": "Wrap json output in a callback function (JSONP) i.e. ()", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true }, { "key": "accept-language", "value": "en", "description": "Preferred language for showing search results. Defaults to en. Unlike Search and Reverse endpoints, the Autocomplete endpoint supports only a single 2 digit language code. The Autocomplete endpoint currently support 7 languages: English en, Dutch nl, French fr, German de, Italian it, Spanish es and Swedish sv.", "disabled": true }, { "key": "tag", "value": "place", "description": "Restricts the autocomplete search results to elements of specific OSM class and type. Now supports multiple tags. Examples :-\n1. To return only cities: tag=place:city\n2. To return only types of place, such as Suburbs, Towns and Cities, use a wildcard: tag=place:*\n3. To restrict results to specific types of place: tag=place:city,place:town,place:village\n4. To restrict results to cafes: tag=amenity:cafe", "disabled": true }, { "key": "dedupe", "value": "0", "description": "Sometimes you have several objects in OSM identifying the same place or object in reality. The simplest case is a street being split in many different OSM ways due to different characteristics. Our Geocoder will attempt to detect such duplicates and only return one match; this is controlled by the dedupe parameter which defaults to 1. Since the limit is, for reasons of efficiency, enforced before and not after de-duplicating, it is possible that de-duplicating leaves you with less results than requested. Defaults to 0 for backward compatibility.", "disabled": true }, { "key": "normalizecity", "value": "0", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0.", "disabled": true } ] }, "description": "Specify the preferred area to find search results.\r\n\r\n> The Autocomplete API is a variant of the Search API that returns place predictions in response to an HTTP request. The request specifies a textual search string and optional geographic bounds. The service can be used to provide autocomplete functionality for text-based geographic searches, by returning places such as businesses, addresses and points of interest as a user types.\r\n\r\n> The Autocomplete API can match on full words as well as substrings. Applications can therefore send queries as the user types, to provide on-the-fly place predictions." }, "response": [] } ], "description": "The Autocomplete API is a variant of the Search API that returns place predictions in response to an HTTP request. The request specifies a textual search string and optional geographic bounds. The service can be used to provide autocomplete functionality for text-based geographic searches, by returning places such as businesses, addresses and points of interest as a user types.\r\n\r\nThe Autocomplete API can match on full words as well as substrings. Applications can therefore send queries as the user types, to provide on-the-fly place predictions.", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Lookup API", "item": [ { "name": "General Usage", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/lookup?key={{Your_API_Key}}&osm_ids=W345787679,N6213046588,R1972688&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "lookup" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication key." }, { "key": "osm_ids", "value": "W345787679,N6213046588,R1972688", "description": "This must contain a comma-separated list of OSM ids each prefixed with its type, one of node(N), way(W) or relation(R). Up to 3 ids can be queried at the same time." }, { "key": "format", "value": "json", "description": "Output Format. Defauts to json. Only json supported for now." }, { "key": "accept-language", "value": "native", "description": "Preferred language order for showing search results, overrides the value specified in the Accept-Language HTTP header. Defaults to en. To use native language for the response when available, use accept-language=native. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. ", "disabled": true }, { "key": "addressdetails", "value": "1", "description": "Include a breakdown of the address into elements. Defaults to 1.", "disabled": true }, { "key": "extratags", "value": "1", "description": "Include additional information in the result if available, e.g. wikipedia link, opening hours.", "disabled": true }, { "key": "json_callback", "value": "", "description": "Wrap json output in a callback function (JSONP) i.e. (). Only has an effect for JSON output formats.", "disabled": true }, { "key": "namedetails", "value": "1", "description": "Include a list of alternative names in the results. These may include language variants, references, operator and brand.", "disabled": true }, { "key": "normalizeaddress", "value": "1", "description": "Makes parsing of the address object easier by returning a predictable and defined list of elements. ( Refer \"https://locationiq.com/docs\" for complete list of elements ) Defaults to 0 for backward compatibility. We recommend setting this to 1 for new projects.", "disabled": true }, { "key": "normalizecity", "value": "1", "description": "For responses with no city value in the address section, the next available element in this order - city_district, locality, town, borough, municipality, village, hamlet, quarter, neighbourhood - from the address section will be normalized to city. Defaults to 0. [ 0,1 ]", "disabled": true }, { "key": "postaladdress", "value": "1", "description": "Returns address inside the postaladdress key, that is specifically formatted for each country. Currently supported for addresses in Belgium, France, Germany, Italy, Spain and United Kingdom. Defaults to 0", "disabled": true }, { "key": "polygon_geojson", "value": "1", "description": "Output geometry of results in geojson format.", "disabled": true }, { "key": "polygon_kml", "value": "1", "description": "Output geometry of results in kml format.", "disabled": true }, { "key": "polygon_svg", "value": "1", "description": "Output geometry of results in svg format.", "disabled": true }, { "key": "polygon_text", "value": "1", "description": "Output geometry of results as a WKT.", "disabled": true }, { "key": "polygon_threshold", "value": "0.2", "description": "When one of the polygon_* outputs is chosen, return a simplified version of the output geometry. The parameter describes the tolerance in degrees with which the geometry may differ from the original geometry. Topology is preserved in the geometry.", "disabled": true }, { "key": "statecode", "value": "1", "description": "Adds state or province code when available to the statecode key inside the address object. Currently supported for addresses in the USA, Canada and Australia. Defaults to 0 [ 0,1 ]", "disabled": true } ] } }, "response": [] } ], "description": "The lookup API allows querying the address and other details of one or multiple OSM objects, such as nodes, ways, or relations." }, { "name": "Routing APIs", "item": [ { "name": "Directions API", "item": [ { "name": "General usage", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/:service/:profile/:coordinates?key={{Your_API_Key}}", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", ":service", ":profile", ":coordinates" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}" }, { "key": "bearings", "value": "10,20;40,30;30,9", "description": "Limits the search to segments with given bearing in degrees towards true north in clockwise direction.\nList of positive integer pairs separated by semi-colon and bearings array should be equal to length of coordinate array.\n\nInput Value :- {bearing};{bearing}[;{bearing} ...]\nBearing follows the following format :\nbearing\t{value},{range} integer 0 .. 360,integer 0 .. 180", "disabled": true }, { "key": "radiuses", "value": "500;200;300", "description": "Limits the search to given radius in meters\nRadiuses array length should be same as coordinates array, eaach value separated by semi-colon.\nInput Value - {radius};{radius}[;{radius} ...]\nRadius has following format :-\ndouble >= 0 or unlimited (default)", "disabled": true }, { "key": "generate_hints", "value": "false", "description": "Adds a Hint to the response which can be used in subsequent requests, see hints parameter.\nInput Value - true (default), false\nFormat - Base64 String", "disabled": true }, { "key": "approaches", "value": "curb;curb;curb", "description": "Keep waypoints on curb side.\nInput Value - {approach};{approach}[;{approach} ...]\nFormat - curb or unrestricted (default)", "disabled": true }, { "key": "exclude", "value": "toll", "description": "Additive list of classes to avoid, order does not matter.\ninput Value - {class}[,{class}]\nFormat - A class name determined by the profile or none.", "disabled": true }, { "key": "alternatives", "value": "0", "description": "Search for alternative routes. Passing a number alternatives=n searches for up to n alternative routes. [ true, false (default), or Number ]", "disabled": true }, { "key": "steps", "value": "true", "description": "Returned route steps for each route leg [ true, false (default) ]", "disabled": true }, { "key": "annotations", "value": "true", "description": "Returns additional metadata for each coordinate along the route geometry. \n[ true, false (default), nodes, distance, duration, datasources, weight, speed ]", "disabled": true }, { "key": "geometries", "value": "polyline", "description": "Returned route geometry format (influences overview and per step)\n[ polyline (default), polyline6, geojson ]", "disabled": true }, { "key": "overview", "value": "simplified", "description": "Add overview geometry either full, simplified according to highest zoom level it could be display on, or not at all.\n[ simplified (default), full, false ]", "disabled": true }, { "key": "continue_straight", "value": "default", "description": "Forces the route to keep going straight at waypoints constraining uturns there even if it would be faster. Default value depends on the profile\n[ default (default), true, false ]", "disabled": true } ], "variable": [ { "key": "service", "value": "directions", "description": "One of the following values: directions, matching, matrix, nearest" }, { "key": "profile", "value": "driving", "description": "Mode of transportation. Only driving is supported at the moment." }, { "key": "coordinates", "value": "-0.16102,51.523854;-0.15797,51.52326;-0.161593,51.522550", "description": "String of format {longitude},{latitude};{longitude},{latitude}[;{longitude},{latitude} ...] or polyline({polyline}) or polyline6({polyline6}).\npolyline follows Google's polyline format with precision 5" } ] }, "description": "Finds the fastest route between coordinates in the supplied order." }, "response": [] }, { "name": "Limit by radius", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/:service/:profile/:coordinates?key={{Your_API_Key}}&radiuses=500;200;300", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", ":service", ":profile", ":coordinates" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}" }, { "key": "bearings", "value": "10,20;40,30;30,9", "description": "Limits the search to segments with given bearing in degrees towards true north in clockwise direction.\nList of positive integer pairs separated by semi-colon and bearings array should be equal to length of coordinate array.\n\nInput Value :- {bearing};{bearing}[;{bearing} ...]\nBearing follows the following format :\nbearing\t{value},{range} integer 0 .. 360,integer 0 .. 180", "disabled": true }, { "key": "radiuses", "value": "500;200;300", "description": "Limits the search to given radius in meters\nRadiuses array length should be same as coordinates array, eaach value separated by semi-colon.\nInput Value - {radius};{radius}[;{radius} ...]\nRadius has following format :-\ndouble >= 0 or unlimited (default)" }, { "key": "generate_hints", "value": "false", "description": "Adds a Hint to the response which can be used in subsequent requests, see hints parameter.\nInput Value - true (default), false\nFormat - Base64 String", "disabled": true }, { "key": "approaches", "value": "curb;curb;curb", "description": "Keep waypoints on curb side.\nInput Value - {approach};{approach}[;{approach} ...]\nFormat - curb or unrestricted (default)", "disabled": true }, { "key": "exclude", "value": "toll", "description": "Additive list of classes to avoid, order does not matter.\ninput Value - {class}[,{class}]\nFormat - A class name determined by the profile or none.", "disabled": true }, { "key": "alternatives", "value": "0", "description": "Search for alternative routes. Passing a number alternatives=n searches for up to n alternative routes. [ true, false (default), or Number ]", "disabled": true }, { "key": "steps", "value": "true", "description": "Returned route steps for each route leg [ true, false (default) ]", "disabled": true }, { "key": "annotations", "value": "true", "description": "Returns additional metadata for each coordinate along the route geometry. \n[ true, false (default), nodes, distance, duration, datasources, weight, speed ]", "disabled": true }, { "key": "geometries", "value": "polyline", "description": "Returned route geometry format (influences overview and per step)\n[ polyline (default), polyline6, geojson ]", "disabled": true }, { "key": "overview", "value": "simplified", "description": "Add overview geometry either full, simplified according to highest zoom level it could be display on, or not at all.\n[ simplified (default), full, false ]", "disabled": true }, { "key": "continue_straight", "value": "default", "description": "Forces the route to keep going straight at waypoints constraining uturns there even if it would be faster. Default value depends on the profile\n[ default (default), true, false ]", "disabled": true } ], "variable": [ { "key": "service", "value": "directions", "description": "One of the following values: directions, matching, matrix, nearest" }, { "key": "profile", "value": "driving", "description": "Mode of transportation. Only driving is supported at the moment." }, { "key": "coordinates", "value": "-0.16102,51.523854;-0.15797,51.52326;-0.161593,51.522550", "description": "String of format {longitude},{latitude};{longitude},{latitude}[;{longitude},{latitude} ...] or polyline({polyline}) or polyline6({polyline6}).\npolyline follows Google's polyline format with precision 5" } ] }, "description": "Limit the search route to an area calculated based on radius.\n\n> Finds the fastest route between coordinates in the supplied order." }, "response": [] } ], "description": "Finds the fastest route between coordinates in the supplied order.", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Matching API", "item": [ { "name": "General usage", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/:service/:profile/:coordinates?key={{Your_API_Key}}", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", ":service", ":profile", ":coordinates" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}" }, { "key": "bearings", "value": "0,4;10,20;30,50", "description": "Limits the search to segments with given bearing in degrees towards true north in clockwise direction.\nList of positive integer pairs separated by semi-colon and bearings array should be equal to length of coordinate array.\n\nInput Value :- {bearing};{bearing}[;{bearing} ...]\nBearing follows the following format :\nbearing\t{value},{range} integer 0 .. 360,integer 0 .. 180", "disabled": true }, { "key": "radiuses", "value": "", "description": "Limits the search to given radius in meters\nRadiuses array length should be same as coordinates array, eaach value separated by semi-colon.\nInput Value - {radius};{radius}[;{radius} ...]\nRadius has following format :-\ndouble >= 0 or unlimited (default)", "disabled": true }, { "key": "generate_hints", "value": "false", "description": "Adds a Hint to the response which can be used in subsequent requests, see hints parameter.\nInput Value - true (default), false\nFormat - Base64 String", "disabled": true }, { "key": "approaches", "value": "curb;curb;curb", "description": "Keep waypoints on curb side.\nInput Value - {approach};{approach}[;{approach} ...]\nFormat - curb or unrestricted (default)", "disabled": true }, { "key": "exclude", "value": "toll", "description": "Additive list of classes to avoid, order does not matter.\ninput Value - {class}[,{class}]\nFormat - A class name determined by the profile or none.", "disabled": true }, { "key": "steps", "value": "true", "description": "Returned route steps for each route leg [ true, false (default) ]", "disabled": true }, { "key": "geometries", "value": "polyline", "description": "Returned route geometry format (influences overview and per step)\n[ polyline (default), polyline6, geojson ]", "disabled": true }, { "key": "annotations", "value": "false", "description": "Returns additional metadata for each coordinate along the route geometry. \n[ true, false (default), nodes, distance, duration, datasources, weight, speed ]", "disabled": true }, { "key": "overview", "value": "simplified", "description": "Add overview geometry either full, simplified according to highest zoom level it could be display on, or not at all.\n[ simplified (default), full, false ]", "disabled": true }, { "key": "timestamps", "value": "200;300;900", "description": "Timestamps for the input locations in seconds since UNIX epoch. Timestamps need to be monotonically increasing.\n[ {timestamp};{timestamp}[;{timestamp} ...] \ninteger seconds since UNIX epoch", "disabled": true }, { "key": "gaps", "value": "split", "description": "Allows the input track splitting based on huge timestamp gaps between points.\n[ split (default), ignore ]", "disabled": true }, { "key": "tidy", "value": "false", "description": "Allows the input track modification to obtain better matching quality for noisy tracks.\n[ true, false (default) ]", "disabled": true }, { "key": "waypoints", "value": "0;1;2", "description": "Treats input coordinates indicated by given indices as waypoints in returned Match object. Default is to treat all input coordinates as waypoints.\n[ {index};{index};{index}... ]", "disabled": true } ], "variable": [ { "key": "service", "value": "matching", "description": "One of the following values: directions, matching, matrix, nearest" }, { "key": "profile", "value": "driving", "description": "Mode of transportation. Only driving is supported at the moment." }, { "key": "coordinates", "value": "-0.16102,51.523854;-0.15797,51.52326;-0.161593,51.522550", "description": "String of format {longitude},{latitude};{longitude},{latitude}[;{longitude},{latitude} ...] or polyline({polyline}) or polyline6({polyline6}).\npolyline follows Google's polyline format with precision 5" } ] }, "description": "Matching API matches or snaps given GPS points to the road network in the most plausible way. Please note the request might result multiple sub-traces. Large jumps in the timestamps (> 60s) or improbable transitions lead to trace splits if a complete matching could not be found. The algorithm might not be able to match all points. Outliers are removed if they can not be matched successfully." }, "response": [] } ], "description": "Matching API matches or snaps given GPS points to the road network in the most plausible way. Please note the request might result multiple sub-traces. Large jumps in the timestamps (> 60s) or improbable transitions lead to trace splits if a complete matching could not be found. The algorithm might not be able to match all points. Outliers are removed if they can not be matched successfully.", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Matrix API", "item": [ { "name": "Genral usage", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/:service/:profile/:coordinates?key={{Your_API_Key}}", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", ":service", ":profile", ":coordinates" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}" }, { "key": "bearings", "value": "10,20;40,30;30,9", "description": "Limits the search to segments with given bearing in degrees towards true north in clockwise direction.\nList of positive integer pairs separated by semi-colon and bearings array should be equal to length of coordinate array.\n\nInput Value :- {bearing};{bearing}[;{bearing} ...]\nBearing follows the following format :\nbearing\t{value},{range} integer 0 .. 360,integer 0 .. 180", "disabled": true }, { "key": "radiuses", "value": "500;200;300", "description": "Limits the search to given radius in meters\nRadiuses array length should be same as coordinates array, eaach value separated by semi-colon.\nInput Value - {radius};{radius}[;{radius} ...]\nRadius has following format :-\ndouble >= 0 or unlimited (default)", "disabled": true }, { "key": "generate_hints", "value": "false", "description": "Adds a Hint to the response which can be used in subsequent requests, see hints parameter.\nInput Value - true (default), false\nFormat - Base64 String", "disabled": true }, { "key": "approaches", "value": "curb;curb;curb", "description": "Keep waypoints on curb side.\nInput Value - {approach};{approach}[;{approach} ...]\nFormat - curb or unrestricted (default)", "disabled": true }, { "key": "exclude", "value": "toll", "description": "Additive list of classes to avoid, order does not matter.\ninput Value - {class}[,{class}]\nFormat - A class name determined by the profile or none.", "disabled": true }, { "key": "sources", "value": "0", "description": "Use location with given index as source.\n [ {index};{index}[;{index} ...] or all (default) ]\n=> index\t 0 <= integer < #locations", "disabled": true }, { "key": "destinations", "value": "2", "description": "Use location with given index as destination.\n[ {index};{index}[;{index} ...] or all (default) ]", "disabled": true }, { "key": "annotations", "value": "distance", "description": "Returns additional metadata for each coordinate along the route geometry. \n[ true, false (default), nodes, distance, duration ]", "disabled": true }, { "key": "fallback_speed", "value": "25.65", "description": "If no route found between a source/destination pair, calculate the as-the-crow-flies distance, then use this speed to estimate duration.\ndouble > 0", "disabled": true }, { "key": "fallback_coordinate", "value": "input", "description": "When using a fallback_speed, use the user-supplied coordinate (input), or the snapped location (snapped) for calculating distances.\n[ input (default), or snapped ]", "disabled": true } ], "variable": [ { "key": "service", "value": "matrix" }, { "key": "profile", "value": "driving" }, { "key": "coordinates", "value": "-0.16102,51.523854;-0.15797,51.52326;-0.161593,51.522550" } ] }, "description": "Computes duration of the fastest route between all pairs of supplied coordinates. Returns the durations or distances or both between the coordinate pairs. Note that the distances are not the shortest distance between two coordinates, but rather the distances of the fastest routes." }, "response": [] } ], "description": "Computes duration of the fastest route between all pairs of supplied coordinates. Returns the durations or distances or both between the coordinate pairs. Note that the distances are not the shortest distance between two coordinates, but rather the distances of the fastest routes.", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Nearest API", "item": [ { "name": "General usage", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/:service/:profile/:coordinates?key={{Your_API_Key}}", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", ":service", ":profile", ":coordinates" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}" }, { "key": "bearings", "value": "10,20", "description": "Limits the search to segments with given bearing in degrees towards true north in clockwise direction.\nList of positive integer pairs separated by semi-colon and bearings array should be equal to length of coordinate array.\n\nInput Value :- {bearing};{bearing}[;{bearing} ...]\nBearing follows the following format :\nbearing\t{value},{range} integer 0 .. 360,integer 0 .. 180", "disabled": true }, { "key": "radiuses", "value": "1000", "description": "Limits the search to given radius in meters\nRadiuses array length should be same as coordinates array, eaach value separated by semi-colon.\nInput Value - {radius};{radius}[;{radius} ...]\nRadius has following format :-\ndouble >= 0 or unlimited (default)", "disabled": true }, { "key": "generate_hints", "value": "false", "description": "Adds a Hint to the response which can be used in subsequent requests, see hints parameter.\nInput Value - true (default), false\nFormat - Base64 String", "disabled": true }, { "key": "approaches", "value": "curb", "description": "Keep waypoints on curb side.\nInput Value - {approach};{approach}[;{approach} ...]\nFormat - curb or unrestricted (default)", "disabled": true }, { "key": "exclude", "value": "toll", "description": "Additive list of classes to avoid, order does not matter.\ninput Value - {class}[,{class}]\nFormat - A class name determined by the profile or none.", "disabled": true }, { "key": "number", "value": "3", "description": "Number of nearest segments that should be returned.\n[ integer >= 1 (default 1) ]", "disabled": true } ], "variable": [ { "key": "service", "value": "nearest", "description": "One of the following values: directions, matching, matrix, nearest, optimize" }, { "key": "profile", "value": "driving", "description": "Mode of transportation. Only driving is supported at the moment." }, { "key": "coordinates", "value": "-0.16102,51.523854", "description": "String of format {longitude},{latitude};{longitude},{latitude}[;{longitude},{latitude} ...] or polyline({polyline}) or polyline6({polyline6}).\npolyline follows Google's polyline format with precision 5" } ] }, "description": "Snaps a coordinate to the street network and returns the nearest n matches.\nWhere coordinates only supports a single {longitude},{latitude} entry." }, "response": [] } ], "description": "Snaps a coordinate to the street network and returns the nearest n matches.\nWhere coordinates only supports a single {longitude},{latitude} entry.", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Optimize API", "item": [ { "name": "General usage", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/:service/:profile/:coordinates?key={{Your_API_Key}}", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", ":service", ":profile", ":coordinates" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}" }, { "key": "bearings", "value": "10,20", "description": "Limits the search to segments with given bearing in degrees towards true north in clockwise direction.\nList of positive integer pairs separated by semi-colon and bearings array should be equal to length of coordinate array.\n\nInput Value :- {bearing};{bearing}[;{bearing} ...]\nBearing follows the following format :\nbearing\t{value},{range} integer 0 .. 360,integer 0 .. 180", "disabled": true }, { "key": "radiuses", "value": "1000", "description": "Limits the search to given radius in meters\nRadiuses array length should be same as coordinates array, eaach value separated by semi-colon.\nInput Value - {radius};{radius}[;{radius} ...]\nRadius has following format :-\ndouble >= 0 or unlimited (default)", "disabled": true }, { "key": "generate_hints", "value": "false", "description": "Adds a Hint to the response which can be used in subsequent requests, see hints parameter.\nInput Value - true (default), false\nFormat - Base64 String", "disabled": true }, { "key": "approaches", "value": "curb", "description": "Keep waypoints on curb side.\nInput Value - {approach};{approach}[;{approach} ...]\nFormat - curb or unrestricted (default)", "disabled": true }, { "key": "exclude", "value": "toll", "description": "Additive list of classes to avoid, order does not matter.\ninput Value - {class}[,{class}]\nFormat - A class name determined by the profile or none.", "disabled": true }, { "key": "roundtrip", "value": "true", "description": "Returned route is a roundtrip (route returns to first location) [ true | false ]", "disabled": true }, { "key": "source", "value": "any", "description": "Returned route starts at any or first coordinate [ any | first ]", "disabled": true }, { "key": "destination", "value": "any", "description": "Returned route ends at any or last coordinate [ any | last ]", "disabled": true }, { "key": "steps", "value": "false", "description": "Returned route instructions for each trip [ true | false ]", "disabled": true }, { "key": "annotations", "value": "false", "description": "Returns additional metadata for each coordinate along the route geometry.\n[ true | false | nodes | distance | duration | datasources | weight | speed ]", "disabled": true }, { "key": "geometries", "value": "polyline", "description": "Returned route geometry format (influences overview and per step) [ polyline | polyline6 | geojson ]", "disabled": true }, { "key": "overview", "value": "simplified", "description": "Add overview geometry either full, simplified according to highest zoom level it could be display on, or not at all.\n[ simplified | full | false ]", "disabled": true } ], "variable": [ { "key": "service", "value": "optimize", "description": "One of the following values: directions, matching, matrix, nearest, optimize" }, { "key": "profile", "value": "driving", "description": "Mode of transportation. Only driving is supported at the moment." }, { "key": "coordinates", "value": "-0.127627,51.503355;-0.087199,51.509562;-0.076134,51.508037", "description": "String of format {longitude},{latitude};{longitude},{latitude}[;{longitude},{latitude} ...] or polyline({polyline}) or polyline6({polyline6}).\npolyline follows Google's polyline format with precision 5" } ] }, "description": "Round trip in London with three stops." }, "response": [] }, { "name": "Fixed source & destination", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/:service/:profile/:coordinates?key={{Your_API_Key}}&source=first&destination=last", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", ":service", ":profile", ":coordinates" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}" }, { "key": "bearings", "value": "10,20", "description": "Limits the search to segments with given bearing in degrees towards true north in clockwise direction.\nList of positive integer pairs separated by semi-colon and bearings array should be equal to length of coordinate array.\n\nInput Value :- {bearing};{bearing}[;{bearing} ...]\nBearing follows the following format :\nbearing\t{value},{range} integer 0 .. 360,integer 0 .. 180", "disabled": true }, { "key": "radiuses", "value": "1000", "description": "Limits the search to given radius in meters\nRadiuses array length should be same as coordinates array, eaach value separated by semi-colon.\nInput Value - {radius};{radius}[;{radius} ...]\nRadius has following format :-\ndouble >= 0 or unlimited (default)", "disabled": true }, { "key": "generate_hints", "value": "false", "description": "Adds a Hint to the response which can be used in subsequent requests, see hints parameter.\nInput Value - true (default), false\nFormat - Base64 String", "disabled": true }, { "key": "approaches", "value": "curb", "description": "Keep waypoints on curb side.\nInput Value - {approach};{approach}[;{approach} ...]\nFormat - curb or unrestricted (default)", "disabled": true }, { "key": "exclude", "value": "toll", "description": "Additive list of classes to avoid, order does not matter.\ninput Value - {class}[,{class}]\nFormat - A class name determined by the profile or none.", "disabled": true }, { "key": "roundtrip", "value": "true", "description": "Returned route is a roundtrip (route returns to first location) [ true | false ]", "disabled": true }, { "key": "source", "value": "first", "description": "Returned route starts at any or first coordinate [ any | first ]" }, { "key": "destination", "value": "last", "description": "Returned route ends at any or last coordinate [ any | last ]" }, { "key": "steps", "value": "false", "description": "Returned route instructions for each trip [ true | false ]", "disabled": true }, { "key": "annotations", "value": "false", "description": "Returns additional metadata for each coordinate along the route geometry.\n[ true | false | nodes | distance | duration | datasources | weight | speed ]", "disabled": true }, { "key": "geometries", "value": "polyline", "description": "Returned route geometry format (influences overview and per step) [ polyline | polyline6 | geojson ]", "disabled": true }, { "key": "overview", "value": "simplified", "description": "Add overview geometry either full, simplified according to highest zoom level it could be display on, or not at all.\n[ simplified | full | false ]", "disabled": true } ], "variable": [ { "key": "service", "value": "optimize", "description": "One of the following values: directions, matching, matrix, nearest, optimize" }, { "key": "profile", "value": "driving", "description": "Mode of transportation. Only driving is supported at the moment." }, { "key": "coordinates", "value": "-0.127627,51.503355;-0.087199,51.509562;-0.076134,51.508037", "description": "String of format {longitude},{latitude};{longitude},{latitude}[;{longitude},{latitude} ...] or polyline({polyline}) or polyline6({polyline6}).\npolyline follows Google's polyline format with precision 5" } ] }, "description": "Round trip in London with four stops, starting at the first stop, ending at the last." }, "response": [] } ], "description": "Optimize API solves the Traveling Salesman Problem(TSP) using a greedy heuristic (farthest-insertion algorithm) for 10 or more waypoints and uses brute force for less than 10 waypoints. The returned path does not have to be the fastest path. As TSP is NP-hard it only returns an approximation. Note that all input coordinates have to be connected for the optimize service to work." } ] }, { "name": "Nearby API", "item": [ { "name": "List of nearby railway stations", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/nearby?key={{Your_API_Key}}&lat=40.7484284&lon=-73.9856546&radius=3000&tag=railway_station", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "nearby" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication Key" }, { "key": "lat", "value": "40.7484284", "description": "Latitude of the location to generate the PoI list for." }, { "key": "lon", "value": "-73.9856546", "description": "Longitude of the location to generate the PoI list for." }, { "key": "radius", "value": "3000", "description": "Radius (in meters) from the given latitude and longitude to generate the PoI list for. Defaults to 100 meters. Max value is 30000 meters." }, { "key": "tag", "value": "railway_station", "description": "PoI to generate the list for. Defaults to country (check Nearby-Countries). " }, { "key": "limit", "value": "10", "description": "No of results to look for. Defaults to 10. Max value is 50. (Pagination is not supported yet).", "disabled": true } ] }, "description": "The Nearby Points of Interest (PoI) API returns specified PoIs or Places around a given coordinate.\r\n\r\n" }, "response": [] }, { "name": "List of nearby restaurants", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/nearby?key={{Your_API_Key}}&lat=40.7484284&lon=-73.9856546&tag=restaurant", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "nearby" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication Key" }, { "key": "lat", "value": "40.7484284", "description": "Latitude of the location to generate the PoI list for." }, { "key": "lon", "value": "-73.9856546", "description": "Longitude of the location to generate the PoI list for." }, { "key": "radius", "value": "3000", "description": "Radius (in meters) from the given latitude and longitude to generate the PoI list for. Defaults to 100 meters. Max value is 30000 meters.", "disabled": true }, { "key": "tag", "value": "restaurant", "description": "PoI to generate the list for. Defaults to country (check Nearby-Countries). " }, { "key": "limit", "value": "10", "description": "No of results to look for. Defaults to 10. Max value is 50. (Pagination is not supported yet).", "disabled": true } ] }, "description": "The Nearby Points of Interest (PoI) API returns specified PoIs or Places around a given coordinate.\r\n\r\n" }, "response": [] }, { "name": "List of nearby amenities", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/nearby?key={{Your_API_Key}}&lat=40.7484284&lon=-73.9856546&tag=amenity:*", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "nearby" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication Key" }, { "key": "lat", "value": "40.7484284", "description": "Latitude of the location to generate the PoI list for." }, { "key": "lon", "value": "-73.9856546", "description": "Longitude of the location to generate the PoI list for." }, { "key": "radius", "value": "3000", "description": "Radius (in meters) from the given latitude and longitude to generate the PoI list for. Defaults to 100 meters. Max value is 30000 meters.", "disabled": true }, { "key": "tag", "value": "amenity:*", "description": "PoI to generate the list for. Defaults to country (check Nearby-Countries). " }, { "key": "limit", "value": "10", "description": "No of results to look for. Defaults to 10. Max value is 50. (Pagination is not supported yet).", "disabled": true } ] }, "description": "The Nearby Points of Interest (PoI) API returns specified PoIs or Places around a given coordinate.\r\n\r\n" }, "response": [] }, { "name": "List of nearby airports, hotels & parking spaces", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/nearby?key={{Your_API_Key}}&lat=40.7484284&lon=-73.9856546&tag=aeroway:aerodrome,tourism:hotel,amenity:parking", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "nearby" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication Key" }, { "key": "lat", "value": "40.7484284", "description": "Latitude of the location to generate the PoI list for." }, { "key": "lon", "value": "-73.9856546", "description": "Longitude of the location to generate the PoI list for." }, { "key": "radius", "value": "3000", "description": "Radius (in meters) from the given latitude and longitude to generate the PoI list for. Defaults to 100 meters. Max value is 30000 meters.", "disabled": true }, { "key": "tag", "value": "aeroway:aerodrome,tourism:hotel,amenity:parking", "description": "PoI to generate the list for. Defaults to country (check Nearby-Countries). " }, { "key": "limit", "value": "10", "description": "No of results to look for. Defaults to 10. Max value is 50. (Pagination is not supported yet).", "disabled": true } ] }, "description": "The Nearby Points of Interest (PoI) API returns specified PoIs or Places around a given coordinate.\r\n\r\n" }, "response": [] }, { "name": "List of all nearby amenities except gyms", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/nearby?key={{Your_API_Key}}&lat=40.7484284&lon=-73.9856546&tag=amenity:*,!amenity:gym", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "nearby" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication Key" }, { "key": "lat", "value": "40.7484284", "description": "Latitude of the location to generate the PoI list for." }, { "key": "lon", "value": "-73.9856546", "description": "Longitude of the location to generate the PoI list for." }, { "key": "radius", "value": "3000", "description": "Radius (in meters) from the given latitude and longitude to generate the PoI list for. Defaults to 100 meters. Max value is 30000 meters.", "disabled": true }, { "key": "tag", "value": "amenity:*,!amenity:gym", "description": "PoI to generate the list for. Defaults to country (check Nearby-Countries). " }, { "key": "limit", "value": "10", "description": "No of results to look for. Defaults to 10. Max value is 50. (Pagination is not supported yet).", "disabled": true } ] }, "description": "The Nearby Points of Interest (PoI) API returns specified PoIs or Places around a given coordinate.\r\n\r\n" }, "response": [] }, { "name": "List of all nearby PoIs except gyms", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/nearby?key={{Your_API_Key}}&lat=40.7484284&lon=-73.9856546&tag=!amenity:gym", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "nearby" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication Key" }, { "key": "lat", "value": "40.7484284", "description": "Latitude of the location to generate the PoI list for." }, { "key": "lon", "value": "-73.9856546", "description": "Longitude of the location to generate the PoI list for." }, { "key": "radius", "value": "3000", "description": "Radius (in meters) from the given latitude and longitude to generate the PoI list for. Defaults to 100 meters. Max value is 30000 meters.", "disabled": true }, { "key": "tag", "value": "!amenity:gym", "description": "PoI to generate the list for. Defaults to country (check Nearby-Countries). " }, { "key": "limit", "value": "10", "description": "No of results to look for. Defaults to 10. Max value is 50. (Pagination is not supported yet).", "disabled": true } ] }, "description": "The Nearby Points of Interest (PoI) API returns specified PoIs or Places around a given coordinate.\r\n\r\n" }, "response": [] } ], "description": "The Nearby Points of Interest (PoI) API returns specified PoIs or Places around a given coordinate.\r\n", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Timezone API", "item": [ { "name": "General Usage", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/timezone?key={{Your_API_Key}}&lat=17.3850&lon=78.4867", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "timezone" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication key" }, { "key": "lat", "value": "17.3850", "description": "Latitude of the location" }, { "key": "lon", "value": "78.4867", "description": "Longitude of the location" } ] }, "description": "The Timezone API provides time offset data for locations on the surface of the earth." }, "response": [] } ], "description": "The Timezone API provides time offset data for locations on the surface of the earth.", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Balance API", "item": [ { "name": "General usage", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/balance?key={{Your_API_Key}}", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "balance" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}" } ] }, "description": "The Balance API provides a count of request credits left in the user's account for the day. Balance is reset at midnight UTC everyday (00:00 UTC)." }, "response": [] } ], "description": "The Balance API provides a count of request credits left in the user's account for the day. Balance is reset at midnight UTC everyday (00:00 UTC).", "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Static Maps API", "item": [ { "name": "Markers", "item": [ { "name": "Add a Marker", "request": { "method": "GET", "header": [], "url": { "raw": "https://maps.locationiq.com/v3/staticmap?key={{Your_API_Key}}&zoom=14&size=600x600&format=png&markers=45.5165,-122.6764", "protocol": "https", "host": [ "maps", "locationiq", "com" ], "path": [ "v3", "staticmap" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Access Token" }, { "key": "center", "value": "17.450419,78.381149", "description": "Defines the center of the map. It takes a comma seperated value of a latitude, longitude pair. This parameter is required if markers are not defined", "disabled": true }, { "key": "zoom", "value": "14", "description": "Set the zoom level for the map. Required if markers are not present. Defaults to 18" }, { "key": "scale", "value": "1", "description": "Affects the number of pixels that are returned. Defaults to 1", "disabled": true }, { "key": "size", "value": "600x600", "description": "Defines the rectangular dimensions of the map image. This parameter takes a string of the form {width}x{height}. Defaults to 300x300" }, { "key": "format", "value": "png", "description": "Defines the format of the resulting image. Defaults to png" }, { "key": "maptype", "value": "roadmap", "description": "Defines the type of the map to construct. Only roadmap is supported at the moment", "disabled": true }, { "key": "markers", "value": "45.5165,-122.6764", "description": "Defines one or more markers to overlay on the map. Parameters are specified as key:value seperated by Pipe character. See below for the full list of parameters. Required if center is not set" }, { "key": "path", "value": "fillcolor:#add8e6|weight:1|color:blue|17.452945,78.380055|17.452765,78.382026|17.452020,78.381375|17.452045,78.380846|17.452945,78.380055", "description": "Defines one or more paths to draw on the map. Path parameters are seperated by Pipe character. See below for the full list of parameters", "disabled": true } ] } }, "response": [] }, { "name": "Add a Marker - Different Marker icon", "request": { "method": "GET", "header": [], "url": { "raw": "https://maps.locationiq.com/v3/staticmap?key={{Your_API_Key}}&zoom=14&size=600x600&format=png&markers=icon:large-purple-cutout|45.5165,-122.6764", "protocol": "https", "host": [ "maps", "locationiq", "com" ], "path": [ "v3", "staticmap" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Access Token" }, { "key": "center", "value": "17.450419,78.381149", "description": "Defines the center of the map. It takes a comma seperated value of a latitude, longitude pair. This parameter is required if markers are not defined", "disabled": true }, { "key": "zoom", "value": "14", "description": "Set the zoom level for the map. Required if markers are not present. Defaults to 18" }, { "key": "scale", "value": "1", "description": "Affects the number of pixels that are returned. Defaults to 1", "disabled": true }, { "key": "size", "value": "600x600", "description": "Defines the rectangular dimensions of the map image. This parameter takes a string of the form {width}x{height}. Defaults to 300x300" }, { "key": "format", "value": "png", "description": "Defines the format of the resulting image. Defaults to png" }, { "key": "maptype", "value": "roadmap", "description": "Defines the type of the map to construct. Only roadmap is supported at the moment", "disabled": true }, { "key": "markers", "value": "icon:large-purple-cutout|45.5165,-122.6764", "description": "Defines one or more markers to overlay on the map. Parameters are specified as key:value seperated by Pipe character. See below for the full list of parameters. Required if center is not set" }, { "key": "path", "value": "fillcolor:#add8e6|weight:1|color:blue|17.452945,78.380055|17.452765,78.382026|17.452020,78.381375|17.452045,78.380846|17.452945,78.380055", "description": "Defines one or more paths to draw on the map. Path parameters are seperated by Pipe character. See below for the full list of parameters", "disabled": true } ] } }, "response": [] }, { "name": "Add Multiple Markers", "request": { "method": "GET", "header": [], "url": { "raw": "https://maps.locationiq.com/v3/staticmap?key={{Your_API_Key}}&zoom=18&size=600x600&markers=icon:large-red-cutout|17.450419,78.381149&markers=icon:large-red-cutout|17.451377,78.379525", "protocol": "https", "host": [ "maps", "locationiq", "com" ], "path": [ "v3", "staticmap" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Access Token" }, { "key": "center", "value": "17.450419,78.381149", "description": "Defines the center of the map. It takes a comma seperated value of a latitude, longitude pair. This parameter is required if markers are not defined", "disabled": true }, { "key": "zoom", "value": "18", "description": "Set the zoom level for the map. Required if markers are not present. Defaults to 18" }, { "key": "scale", "value": "1", "description": "Affects the number of pixels that are returned. Defaults to 1", "disabled": true }, { "key": "size", "value": "600x600", "description": "Defines the rectangular dimensions of the map image. This parameter takes a string of the form {width}x{height}. Defaults to 300x300" }, { "key": "format", "value": "png", "description": "Defines the format of the resulting image. Defaults to png", "disabled": true }, { "key": "maptype", "value": "roadmap", "description": "Defines the type of the map to construct. Only roadmap is supported at the moment", "disabled": true }, { "key": "markers", "value": "icon:large-red-cutout|17.450419,78.381149", "description": "Defines one or more markers to overlay on the map. Parameters are specified as key:value seperated by Pipe character. See below for the full list of parameters. Required if center is not set" }, { "key": "markers", "value": "icon:large-red-cutout|17.451377,78.379525", "description": "Defines one or more markers to overlay on the map. Parameters are specified as key:value seperated by Pipe character. See below for the full list of parameters. Required if center is not set" }, { "key": "path", "value": "fillcolor:#add8e6|weight:1|color:blue|17.452945,78.380055|17.452765,78.382026|17.452020,78.381375|17.452045,78.380846|17.452945,78.380055", "description": "Defines one or more paths to draw on the map. Path parameters are seperated by Pipe character. See below for the full list of parameters", "disabled": true } ] } }, "response": [] } ] }, { "name": "Path", "item": [ { "name": "Add a Path", "request": { "method": "GET", "header": [], "url": { "raw": "https://maps.locationiq.com/v3/staticmap?key={{Your_API_Key}}&path=17.452638,78.380332|17.452550,78.38026|17.452033,78.380734|17.4519517,78.381078|17.452008,78.381426|17.452524,78.38187", "protocol": "https", "host": [ "maps", "locationiq", "com" ], "path": [ "v3", "staticmap" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Access Token" }, { "key": "center", "value": "17.450419,78.381149", "description": "Defines the center of the map. It takes a comma seperated value of a latitude, longitude pair. This parameter is required if markers are not defined", "disabled": true }, { "key": "zoom", "value": "14", "description": "Set the zoom level for the map. Required if markers are not present. Defaults to 18", "disabled": true }, { "key": "scale", "value": "1", "description": "Affects the number of pixels that are returned. Defaults to 1", "disabled": true }, { "key": "size", "value": "480x480", "description": "Defines the rectangular dimensions of the map image. This parameter takes a string of the form {width}x{height}. Defaults to 300x300", "disabled": true }, { "key": "format", "value": "png", "description": "Defines the format of the resulting image. Defaults to png", "disabled": true }, { "key": "maptype", "value": "roadmap", "description": "Defines the type of the map to construct. Only roadmap is supported at the moment", "disabled": true }, { "key": "markers", "value": "icon:large-red-cutout|17.450419,78.381149", "description": "Defines one or more markers to overlay on the map. Parameters are specified as key:value seperated by Pipe character. See below for the full list of parameters. Required if center is not set", "disabled": true }, { "key": "path", "value": "17.452638,78.380332|17.452550,78.38026|17.452033,78.380734|17.4519517,78.381078|17.452008,78.381426|17.452524,78.38187", "description": "Defines one or more paths to draw on the map. Path parameters are seperated by Pipe character. See below for the full list of parameters" }, { "key": "linejoin", "value": "round", "description": "Style for joining successive segments of all paths when the direction changes. Can be `bevel`, `round` or `miter`. Default is `miter`.", "disabled": true }, { "key": "linecap", "value": "round", "description": "Style for start and end points of path. Can be `butt`, `round` or `square`. Default is `butt`.", "disabled": true } ] } }, "response": [] }, { "name": "Add a Path - Customize Style", "request": { "method": "GET", "header": [], "url": { "raw": "https://maps.locationiq.com/v3/staticmap?key={{Your_API_Key}}&path=weight:4|color:blue|17.452638,78.380332|17.452550,78.38026|17.452033,78.380734|17.4519517,78.381078|17.452008,78.381426|17.452524,78.38187", "protocol": "https", "host": [ "maps", "locationiq", "com" ], "path": [ "v3", "staticmap" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Access Token" }, { "key": "center", "value": "17.450419,78.381149", "description": "Defines the center of the map. It takes a comma seperated value of a latitude, longitude pair. This parameter is required if markers are not defined", "disabled": true }, { "key": "zoom", "value": "14", "description": "Set the zoom level for the map. Required if markers are not present. Defaults to 18", "disabled": true }, { "key": "scale", "value": "1", "description": "Affects the number of pixels that are returned. Defaults to 1", "disabled": true }, { "key": "size", "value": "480x480", "description": "Defines the rectangular dimensions of the map image. This parameter takes a string of the form {width}x{height}. Defaults to 300x300", "disabled": true }, { "key": "format", "value": "png", "description": "Defines the format of the resulting image. Defaults to png", "disabled": true }, { "key": "maptype", "value": "roadmap", "description": "Defines the type of the map to construct. Only roadmap is supported at the moment", "disabled": true }, { "key": "markers", "value": "icon:large-red-cutout|17.450419,78.381149", "description": "Defines one or more markers to overlay on the map. Parameters are specified as key:value seperated by Pipe character. See below for the full list of parameters. Required if center is not set", "disabled": true }, { "key": "path", "value": "weight:4|color:blue|17.452638,78.380332|17.452550,78.38026|17.452033,78.380734|17.4519517,78.381078|17.452008,78.381426|17.452524,78.38187", "description": "Defines one or more paths to draw on the map. Path parameters are seperated by Pipe character. See below for the full list of parameters" }, { "key": "linejoin", "value": "round", "description": "Style for joining successive segments of all paths when the direction changes. Can be `bevel`, `round` or `miter`. Default is `miter`.", "disabled": true }, { "key": "linecap", "value": "round", "description": "Style for start and end points of path. Can be `butt`, `round` or `square`. Default is `butt`.", "disabled": true } ] } }, "response": [] }, { "name": "Add a Path - Using Encoded Polyline", "request": { "method": "GET", "header": [], "url": { "raw": "https://maps.locationiq.com/v3/staticmap?key={{Your_API_Key}}&path=weight:4|color:blue|enc:_voiBatk}MPLfB}ANeAKeAeBwA", "protocol": "https", "host": [ "maps", "locationiq", "com" ], "path": [ "v3", "staticmap" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Access Token" }, { "key": "center", "value": "17.450419,78.381149", "description": "Defines the center of the map. It takes a comma seperated value of a latitude, longitude pair. This parameter is required if markers are not defined", "disabled": true }, { "key": "zoom", "value": "14", "description": "Set the zoom level for the map. Required if markers are not present. Defaults to 18", "disabled": true }, { "key": "scale", "value": "1", "description": "Affects the number of pixels that are returned. Defaults to 1", "disabled": true }, { "key": "size", "value": "480x480", "description": "Defines the rectangular dimensions of the map image. This parameter takes a string of the form {width}x{height}. Defaults to 300x300", "disabled": true }, { "key": "format", "value": "png", "description": "Defines the format of the resulting image. Defaults to png", "disabled": true }, { "key": "maptype", "value": "roadmap", "description": "Defines the type of the map to construct. Only roadmap is supported at the moment", "disabled": true }, { "key": "markers", "value": "icon:large-red-cutout|17.450419,78.381149", "description": "Defines one or more markers to overlay on the map. Parameters are specified as key:value seperated by Pipe character. See below for the full list of parameters. Required if center is not set", "disabled": true }, { "key": "path", "value": "weight:4|color:blue|enc:_voiBatk}MPLfB}ANeAKeAeBwA", "description": "Defines one or more paths to draw on the map. Path parameters are seperated by Pipe character. See below for the full list of parameters" }, { "key": "linejoin", "value": "round", "description": "Style for joining successive segments of all paths when the direction changes. Can be `bevel`, `round` or `miter`. Default is `miter`.", "disabled": true }, { "key": "linecap", "value": "round", "description": "Style for start and end points of path. Can be `butt`, `round` or `square`. Default is `butt`.", "disabled": true } ] } }, "response": [] } ] }, { "name": "General Usage", "request": { "method": "GET", "header": [], "url": { "raw": "https://maps.locationiq.com/v3/staticmap?key={{Your_API_Key}}", "protocol": "https", "host": [ "maps", "locationiq", "com" ], "path": [ "v3", "staticmap" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Your API Access Token" }, { "key": "center", "value": "17.450419,78.381149", "description": "Defines the center of the map. It takes a comma seperated value of a latitude, longitude pair. This parameter is required if markers are not defined", "disabled": true }, { "key": "zoom", "value": "16", "description": "Set the zoom level for the map. Required if markers are not present. Defaults to 18", "disabled": true }, { "key": "scale", "value": "1", "description": "Affects the number of pixels that are returned. Defaults to 1", "disabled": true }, { "key": "size", "value": "480x480", "description": "Defines the rectangular dimensions of the map image. This parameter takes a string of the form {width}x{height}. Defaults to 300x300", "disabled": true }, { "key": "format", "value": "png", "description": "Defines the format of the resulting image. Defaults to png", "disabled": true }, { "key": "maptype", "value": "roadmap", "description": "Defines the type of the map to construct. Only roadmap is supported at the moment", "disabled": true }, { "key": "markers", "value": "icon:large-red-cutout|17.450419,78.381149", "description": "Defines one or more markers to overlay on the map. Parameters are specified as key:value seperated by Pipe character. See below for the full list of parameters. Required if center is not set", "disabled": true }, { "key": "path", "value": "fillcolor:#add8e6|weight:1|color:blue|17.452945,78.380055|17.452765,78.382026|17.452020,78.381375|17.452045,78.380846|17.452945,78.380055", "description": "Defines one or more paths to draw on the map. Path parameters are seperated by Pipe character. See below for the full list of parameters", "disabled": true }, { "key": "linejoin", "value": "round", "description": "Style for joining successive segments of all paths when the direction changes. Can be `bevel`, `round` or `miter`. Default is `miter`.", "disabled": true }, { "key": "linecap", "value": "round", "description": "Style for start and end points of path. Can be `butt`, `round` or `square`. Default is `butt`.", "disabled": true } ] } }, "response": [] } ], "description": "# Static Maps\n\nStatic maps are standalone images (in JPG or PNG format) that can be displayed on web and mobile devices without the aid of a mapping library or API. Our Static Maps API returns an image in response to an HTTP request. For each request, you can specify the map's location, size of the image, zoom level, type of map. You can also place markers or draw paths at locations on the map.\n\nYou can simply embed static map image within an `` tag's src attribute.\n\n

Usage

\n\nRequests can be sent to the following endpoint\n\n `GET https://maps.locationiq.com/v3/staticmap`\n\n

Query Parameters

\n\n\n Name | Description | Required | Values\n--------------- | ------------------- | ----- | -----------------\n key | Authentication key. | Yes | Access token\n center | Defines the center of the map. It takes a comma seperated value of a latitude, longitude pair. This parameter is required if `markers` are not defined. | Either | Latitude [`-90` to `90`], Longitude [`-180` to `180`] |\n zoom | Set the zoom level for the map. Required if markers are not present. Defaults to `18` | Yes | [`0` to `18`]\n scale | Affects the number of pixels that are returned. Defaults to `1`. | No | [`1`,`2`].\n size | Defines the rectangular dimensions of the map image. This parameter takes a string of the form `{width}x{height}`. Defaults to `300x300`.| No | <string>\n format | Defines the format of the resulting image. Defaults to `png`. | No | [`jpeg` | `jpg` | `png`]\n maptype | Defines the type of the map to construct. Only `roadmap` is supported at the moment. | No | <string>\n markers | Defines one or more markers to overlay on the map. Parameters are specified as `key:value` seperated by Pipe character. See below for the full list of parameters. Required if `center` is not set. | Either\n path | Defines one or more paths to draw on the map. Path parameters are seperated by Pipe character. See below for the full list of parameters | No\n\n### Markers\nMarkers are a type of overlay used to identify locations on the map. The `markers` parameter accepts a set of values in the following format:\n\n markers=icon:|markerStyles|markerLocation&markers=icon:|markerStyles|markerLocation\n\n\nFor using same icon-name for all markerLocations, you can send multiple markerLocations in the same markers parameter.\n\n markers=icon:|markerLocation|markerLocation|..\n\n\nBelow are the list of values that are accepted by markers param :\n\n* `icon` : Icon to use for the marker. Must choose one of the icons mentioned below. If an invalid icon is specified, the marker will not be rendered. Below are the available icon names :\n
\n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n
large-red-cutoutsmall-red-cutoutlarge-red-blanksmall-red-blank
large-blue-cutoutsmall-blue-cutoutlarge-blue-blanksmall-blue-blank
large-gray-cutout small-gray-cutoutlarge-gray-blanksmall-gray-blank
large-yellow-cutoutsmall-yellow-cutoutlarge-yellow-blanksmall-yellow-blank
large-purple-cutoutsmall-purple-cutoutlarge-purple-blanksmall-purple-blank
large-orange-cutoutsmall-orange-cutoutlarge-orange-blank small-orange-blank
large-green-cutoutsmall-green-cutoutlarge-green-blanksmall-green-blank
large-black-cutoutsmall-black-cutoutlarge-black-blanksmall-black-blank
\n* `markerLocation` : Each markerLocation param should contain latitude, longitude pair which defines the postion of the marker.\n * Example: `markers=icon:large-red-cutout|17.451377,78.379525|17.450419,78.381149`\n

\n* `markerStyles` : consists of visual attributes like size and color, which are used to display the markers on the map.\n * `size` : accepted values - [small, large]. Defaults to small.\n * `color` : accepted values - [blue, gray, red, yellow, orange, green, purple]. Defaults to red.\n * Example: `markers=size:small|color:red|17.451377,78.379525|17.450419,78.381149`\n\n### Paths\nThe path parameter defines a set of one or more locations connected by a path to overlay on the map image. The `path` parameter takes set of values in the following format:\n\n `path=pathStyles|pathLocation1|pathLocation2|... etc.` [See note below]\n\nBelow are the list of values that are accepted by path parameter :\n\n* `pathStyles` : consists of visual attributes to use when displaying the path.\n * `weight` : specifies the thickness of the path in pixels.\n * `color` : color of the path stroke (e.g. red, rgba(255,255,255,0.5), #0000ff)\n * `fillcolor` : color to use as the fill (e.g. red, rgba(255,255,255,0.5), #0000ff)\n * Example: `path=weight:2|color:blue|fillcolor:%23add8e6|17.452945,78.380055|17.452765,78.382026`\n* `pathLocation` : \n * Using coordinates: Each pathLocation parameter contains latitude, longitude pair seperated by comma.\n * Format: `path=lat1,lon1|lat2,lon2|`\n * Example: ```https://maps.locationiq.com/v3/staticmap?key=¢er=17.450419,78.381149&size=600x600&zoom=14&path=fillcolor:%2390EE90|weight:2|color:blue|17.452945,78.380055|17.452765,78.382026|17.452020,78.381375|17.452045,78.380846|17.452945,78.380055```\n * Using an encoded polyline: Prefix with `enc:` followed by the encoded polyline string\n * Format: `path=enc:¢er=17.450419,78.381149&size=600x600&zoom=14&path=fillcolor:%2390EE90|weight:2|color:blue|enc:}woiBkrk}Mb@iKtC`CEhBsD|C```\n\nNote:\nTo avoid decoding issues when using an encoded polyline in your request, we recommend that you place the style information first, followed by the polyline inside the path variable.\n\n## Errors\n\nFor all errors except authentication errors, the Static Map API returns the following blank image in `grey` to help preserve user experience. An error code is set in the HTTP Response code as per the [Errors section](#errors).\n\n\n\nAuthentication errors will return JSON in the format specified in the Errors section." } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }