Skip to main content
For AI agents: a documentation index is available at https://docs.parallel.ai/llms.txt. The full text of all docs is at https://docs.parallel.ai/llms-full.txt. You may also fetch any page as Markdown by appending .md to its URL or sending Accept: text/markdown.For Search and Extract, use /v1/search and /v1/extract for all new integrations and agent tool calls. Use /v1beta/search and /v1beta/extract only when maintaining an existing integration that already uses them. The request bodies changed too: on /v1/extract, full_content, fetch_policy and excerpt_settings go inside advanced_settings, and sending the v1beta top-level excerpts, full_content and fetch_policy to /v1/extract returns a 422. Do not substitute /v1 for the documented FindAll or Ingest endpoint paths.
The Place Search API finds places of interest matching a query in or near a location. Results include the address, phone number, coordinates, distance from the search center, price level, weekly opening hours, and a rating tier. Use Place Search when an agent or application needs to find, compare or recommend local businesses and points of interest: “coffee near Union Square”, “24 hour pharmacy in 94110”, or “museums in Cambridge, UK that are open now”.

1. Set Up Prerequisites

Generate your API key on Platform, then export it:
The Python example below uses requests (pip install requests). Send what to find as query and where to look as location: one city, neighborhood, address, or postal code per request. To search around a point instead, send latitude and longitude.

Sample Request

This request uses the default advanced mode. Add "mode": "fast" for the lowest latency and cost. See Place Search Modes.

Request Options

  • open_now: only places open at request time, in each place’s own time zone. Places with unknown hours are left out.
  • max_distance_km: only places within this distance of the search center.
  • max_results: up to 20 (default 10).
  • mode: advanced (default) or fast.
Without max_distance_km, the search radius fits the location, up to 25 km. See Best Practices for every request field.

Sample Response

The API returns a JSON response with the following structure. The results array below is shortened to one place. Fields that are not known for a place, such as its rating, are left out.

Next Steps