The API uses the information entered by the user to suggest possible matches for a given query, based on the users location. This means that custom applications can be created for the user to type in a query and receive the autocomplete they want, the API provides feedback, displaying suggestions based on the text entered so far. This feature helps to reduce typing errors and save time for users by presenting them with relevant suggestions as they type.
Another important feature of the Predictive Search API is that it offers multi-country support. This means that developers can easily localize their applications to support different countries and cultures, making it easier for users to search for places like their own countries.
The API also supports a wide range of location types, such as countries from the US to India, addresses, points of interest and others. This means that developers can use the API to search for a wide variety of different places, depending on the needs of their application.
Overall, Predictive Search API is a powerful tool for developers who want to integrate predictive search features into their applications. Thanks to its support for multiple countries and regions, its wide range of place types. The API offers a complete solution for developers wishing to enhance the user experience of their applications.
What your API receives and what your API provides (input/output)?
It will receive parameters and provide you with a JSON.
E-commerce: Many e-commerce websites use the autocomplete locations API to allow customers to search for nearby stores or pickup locations based on their address. This helps customers find the nearest store and speeds up the checkout process.
Travel: Travel and tourism websites use the autocomplete places API to suggest popular landmarks, tourist attractions and hotels to users as they enter their destination. This makes it easier for travelers to plan their trips and find nearby points of interest.
Food Delivery: Food delivery apps use the Place Autocomplete API to suggest nearby restaurants and food delivery options to customers. This helps customers find the nearest restaurant offering the food they are looking for.
Real Estate: Real estate websites use the Place Autocomplete API to allow users to search for properties by location. This makes it easy for users to search for properties that match their preferences in a specific area.
Job search: Job search websites use the Place Autocomplete API to suggest nearby job locations to job seekers. This helps job seekers find job openings in a specific area and narrow down their search.
Besides API call limitations per month, there are no other limitations.
To use this endpoint you must insert in the parameter a word or letters of the place you want to be autocompleted and you must also insert the radius.
Get place autocomplete - Endpoint Features
Object | Description |
---|---|
input |
[Required] |
radius |
[Required] |
{
"predictions" :
[
{
"description" : "Delaware, USA",
"matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "ChIJO9YMTXYFx4kReOgEjBItHZQ",
"reference" : "ChIJO9YMTXYFx4kReOgEjBItHZQ",
"structured_formatting" :
{
"main_text" : "Delaware",
"main_text_matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "USA"
},
"terms" :
[
{
"offset" : 0,
"value" : "Delaware"
},
{
"offset" : 10,
"value" : "USA"
}
],
"types" :
[
"administrative_area_level_1",
"political",
"geocode"
]
},
{
"description" : "Delhi-6, Parkhurst Plaza, Ashburn, VA, USA",
"matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "ChIJq8bRo8Q-tokREkwNSEudcTU",
"reference" : "ChIJq8bRo8Q-tokREkwNSEudcTU",
"structured_formatting" :
{
"main_text" : "Delhi-6",
"main_text_matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "Parkhurst Plaza, Ashburn, VA, USA"
},
"terms" :
[
{
"offset" : 0,
"value" : "Delhi-6"
},
{
"offset" : 9,
"value" : "Parkhurst Plaza"
},
{
"offset" : 26,
"value" : "Ashburn"
},
{
"offset" : 35,
"value" : "VA"
},
{
"offset" : 39,
"value" : "USA"
}
],
"types" :
[
"restaurant",
"food",
"point_of_interest",
"establishment"
]
},
{
"description" : "Delhi, India",
"matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "ChIJLbZ-NFv9DDkRQJY4FbcFcgM",
"reference" : "ChIJLbZ-NFv9DDkRQJY4FbcFcgM",
"structured_formatting" :
{
"main_text" : "Delhi",
"main_text_matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "India"
},
"terms" :
[
{
"offset" : 0,
"value" : "Delhi"
},
{
"offset" : 7,
"value" : "India"
}
],
"types" :
[
"administrative_area_level_1",
"political",
"geocode"
]
},
{
"description" : "Delirium Café-Leesburg, South King Street, Leesburg, VA, USA",
"matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "ChIJjaI_j9YXtokRYZyy9Fj1fds",
"reference" : "ChIJjaI_j9YXtokRYZyy9Fj1fds",
"structured_formatting" :
{
"main_text" : "Delirium Café-Leesburg",
"main_text_matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "South King Street, Leesburg, VA, USA"
},
"terms" :
[
{
"offset" : 0,
"value" : "Delirium Café-Leesburg"
},
{
"offset" : 24,
"value" : "South King Street"
},
{
"offset" : 43,
"value" : "Leesburg"
},
{
"offset" : 53,
"value" : "VA"
},
{
"offset" : 57,
"value" : "USA"
}
],
"types" :
[
"bar",
"cafe",
"restaurant",
"food",
"point_of_interest",
"establishment"
]
},
{
"description" : "Delicioso Sterling, West Church Road, Sterling, VA, USA",
"matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "ChIJ3T2iIPk4tokRNjqunOYl03c",
"reference" : "ChIJ3T2iIPk4tokRNjqunOYl03c",
"structured_formatting" :
{
"main_text" : "Delicioso Sterling",
"main_text_matched_substrings" :
[
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "West Church Road, Sterling, VA, USA"
},
"terms" :
[
{
"offset" : 0,
"value" : "Delicioso Sterling"
},
{
"offset" : 20,
"value" : "West Church Road"
},
{
"offset" : 38,
"value" : "Sterling"
},
{
"offset" : 48,
"value" : "VA"
},
{
"offset" : 52,
"value" : "USA"
}
],
"types" :
[
"restaurant",
"food",
"point_of_interest",
"store",
"establishment"
]
}
],
"status" : "OK"
}
curl --location --request GET 'https://zylalabs.com/api/1808/predictive+search+api/1462/get+place+autocomplete?input=del&radius=500' --header 'Authorization: Bearer YOUR_API_KEY'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
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 1000 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 1000 requests per month, this header will display 1000.
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 3600, it means 3600 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 let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.
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 trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.
Service Level:
100%
Response Time:
194ms
Service Level:
100%
Response Time:
91ms
Service Level:
100%
Response Time:
1,026ms
Service Level:
100%
Response Time:
6,358ms
Service Level:
100%
Response Time:
2,585ms
Service Level:
100%
Response Time:
759ms
Service Level:
100%
Response Time:
541ms
Service Level:
100%
Response Time:
350ms
Service Level:
100%
Response Time:
3,679ms
Service Level:
100%
Response Time:
179ms
Service Level:
100%
Response Time:
1,402ms
Service Level:
100%
Response Time:
1,319ms
Service Level:
100%
Response Time:
4,658ms
Service Level:
100%
Response Time:
297ms
Service Level:
100%
Response Time:
954ms
Service Level:
100%
Response Time:
912ms
Service Level:
100%
Response Time:
1,821ms