Google maps

Start a search on Google Maps

Changed on

Start a background search for local businesses or other places of interest on Google Maps, polled for results and able to collect far more than one page. Describe the search either with 'query' plus 'strategy', or with a 'googleMapsUrl' copied from the address bar of a Google Maps search. For a single page of results returned immediately, use POST /v1/google-maps/search instead.

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

<span>💰 <strong>Cost:</strong> 3 credits per business found <span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

post/v1/google-maps-search/start

Request

  • Base URL
    https://api.fiber.ai
  • URL
    https://api.fiber.ai/v1/google-maps-search/start
  • Auth
    none declared

Request body

apiKeystring required

Your Fiber API key

namestring nullable

An optional name for the project for reference purposes.

querystring nullable

The search query to run on Google Maps. Do not include a location info here. Examples: 'dominos pizza', 'real estate agent'. Omit this when you pass a Google Maps URL instead.

googleMapsUrlstring uri nullable

A link to a Google Maps search, taken from the address bar after searching. The search term and the area to search are read from the link. The term is used exactly as it appears in the link, so it may name a location even though you should leave locations out of 'query' — the area to search comes from the link, not from the term. Omit this when you pass a query and strategy instead.

maxResultsinteger

The maximum number of Google Maps results to return.

Response

Default Response

advicestring[] nullable

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

Changes

    • info

      added the new optional request property

    • info

      the request property became nullable

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      added subschema #4 to the request property oneOf list

    • 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