Búsqueda de ubicación. API

La API de búsqueda de ubicaciones transforma coordenadas en direcciones legibles por humanos, lo que permite servicios de ubicación precisos para navegación, logística y más.

Acerca de la API:  

En el dinámico panorama de la tecnología moderna, la API de Búsqueda de Ubicación se ha convertido en una herramienta indispensable que cierra la brecha entre las coordenadas geográficas y la información de ubicación significativa. Estas APIs son un componente crucial de los servicios basados en la ubicación, proporcionando a los usuarios la capacidad de convertir datos de latitud y longitud en direcciones legibles por humanos, abriendo un sinfín de aplicaciones en diversas industrias.

En esencia, la geocodificación inversa es el proceso de convertir coordenadas geográficas en una dirección comprensible. Mientras que la geocodificación consiste en transformar direcciones en coordenadas, la geocodificación inversa realiza la operación inversa. La API de geocodificación inversa se convierte en el habilitador clave de esta transformación, proporcionando a los usuarios los medios para integrar esta funcionalidad sin problemas en sus aplicaciones.

La API de Búsqueda de Ubicación opera tomando valores de latitud y longitud como entrada y devolviendo información de dirección detallada como salida. Estas APIs acceden a extensas bases de datos que contienen datos de mapeo y ubicación, lo que les permite identificar con precisión la dirección correspondiente para un conjunto dado de coordenadas. El proceso implica emparejar las coordenadas de entrada con la ubicación conocida más cercana, extrayendo de un vasto repositorio de información geográfica.

Precisión y Exactitud: Las API de Búsqueda de Ubicación están diseñadas para entregar resultados precisos y exactos, asegurando que las direcciones convertidas reflejen la ubicación real. Este nivel de precisión es crucial para aplicaciones donde los detalles de ubicación juegan un papel crítico, como la navegación, la logística y los servicios de emergencia.

En conclusión, las API de Búsqueda de Ubicación son un testimonio del panorama en evolución de los servicios basados en la ubicación. Su capacidad para traducir coordenadas en direcciones significativas tiene implicaciones de gran alcance en diversas industrias, fomentando la innovación y la eficiencia en aplicaciones que dependen de información de ubicación precisa. A medida que la tecnología continúa avanzando, el papel de las API de Búsqueda de Ubicación está destinado a expandirse, abriendo nuevas posibilidades para todo tipo de usuarios.

 

¿Qué recibe esta API y qué proporciona su API (entrada/salida)?

Recibirá parámetros y le proporcionará un JSON.

 

¿Cuáles son los casos de uso más comunes de esta API?

  1. Aplicaciones de Navegación: Mejore las direcciones giro a giro convirtiendo coordenadas en direcciones legibles para una experiencia de usuario fluida.

    Logística y Entrega: Optimice la planificación de rutas y agilice las operaciones de entrega traduciendo coordenadas en direcciones precisas.

    Servicios de Emergencia: Identifique rápidamente la ubicación de incidentes para una respuesta rápida y precisa ante emergencias.

    Plataformas de Comercio Electrónico: Ofrezca servicios específicos de ubicación como promociones locales, localizadores de tiendas y recomendaciones personalizadas basadas en datos geográficos.

    Aplicaciones del Clima: Mejore los informes meteorológicos específicos de ubicación asociando coordenadas con direcciones precisas.

 

¿Hay alguna limitación en sus planes?

Aparte del número de llamadas a la API, no hay otras limitaciones.

Documentación de la API

Endpoints


Para usar este endpoint, debes indicar una latitud y una longitud en los parámetros.



                                                                            
GET https://zylalabs.com/api/3046/location+lookup+api/3221/reverse+geocode
                                                                            
                                                                        

Geocodificación inversa - Características del Endpoint

Objeto Descripción
lat [Requerido]
lon [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"datasource":{"sourcename":"openstreetmap","attribution":"© OpenStreetMap contributors","license":"Open Database License","url":"https://www.openstreetmap.org/copyright"},"name":"White House","country":"United States","country_code":"us","state":"District of Columbia","city":"Washington","postcode":"20500","district":"Ward 2","street":"Pennsylvania Avenue Northwest","housenumber":"1600","lon":-77.03655315,"lat":38.897699700000004,"state_code":"DC","distance":0,"result_type":"amenity","formatted":"White House, 1600 Pennsylvania Avenue Northwest, Washington, DC 20500, United States of America","address_line1":"White House","address_line2":"1600 Pennsylvania Avenue Northwest, Washington, DC 20500, United States of America","timezone":{"name":"America/New_York","offset_STD":"-05:00","offset_STD_seconds":-18000,"offset_DST":"-04:00","offset_DST_seconds":-14400,"abbreviation_STD":"EST","abbreviation_DST":"EDT"},"plus_code":"87C4VXX7+39","rank":{"importance":0.6347211541681101,"popularity":8.615793062435909},"place_id":"5136f405e3564253c0598490e2d2e7724340f00102f901fe44330e00000000c0020192030b576869746520486f757365"},"geometry":{"type":"Point","coordinates":[-77.03655315,38.897699700000004]},"bbox":[-77.0368537,38.8974908,-77.0362519,38.897911]}],"query":{"lat":38.897675,"lon":-77.036547,"plus_code":"87C4VXX7+39"}}
                                                                                                                                                                                                                    
                                                                                                    

Reverse Geocode - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/3046/location+lookup+api/3221/reverse+geocode?lat=38.897675&lon=-77.036547' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Para utilizar este endpoint, debes especificar una dirección en el parámetro.



                                                                            
GET https://zylalabs.com/api/3046/location+lookup+api/3222/geocode
                                                                            
                                                                        

Geocodificación. - Características del Endpoint

Objeto Descripción
address [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-77.036547,38.897675]},"properties":{"country_code":"us","housenumber":"1600","street":"Pennsylvania Avenue NW","country":"United States","county":"District of Columbia","datasource":{"sourcename":"openaddresses","attribution":"© OpenAddresses contributors","license":"BSD-3-Clause License"},"postcode":"20500","state":"District of Columbia","city":"Washington","suburb":"White House Grounds","state_code":"DC","lon":-77.036547,"lat":38.897675,"formatted":"1600 Pennsylvania Avenue NW, Washington, DC 20500, United States of America","address_line1":"1600 Pennsylvania Avenue NW","address_line2":"Washington, DC 20500, United States of America","timezone":{"name":"America/New_York","offset_STD":"-05:00","offset_STD_seconds":-18000,"offset_DST":"-04:00","offset_DST_seconds":-14400,"abbreviation_STD":"EST","abbreviation_DST":"EDT"},"plus_code":"87C4VXX7+39","result_type":"building","rank":{"popularity":8.615793062435909,"confidence":0.7,"confidence_city_level":1,"confidence_street_level":0.7,"match_type":"full_match"},"place_id":"5115713ac9564253c059e9b7af03e7724340c00203e203496f70656e6164647265737365733a616464726573733a75732f64632f7374617465776964652d6164647265737365732d636974792e6373763a61613533643462643066653239356265"}},{"type":"Feature","geometry":{"type":"Point","coordinates":[-76.981976,38.879213]},"properties":{"country_code":"us","housenumber":"1600","street":"Pennsylvania Avenue SE","country":"United States","county":"District of Columbia","datasource":{"sourcename":"openaddresses","attribution":"© OpenAddresses contributors","license":"BSD-3-Clause License"},"postcode":"20003","state":"District of Columbia","city":"Washington","suburb":"Barney Circle","state_code":"DC","lon":-76.981976,"lat":38.879213,"formatted":"1600 Pennsylvania Avenue SE, Washington, DC 20003, United States of America","address_line1":"1600 Pennsylvania Avenue SE","address_line2":"Washington, DC 20003, United States of America","timezone":{"name":"America/New_York","offset_STD":"-05:00","offset_STD_seconds":-18000,"offset_DST":"-04:00","offset_DST_seconds":-14400,"abbreviation_STD":"EST","abbreviation_DST":"EDT"},"plus_code":"87C5V2H9+M6","result_type":"building","rank":{"popularity":6.391268404135374,"confidence":0.7,"confidence_city_level":1,"confidence_street_level":0.7,"match_type":"full_match"},"place_id":"513e5dddb1d83e53c059e99b340d8a704340c00203e203496f70656e6164647265737365733a616464726573733a75732f64632f7374617465776964652d6164647265737365732d636974792e6373763a36396530353933646261343435366566"}},{"type":"Feature","geometry":{"type":"Point","coordinates":[-77.0280685,38.8951022]},"properties":{"country_code":"us","housenumber":"1600","street":"Pennsylvania Avenue Northwest","country":"United States","county":"District of Columbia","datasource":{"sourcename":"mixed"},"state":"District of Columbia","city":"Washington","suburb":"National Mall","state_code":"DC","lon":-77.0280685,"lat":38.8951022,"postcode":"20004","formatted":"1600 Pennsylvania Avenue Northwest, Washington, DC 20004, United States of America","address_line1":"1600 Pennsylvania Avenue Northwest","address_line2":"Washington, DC 20004, United States of America","timezone":{"name":"America/New_York","offset_STD":"-05:00","offset_STD_seconds":-18000,"offset_DST":"-04:00","offset_DST_seconds":-14400,"abbreviation_STD":"EST","abbreviation_DST":"EDT"},"plus_code":"87C4VXWC+2Q","result_type":"building","rank":{"popularity":8.06250055951683,"confidence":0.7,"confidence_city_level":1,"confidence_street_level":0.7,"match_type":"full_match"},"place_id":"510f63d2dfcb4153c059f0c979b592724340c00203e2031f6d697865643a616464726573733a706f6c796c696e653a3239353030343533"}},{"type":"Feature","properties":{"datasource":{"sourcename":"openstreetmap","attribution":"© OpenStreetMap contributors","license":"Open Database License","url":"https://www.openstreetmap.org/copyright"},"name":"Pennsylvania Avenue","country":"United States","country_code":"us","state":"District of Columbia","city":"Washington","postcode":"20045","district":"Ward 2","street":"Pennsylvania Avenue","lon":-77.0307713,"lat":38.895865,"state_code":"DC","formatted":"Pennsylvania Avenue, Washington, DC 20045, United States of America","address_line1":"Pennsylvania Avenue","address_line2":"Washington, DC 20045, United States of America","timezone":{"name":"America/New_York","offset_STD":"-05:00","offset_STD_seconds":-18000,"offset_DST":"-04:00","offset_DST_seconds":-14400,"abbreviation_STD":"EST","abbreviation_DST":"EDT"},"plus_code":"87C4VXW9+8M","result_type":"street","rank":{"importance":0.37500999999999995,"popularity":8.485326670419871,"confidence":0.5,"confidence_city_level":1,"confidence_street_level":1,"match_type":"match_by_street"},"place_id":"51f2c92f28f84153c059c6504eb4ab724340f00102f901e62cac2100000000c0020492031350656e6e73796c76616e6961204176656e7565"},"geometry":{"type":"Point","coordinates":[-77.0307713,38.895865]},"bbox":[-77.0308089,38.8958545,-77.0307313,38.8958753]},{"type":"Feature","geometry":{"type":"Point","coordinates":[-77.045926,38.901586]},"properties":{"country_code":"us","housenumber":"2019","street":"Pennsylvania Avenue","country":"United States","county":"District of Columbia","datasource":{"sourcename":"openstreetmap","attribution":"© OpenStreetMap contributors","license":"Open Database License","url":"https://www.openstreetmap.org/copyright"},"state":"District of Columbia","city":"Washington","suburb":"Downtown","state_code":"DC","lon":-77.045926,"lat":38.901586,"postcode":"20045","formatted":"2019 Pennsylvania Avenue, Washington, DC 20045, United States of America","address_line1":"2019 Pennsylvania Avenue","address_line2":"Washington, DC 20045, United States of America","timezone":{"name":"America/New_York","offset_STD":"-05:00","offset_STD_seconds":-18000,"offset_DST":"-04:00","offset_DST_seconds":-14400,"abbreviation_STD":"EST","abbreviation_DST":"EDT"},"plus_code":"87C4WX23+JJ","result_type":"building","rank":{"popularity":8.294584012183657,"confidence":0.5,"confidence_city_level":1,"confidence_street_level":1,"match_type":"full_match"},"place_id":"514f029b73f04253c0590744882b67734340f00102f901f878f90300000000c00203e203226f70656e7374726565746d61703a616464726573733a7761792f3636363831303830"}}],"query":{"text":"1600 Pennsylvania Ave Washington DC","parsed":{"housenumber":"1600","street":"pennsylvania ave","city":"washington","state":"dc","expected_type":"building"}}}
                                                                                                                                                                                                                    
                                                                                                    

Geocode - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/3046/location+lookup+api/3222/geocode?address=1600 Pennsylvania Ave Washington DC' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Búsqueda de ubicación. API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Búsqueda de ubicación. API FAQs

Para utilizar esta API, los usuarios deben ingresar una latitud y una longitud o una dirección.

La API de Búsqueda de Ubicación es una herramienta poderosa que permite la conversión de coordenadas geográficas (latitud y longitud) en direcciones legibles por humanos e información basada en la ubicación.

Hay diferentes planes que se adaptan a todos, incluyendo una prueba gratuita para una pequeña cantidad de solicitudes, pero su tarifa está limitada para prevenir el abuso del servicio.

Zyla ofrece una amplia gama de métodos de integración para casi todos los lenguajes de programación. Puedes utilizar estos códigos para integrarte con tu proyecto según lo necesites.

El endpoint GET Reverse Geocode devuelve información de dirección detallada, incluyendo la dirección formateada, ciudad, estado, país y código postal. El endpoint GET Geocode proporciona coordenadas geográficas (latitud y longitud) junto con la dirección formateada y detalles adicionales de la ubicación.

Los campos clave en la respuesta incluyen "formateado" (dirección completa), "ciudad", "estado", "país", "código postal", "lat" y "lon". Estos campos ayudan a los usuarios a identificar la ubicación precisa y su dirección legible por humanos.

Los datos de respuesta están estructurados como un objeto JSON que contiene una "FeatureCollection". Cada característica incluye propiedades como detalles de la dirección y coordenadas geográficas, lo que permite un fácil análisis e integración en aplicaciones.

El endpoint GET Reverse Geocode proporciona direcciones legibles por humanos a partir de coordenadas, mientras que el endpoint GET Geocode devuelve coordenadas a partir de direcciones. Ambos endpoints incluyen metadatos adicionales como códigos de país y zonas horarias.

La API utiliza datos de fuentes confiables como OpenStreetMap y OpenAddresses. Estas fuentes aseguran información geográfica completa y actualizada para una conversión de direcciones precisa.

Los usuarios pueden personalizar las solicitudes especificando la latitud y la longitud para la geocodificación inversa o una dirección para la geocodificación. Los parámetros adicionales pueden incluir filtros para tipos de datos específicos o regiones, dependiendo de las capacidades de la API.

Users can extract key fields like "formatted" for display purposes, "lat" and "lon" for mapping, and "city" or "state" for location-based services. This data can enhance applications in navigation, logistics, and emergency response.

Los casos de uso típicos incluyen mejorar las aplicaciones de navegación con direcciones legibles, optimizar las rutas de entrega, proporcionar servicios específicos de ubicación en el comercio electrónico y mejorar la respuesta a emergencias al identificar rápidamente las ubicaciones de los incidentes.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1.000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1.000 requests per month, this header will display 1.000.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3.600, it means 3.600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


APIs Relacionadas


También te puede interesar