Created
April 15, 2025 18:51
-
-
Save AndrewSepic/f1e5a4d512e07af983463fb20fead10a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'https://api.mapbox.com/search/searchbox/v1/suggest?q=Stuttgart&session_token=0daf4062-cd1f-44f1-8963-aa923ee06696&language=de&proximity=-73.990593%2C40.740121&access_token=YOUR_MAPBOX_ACCESS_TOKEN' | jq '.' | |
{ | |
"suggestions": [ | |
{ | |
"name": "Stuttgart", | |
"mapbox_id": "dXJuOm1ieHBsYzpCSlFvT2c", | |
"feature_type": "place", | |
"place_formatted": "Baden-Württemberg, Deutschland", | |
"context": { | |
"country": { | |
"id": "dXJuOm1ieHBsYzpJam8", | |
"name": "Deutschland", | |
"country_code": "DE", | |
"country_code_alpha_3": "DEU" | |
}, | |
"region": { | |
"id": "dXJuOm1ieHBsYzpBZ1E2", | |
"name": "Baden-Württemberg", | |
"region_code": "BW", | |
"region_code_full": "DE-BW" | |
} | |
}, | |
"language": "de", | |
"maki": "marker", | |
"metadata": {}, | |
"distance": 6295405 | |
}, | |
{ | |
"name": "Stuttgart Airport", | |
"name_preferred": "Flughafen Stuttgart", | |
"mapbox_id": "dXJuOm1ieHBvaToxMGY2YTJiNi1mOTM1LTQ5MWYtYTUyZi03MDYyMTVjOTc1NzE", | |
"feature_type": "poi", | |
"address": "Flughafenstraße 32", | |
"full_address": "Flughafenstraße 32, 70629 Leinfelden-Echterdingen, Deutschland", | |
"place_formatted": "70629 Leinfelden-Echterdingen, Deutschland", | |
"context": { | |
"country": { | |
"name": "Deutschland", | |
"country_code": "DE", | |
"country_code_alpha_3": "DEU" | |
}, | |
"postcode": { | |
"id": "dXJuOm1ieHBsYzpBbWN1T2c", | |
"name": "70629" | |
}, | |
"place": { | |
"id": "dXJuOm1ieHBsYzpBcmlJT2c", | |
"name": "Leinfelden-Echterdingen" | |
}, | |
"address": { | |
"name": "Flughafenstraße 32", | |
"address_number": "32", | |
"street_name": "flughafenstraße" | |
}, | |
"street": { | |
"name": "flughafenstraße" | |
} | |
}, | |
"language": "de", | |
"maki": "marker", | |
"poi_category": [ | |
"flughafen" | |
], | |
"poi_category_ids": [ | |
"airport" | |
], | |
"external_ids": { | |
"dataplor": "fdf78e3a-bda6-4866-ab6b-10aad9b246df", | |
"iata": "STR", | |
"golden": "airport-STR" | |
}, | |
"metadata": {}, | |
"distance": 6300446, | |
"operational_status": "active" | |
}, | |
{ | |
"name": "Ray's Stuttgart Collision Works", | |
"mapbox_id": "dXJuOm1ieHBvaTplZGNkYTVkZS02NGVlLTQ4MjUtYTJlNC0wOTU0YTMwZTcxODY", | |
"feature_type": "poi", | |
"address": "6109 32nd Ave", | |
"full_address": "6109 32nd Ave, Woodside, New York 11377, Vereinigte Staaten", | |
"place_formatted": "Woodside, New York 11377, Vereinigte Staaten", | |
"context": { | |
"country": { | |
"name": "Vereinigte Staaten", | |
"country_code": "US", | |
"country_code_alpha_3": "USA" | |
}, | |
"region": { | |
"name": "New York", | |
"region_code": "NY", | |
"region_code_full": "US-NY" | |
}, | |
"postcode": { | |
"id": "dXJuOm1ieHBsYzpBYTV1N0E", | |
"name": "11377" | |
}, | |
"place": { | |
"id": "dXJuOm1ieHBsYzpEZTVJN0E", | |
"name": "New York City" | |
}, | |
"locality": { | |
"id": "dXJuOm1ieHBsYzpHeHRLN0E", | |
"name": "Queens" | |
}, | |
"neighborhood": { | |
"id": "dXJuOm1ieHBsYzpLK25NN0E", | |
"name": "Woodside" | |
}, | |
"address": { | |
"name": "6109 32nd Ave", | |
"address_number": "6109", | |
"street_name": "32nd ave" | |
}, | |
"street": { | |
"name": "32nd ave" | |
} | |
}, | |
"language": "de", | |
"maki": "car-repair", | |
"poi_category": [ | |
"mechaniker", | |
"dienstleistungen" | |
], | |
"poi_category_ids": [ | |
"auto_repair", | |
"services" | |
], | |
"external_ids": { | |
"dataplor": "48ab1341-9ee3-449b-8899-181788fb535a" | |
}, | |
"metadata": {}, | |
"distance": 7739, | |
"operational_status": "active" | |
}, | |
{ | |
"name": "Stuttgart TV Tower", | |
"name_preferred": "Fernsehturm Stuttgart", | |
"mapbox_id": "dXJuOm1ieHBvaTozNWNiMmEyYi03N2M4LTRmMjUtOGU1Ny1lYzNmMWFlNjk0Yjg", | |
"feature_type": "poi", | |
"address": "Jahnstraße 120", | |
"full_address": "Jahnstraße 120, 70597 Stuttgart, Deutschland", | |
"place_formatted": "70597 Stuttgart, Deutschland", | |
"context": { | |
"country": { | |
"name": "Deutschland", | |
"country_code": "DE", | |
"country_code_alpha_3": "DEU" | |
}, | |
"postcode": { | |
"id": "dXJuOm1ieHBsYzpBbVp1T2c", | |
"name": "70597" | |
}, | |
"place": { | |
"id": "dXJuOm1ieHBsYzpCSlFvT2c", | |
"name": "Stuttgart" | |
}, | |
"address": { | |
"name": "Jahnstraße 120", | |
"address_number": "120", | |
"street_name": "jahnstraße" | |
}, | |
"street": { | |
"name": "jahnstraße" | |
} | |
}, | |
"language": "de", | |
"maki": "attraction", | |
"poi_category": [ | |
"touristenattraktion" | |
], | |
"poi_category_ids": [ | |
"tourist_attraction" | |
], | |
"external_ids": { | |
"dataplor": "dfab08b6-72f0-4fcc-924c-f43568e99d11" | |
}, | |
"metadata": {}, | |
"distance": 6297091, | |
"operational_status": "active" | |
}, | |
{ | |
"name": "Stuttgart Hauptbahnhof", | |
"mapbox_id": "dXJuOm1ieHBvaToyMmJlNWUyYS1hOTkwLTRjODYtYTViOS1jNzc1ODMwNWZmNTc", | |
"feature_type": "poi", | |
"address": "Arnulf-Klett-Platz 2", | |
"full_address": "Arnulf-Klett-Platz 2, 70173 Stuttgart, Deutschland", | |
"place_formatted": "70173 Stuttgart, Deutschland", | |
"context": { | |
"country": { | |
"name": "Deutschland", | |
"country_code": "DE", | |
"country_code_alpha_3": "DEU" | |
}, | |
"postcode": { | |
"id": "dXJuOm1ieHBsYzpBbUtPT2c", | |
"name": "70173" | |
}, | |
"place": { | |
"id": "dXJuOm1ieHBsYzpCSlFvT2c", | |
"name": "Stuttgart" | |
}, | |
"address": { | |
"name": "Arnulf-Klett-Platz 2", | |
"address_number": "2", | |
"street_name": "arnulf-klett-platz" | |
}, | |
"street": { | |
"name": "arnulf-klett-platz" | |
} | |
}, | |
"language": "de", | |
"maki": "rail", | |
"poi_category": [ | |
"bahnhof", | |
"transport" | |
], | |
"poi_category_ids": [ | |
"railway_station", | |
"transportation" | |
], | |
"external_ids": { | |
"dataplor": "512832b2-671c-48c4-a744-92c096fecba9" | |
}, | |
"metadata": {}, | |
"distance": 6295254, | |
"operational_status": "active" | |
} | |
], | |
"attribution": "© 2025 Mapbox and its suppliers. All rights reserved. Use of this data is subject to the Mapbox Terms of Service. (https://www.mapbox.com/about/maps/)", | |
"response_id": "dvCsu_xXi66rMTotPSVuv-BpZZ9hSm0IUTDrnXFEl9dA61bLuvxDS0YIA5FK7lkdqVpfGRv4UzXhxIAnz2jKtGev8DCmlyFzAPHt" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment