{ "info": { "_postman_id": "2ee638c5-159f-4592-89f0-fa004aede1f9", "name": "LocationIQ Collection v1.1.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.php?key={{Your_API_Key}}&q=Empire State Building&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "search.php" ], "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": "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 Germany. Defaults to 0 [0,1]", "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.php?key={{Your_API_Key}}&q=Empire State Building&format=json&countrycodes=us", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "search.php" ], "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": "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 Germany. Defaults to 0 [0,1]", "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.php?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.php" ], "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": "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 Germany. Defaults to 0 [0,1]", "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.php?key={{Your_API_Key}}&postalcode=10001&countrycodes=us&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "search.php" ], "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": "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 Germany. Defaults to 0 [0,1]", "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": { "id": "424c4334-e9e9-44d2-b1ee-fff9e431ef1b", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "d56dfa61-c966-41a3-a596-b69a71780c54", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Reverse Geocoding", "item": [ { "name": "Using Lat & Lon", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/reverse.php?key={{Your_API_Key}}&lat=40.7487727&lon=-73.9849336&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "reverse.php" ], "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": "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 Germany. Defaults to 0 [0,1]", "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": [] }, { "name": "Using OSM ID & Type", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/reverse.php?key={{Your_API_Key}}&osm_type=W&osm_id=34633854&format=json", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "reverse.php" ], "query": [ { "key": "key", "value": "{{Your_API_Key}}", "description": "Authentication key." }, { "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" }, { "key": "osm_id", "value": "34633854", "description": "A specific osm node / way / relation to return 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": "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": "", "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": "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": "0", "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 Germany. Defaults to 0 [0,1]", "disabled": true } ] }, "description": "It takes OSM ID & Type as input.\n\n> Reverse geocoding with OSM ID & Type is the process of converting an object represented by OSM ID and Type ( node, way and relations [N,W,R] ) 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": { "id": "3378cb19-1f0f-4398-8783-dd1385a774c2", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "3d0159d9-f528-44f7-b053-967192d86be7", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Autocomplete API", "item": [ { "name": "General usage", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/autocomplete.php?key={{Your_API_Key}}&q=Empire State", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "autocomplete.php" ], "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 specific of country.", "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 4 languages: English en, French fr, German de and Italian it. If you'd like us to add support for a specific language, please reach out.", "disabled": true }, { "key": "tag", "value": "place", "description": "Restricts the autocomplete search results to elements of specific OSM class and type. Example - To restrict results to only class place and type city: tag=place:city,\nTo restrict the results to all of OSM class place: tag=place", "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.php?key={{Your_API_Key}}&q=Empire State&countrycodes=in", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "autocomplete.php" ], "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": "in", "description": "Limit search to a specific of country." }, { "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 4 languages: English en, French fr, German de and Italian it. If you'd like us to add support for a specific language, please reach out.", "disabled": true }, { "key": "tag", "value": "place", "description": "Restricts the autocomplete search results to elements of specific OSM class and type. Example - To restrict results to only class place and type city: tag=place:city,\nTo restrict the results to all of OSM class place: tag=place", "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.php?key={{Your_API_Key}}&q=Empire State&viewbox=-132.84908,47.69382,-70.44674,30.82531", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "autocomplete.php" ], "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": "", "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 specific of country.", "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 4 languages: English en, French fr, German de and Italian it. If you'd like us to add support for a specific language, please reach out.", "disabled": true }, { "key": "tag", "value": "place", "description": "Restricts the autocomplete search results to elements of specific OSM class and type. Example - To restrict results to only class place and type city: tag=place:city,\nTo restrict the results to all of OSM class place: tag=place", "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": { "id": "0ce3190c-3dda-4c1b-8cac-61d718d931f0", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "155a21f4-523d-4c74-9295-797864136894", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Directions Service", "item": [ { "name": "Directions API", "item": [ { "name": "General usage", "event": [ { "listen": "prerequest", "script": { "id": "4b4e3594-0460-4fd3-bd23-823b0936692a", "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": { "id": "4b4e3594-0460-4fd3-bd23-823b0936692a", "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": [ { "description": "One of the following values: directions, matching, matrix, nearest", "key": "service", "value": "directions" }, { "description": "Mode of transportation. Only driving is supported at the moment.", "key": "profile", "value": "driving" }, { "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", "key": "coordinates", "value": "-0.16102,51.523854;-0.15797,51.52326;-0.161593,51.522550" } ] }, "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": { "id": "d93c0659-ad27-40a5-8db0-5569fb3b4b2f", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "18b86ec1-78c8-447a-8477-fa2049848f0f", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "Matching API", "item": [ { "name": "General usage", "event": [ { "listen": "prerequest", "script": { "id": "4b4e3594-0460-4fd3-bd23-823b0936692a", "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": { "id": "62f07de7-b538-4a4b-9595-28f1eee1b891", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "b7555596-b1ff-4bf3-bead-5c15ff873115", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "Matrix API", "item": [ { "name": "Genral usage", "event": [ { "listen": "prerequest", "script": { "id": "4b4e3594-0460-4fd3-bd23-823b0936692a", "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": { "id": "11ca1eca-3302-4554-80b2-319777227626", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "edaecb3b-da60-48f6-bdeb-ec878a3abbd8", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "Nearest API", "item": [ { "name": "General usage", "event": [ { "listen": "prerequest", "script": { "id": "4b4e3594-0460-4fd3-bd23-823b0936692a", "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" }, { "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": { "id": "1839cdcd-ea25-4128-9f84-17ae5050804a", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "3692a729-06c1-4797-af17-4dc81a066a00", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true } ], "protocolProfileBehavior": {} }, { "name": "Balance API", "item": [ { "name": "General usage", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/balance.php?key={{Your_API_Key}}", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "balance.php" ], "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": { "id": "f8173964-e4b1-4ef0-b790-cc756ca93ac5", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "24d4b714-f5c2-49a5-b103-143f159b1445", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Nearby API", "item": [ { "name": "PoI - railway station", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/nearby.php?key={{Your_API_Key}}&lat=40.7484284&lon=-73.9856546&tag=railway_station", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "nearby.php" ], "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": "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": "Countries - General usage", "request": { "method": "GET", "header": [], "url": { "raw": "{{LocationIQ_Endpoint_URL}}/v1/nearby.php?key={{Your_API_Key}}&lat=40.7484284&lon=-73.9856546&radius=400000&tag=countries", "host": [ "{{LocationIQ_Endpoint_URL}}" ], "path": [ "v1", "nearby.php" ], "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": "400000", "description": "Radius (in meters) from the given latitude and longitude. Limited to 5,000,000 meters (5000 KM / 3106 miles)" }, { "key": "tag", "value": "countries", "description": "(optional) defaults to country. [countries]" } ] }, "description": "The Nearby Countries API returns countries whose geographic borders lie within a given radius." }, "response": [] } ], "description": "The Nearby Points of Interest (PoI) API returns specified PoIs or Places around a given coordinate.\r\n", "event": [ { "listen": "prerequest", "script": { "id": "37d7cd3b-052e-4272-bfd2-357124031b46", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "44966eba-8e61-48fd-bbee-13ac49925dcf", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} } ], "event": [ { "listen": "prerequest", "script": { "id": "9d153fc3-3ec1-4bb8-8ceb-883d80e7546d", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "d50e9a68-ed13-4c47-95e5-8520d54df388", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": [] }