CORE APIS
Autocomplete
Suggest places and features while people type, before they finish the sentence.
Endpoint
GET
/api/v1/suggestions?query=Dubai%20MarAuthenticationUse a key with autocomplete permission:
Manage API keys Authorization: Bearer <key>.curl https://nabdaq.dev/api/v1/suggestions?query=2%20bed%20in%20dubai%20mar \
-H "Authorization: Bearer YOUR_API_KEY"Using suggestions
Send the last few words people typed. replace is the part of query (in code points) a suggestion's text takes the place of. Suggestions help people write; they are never filters themselves: parse the sentence once it is written.
Answers that include open-data places carry an attribution field; show it where you show the suggestion.