Typeaheads

Location typeahead

Changed on

Get the latitude/longitude of a given city, including prefixes (e.g. 'san fr'). This makes it good for typeaheads in your UI.

<span>⚡ <strong>Rate limit:</strong> 240 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> 1 credit per request <span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

post/v1/typeahead/location

Request

  • Base URL
    https://api.fiber.ai
  • URL
    https://api.fiber.ai/v1/typeahead/location
  • Auth
    none declared

Request body

apiKeystring required

Your Fiber API key

querystring required

The search query for a location. Accepts a city name or ZIP/postal code, either complete (e.g. 'New York') or partial (e.g. 'san fr'). Neighborhoods, street addresses, states, and countries are not supported.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • info

      the response's property default value was removed for the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property / to the response with the status