Enrich API Documentation
  • Introduction
    • Authentication
    • Rate Limit
    • Credit Usage
  • Reference
    • Check Credit Usage
    • Email to Profile data
    • Email to IP
    • Email Finder
    • Profile URL to Work Email V2
    • Profile URL to Personal Email
    • Verify Emails—Even Behind Catch-Alls
    • Company Lookup
    • Company Funding and Traffic
    • Linkedin Public Profile Enrichment
    • Phone Number Finder
    • Find post details by URL
    • Search Posts
    • Bulk enrichment
    • Email to Phone Number
    • Email to Person Lite
    • Reverse email append
    • Disposable/Spam Email Check
    • IP to Company
    • Logo API
    • Search People Activities
    • Search Company Activities
    • Search Post Reactions
    • Search Post Reactions by URL
    • Search Post Comments
    • Search Post Comments by URL
    • Search Company
    • Search Similar Companies
    • Search People
    • Sales Pointer - Dynamic Filters
    • Sales Pointer - People
    • Sales Pointer - People by URL
    • Sales Pointer - Company
    • Sales Pointer - Company by URL
    • Search Company Employees
    • Search Jobs
    • Web search
    • Serp Search
    • News Search
    • Maps Search
    • Places Search
    • Videos Search
    • Shopping Search
    • Image Search
  • Changelog
Powered by GitBook
On this page
  1. Reference

Places Search

Find places effortlessly with our Places Search API. Provide a query, and our algorithm fetches detailed information about locations, businesses, and landmarks from multiple reliable sources.

cURL 'https://api.enrich.so/v1/api/search-places-on-google?query=Inspiration&page=1&page_size=10' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'
const axios = require('axios');

axios.get('https://api.enrich.so/v1/api/search-places-on-google?query=Adventure&page=1&page_size=10', {
    headers: {accept: 'application/json', Authorization: 'Bearer <token>'}
})
  .then(response => {
    console.log(response.data);
  })
  .catch(error => {
    console.log(error);
  });
import requests
payload = {'query': 'Adventure', 'page': 1, 'page_size': 10}
headers = {'accept': 'application/json', 'authorization': 'Bearer <token>'}
resp = requests.get('https://api.enrich.so/v1/api/search-places-on-google', params=payload, headers=headers)
print (resp.text)
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.enrich.so/v1/api/search-places-on-google?query=Adventure&page=1&page_size=10")
  .get()
  .addHeader("accept", "application/json")
  .addHeader("authorization", "Bearer <token>")
  .build();

Response response = client.newCall(request).execute();
require 'uri'
require 'net/http'

url = URI("https://api.enrich.so/v1/api/search-places-on-google?query=Adventure&page=1&page_size=10")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = 'application/json'
request["authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.enrich.so/v1/api/search-places-on-google?query=Adventure&page=1&page_size=10",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: application/json",
    "authorization: Bearer <token>"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}

Example response

Status Code: 200 OK

{
    "success": true,
    "message": "Search successfully executed.",
    "data": {
        "request_parameters": {
            "query": "\"Adventure\"",
            "type": "places",
            "current_page": 1,
            "engine": "bing"
        },
        "result": [
            {
                "position": 1,
                "title": "Mystic Adventure Park",
                "address": "123 Forest Lane, Mystic, CT 06355",
                "latitude": 41.354263,
                "longitude": -71.965628,
                "rating": 4.7,
                "ratingCount": 1500,
                "category": "Adventure park",
                "phoneNumber": "(860) 123-4567",
                "website": "https://mysticadventurepark.com",
                "cid": "8471627354578236190"
            },
            {
                "position": 2,
                "title": "SkyHigh Ropes Course",
                "address": "234 Mountain Drive, Ellicottville, NY 14731",
                "latitude": 42.269517,
                "longitude": -78.667846,
                "rating": 4.5,
                "ratingCount": 1120,
                "category": "Ropes course",
                "phoneNumber": "(716) 123-9876",
                "website": "https://skyhighadventures.com",
                "cid": "7493628472946712345"
            },
            {
                "position": 3,
                "title": "Adventure Island Water Park",
                "address": "456 Ocean Breeze Way, Tampa, FL 33612",
                "latitude": 28.052070,
                "longitude": -82.418207,
                "rating": 4.3,
                "ratingCount": 3050,
                "category": "Water park",
                "phoneNumber": "(813) 555-7890",
                "website": "https://adventureisland.com",
                "cid": "6541238976543210789"
            },
            {
                "position": 4,
                "title": "Thrill Zone",
                "address": "789 Adventure Road, Denver, CO 80205",
                "latitude": 39.761850,
                "longitude": -104.975350,
                "rating": 4.0,
                "ratingCount": 540,
                "category": "Amusement center",
                "phoneNumber": "(303) 444-5678",
                "website": "https://thrillzone.com",
                "cid": "5689743216540987321"
            }
        ]
    },
    "total_credits": 200,
    "credits_used": 65.3,
    "credits_remaining": 134.7
}

Status code: 404 NOT FOUND

{
    "message": "We couldn't find the results for this query"
}
PreviousMaps SearchNextVideos Search

Last updated 4 months ago