Base URL
Authentication
BearerAuth
Type: http
Send `Authorization: Bearer <token>`
/web
Search Google Web
Real-time Google-style Web search API for SEO, research, and AI agents. Returns titles, links, and snippets with geo/language tuning for precise analytics.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
query_text | string | query | Required | Search query text (keywords, phrases, operators). |
country_code | string | query | Required | ISO 3166-1 alpha-2 country code (e.g., US, CA, IN). |
lang_code | string | query | Required | BCP 47 language tag (e.g., en, fr-CA, hi). |
count | integer | query | Optional | Number of results to return (default varies by endpoint). |
safesearch | string | query | Optional | SafeSearch filter level. Default is `moderate`. Default: moderate |
Code Examples
curl --request GET \ --url 'https://api.pressmonitor.com/google/v1/web?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&safesearch=SOME_STRING_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
import requests url = "https://api.pressmonitor.com/google/v1/web" querystring = {"query_text":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","count":"SOME_INTEGER_VALUE","safesearch":"SOME_STRING_VALUE"} headers = {"Authorization": "Bearer REPLACE_BEARER_TOKEN"} response = requests.request("GET", url, headers=headers, params=querystring) print(response.text)
const http = require("https"); const options = { "method": "GET", "hostname": "api.pressmonitor.com", "port": null, "path": "/google/v1/web?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&safesearch=SOME_STRING_VALUE", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://api.pressmonitor.com/google/v1/web?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&safesearch=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.pressmonitor.com/google/v1/web?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&safesearch=SOME_STRING_VALUE", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer REPLACE_BEARER_TOKEN" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
Responses
Content-Type: application/json
[ { "title": "Donald Trump - Wikipedia", "href": "https://en.wikipedia.org/wiki/Donald_Trump", "body": "Donald John Trump (born June 14, 1946) is an American politician, media personality, and businessman who is the 47th president of the United States. A member of the Republican \u2026" }, { "title": "Presidency of Donald Trump - Wikipedia", "href": "https://en.wikipedia.org/wiki/Presidency_of_Donald_Trump", "body": "First presidency of Donald Trump ... Retrieved from \" https://en.wikipedia.org/w/index.php?title=Presidency_of_Donald_ Trump &oldid=1306649031 \"" } ]
/news
Search Google News
News search API for media intelligence and monitoring. Fetch time-stamped headlines with publisher source, image, and summary for real-time analytics.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
query_text | string | query | Required | Search query text (keywords, phrases, operators). |
country_code | string | query | Required | ISO 3166-1 alpha-2 country code (e.g., US, CA, IN). |
lang_code | string | query | Required | BCP 47 language tag (e.g., en, fr-CA, hi). |
count | integer | query | Optional | Number of results to return (default varies by endpoint). |
Code Examples
curl --request GET \ --url 'https://api.pressmonitor.com/google/v1/news?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
import requests url = "https://api.pressmonitor.com/google/v1/news" querystring = {"query_text":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","count":"SOME_INTEGER_VALUE"} headers = {"Authorization": "Bearer REPLACE_BEARER_TOKEN"} response = requests.request("GET", url, headers=headers, params=querystring) print(response.text)
const http = require("https"); const options = { "method": "GET", "hostname": "api.pressmonitor.com", "port": null, "path": "/google/v1/news?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://api.pressmonitor.com/google/v1/news?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.pressmonitor.com/google/v1/news?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer REPLACE_BEARER_TOKEN" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
Responses
Content-Type: application/json
[ { "date": "2025-09-07T15:02:00+00:00", "title": "Trump Tried to Kill the Infrastructure Law. Now He's Getting Credit for Its Projects.", "body": "Signs bearing President Trump's name have gone up at major construction projects financed by the 2021 law, which he strenuously opposed ahead of its passage.", "url": "https://www.nytimes.com/2025/09/07/us/trump-infrastructure-signs.html", "image": "https://static01.nyt.com/images/2025/09/07/multimedia/07NAT-Trump-signs-03-wzqp/07NAT-Trump-signs-03-wzqp-facebookJumbo.jpg", "source": "The New York Times" }, { "date": "2025-09-07T15:39:20+00:00", "title": "The GOP once labeled things like Trump's Eric Adams gambit a scandal", "body": "So many of the things President Donald Trump has done in his second term could have been scandals in any other political era - including his first term.", "url": "https://www.msn.com/en-us/politics/government/the-gop-once-labeled-things-like-trump-s-eric-adams-gambit-a-scandal/ar-AA1M3zab", "image": "https://media.cnn.com/api/v1/images/stellar/prod/gettyimages-2203435957.jpg?c=16x9&q=w_800,c_fill", "source": "CNN" } ]
/images
Search Google Images
Image search API with color, size, type, and layout filters. Ideal for content discovery, creative workflows, and AI enrichment.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
query_text | string | query | Required | Search query text (keywords, phrases, operators). |
country_code | string | query | Required | ISO 3166-1 alpha-2 country code (e.g., US, CA, IN). |
lang_code | string | query | Required | BCP 47 language tag (e.g., en, fr-CA, hi). |
count | integer | query | Optional | Number of results to return (default varies by endpoint). |
color | string | query | Optional | Dominant color filter. |
size | string | query | Optional | Image size filter. |
type_image | string | query | Optional | Image type filter. |
layout | string | query | Optional | Image layout/aspect preference. |
Code Examples
curl --request GET \ --url 'https://api.pressmonitor.com/google/v1/images?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&color=SOME_STRING_VALUE&size=SOME_STRING_VALUE&type_image=SOME_STRING_VALUE&layout=SOME_STRING_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
import requests url = "https://api.pressmonitor.com/google/v1/images" querystring = {"query_text":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","count":"SOME_INTEGER_VALUE","color":"SOME_STRING_VALUE","size":"SOME_STRING_VALUE","type_image":"SOME_STRING_VALUE","layout":"SOME_STRING_VALUE"} headers = {"Authorization": "Bearer REPLACE_BEARER_TOKEN"} response = requests.request("GET", url, headers=headers, params=querystring) print(response.text)
const http = require("https"); const options = { "method": "GET", "hostname": "api.pressmonitor.com", "port": null, "path": "/google/v1/images?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&color=SOME_STRING_VALUE&size=SOME_STRING_VALUE&type_image=SOME_STRING_VALUE&layout=SOME_STRING_VALUE", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://api.pressmonitor.com/google/v1/images?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&color=SOME_STRING_VALUE&size=SOME_STRING_VALUE&type_image=SOME_STRING_VALUE&layout=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.pressmonitor.com/google/v1/images?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&color=SOME_STRING_VALUE&size=SOME_STRING_VALUE&type_image=SOME_STRING_VALUE&layout=SOME_STRING_VALUE", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer REPLACE_BEARER_TOKEN" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
Responses
Content-Type: application/json
[ { "title": "Shiite leader's fatwa labels Trump and Netanyahu 'warlords' amid ...", "image": "https://a57.foxnews.com/static.foxnews.com/foxnews.com/content/uploads/2025/02/1200/675/netanyahu-trump.jpg?ve=1&tl=1", "thumbnail": "https://thf.bing.com/th/id/OIP.9yDoZz5q17c32NnQiONezgHaEK?r=0&cb=thfc1&pid=Api", "url": "https://www.foxnews.com/world/top-iranian-leader-issues-religious-ruling-against-trump-netanyahu", "height": 675, "width": 1200, "source": "Bing" }, { "title": "Gov. Newsom meeting Trump in DC to ask for more money for LA fire ...", "image": "https://static.foxnews.com/foxnews.com/content/uploads/2025/01/president-donald-trump-administration-california-widfires_003.jpg", "thumbnail": "https://thf.bing.com/th/id/OIP.CNpCyxLBthRtRhBKLyCdiQHaEK?r=0&cb=thfc1&pid=Api", "url": "https://www.foxnews.com/politics/california-gov-newsom-seek-more-federal-funds-la-fire-recovery-during-dc-meeting-trump", "height": 720, "width": 1280, "source": "Bing" }, { "title": "January 20, 2025: Trump sworn in, signs executive actions | CNN Politics", "image": "https://media.cnn.com/api/v1/images/stellar/prod/2025-01-20t170506z-653893305-rc2sdcamzd2k-rtrmadp-3-usa-trump-inauguration.JPG?c=16x9&q=w_800,c_fill", "thumbnail": "https://thf.bing.com/th/id/OIP.mygYPDPiBNX9BnKN1jaZsAHaEK?r=0&cb=thfc1&pid=Api", "url": "https://edition.cnn.com/politics/live-news/trump-inauguration-01-2025/", "height": 450, "width": 800, "source": "Bing" } ]
/videos
Search Google Videos
Video search API with duration/resolution filters for marketing, editorial, and AI pipelines. Returns metadata, thumbnails, embeds, and publisher info.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
query_text | string | query | Required | Search query text (keywords, phrases, operators). |
country_code | string | query | Required | ISO 3166-1 alpha-2 country code (e.g., US, CA, IN). |
lang_code | string | query | Required | BCP 47 language tag (e.g., en, fr-CA, hi). |
count | integer | query | Optional | Number of results to return (default varies by endpoint). |
timelimit | string | query | Optional | Relative time window (e.g., past day/week/month). |
duration | string | query | Optional | Video duration filter. |
resolution | string | query | Optional | Preferred video resolution. |
safesearch | string | query | Optional | SafeSearch filter level. Default is `moderate`. Default: moderate |
Code Examples
curl --request GET \ --url 'https://api.pressmonitor.com/google/v1/videos?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&timelimit=SOME_STRING_VALUE&duration=SOME_STRING_VALUE&resolution=SOME_STRING_VALUE&safesearch=SOME_STRING_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
import requests url = "https://api.pressmonitor.com/google/v1/videos" querystring = {"query_text":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","count":"SOME_INTEGER_VALUE","timelimit":"SOME_STRING_VALUE","duration":"SOME_STRING_VALUE","resolution":"SOME_STRING_VALUE","safesearch":"SOME_STRING_VALUE"} headers = {"Authorization": "Bearer REPLACE_BEARER_TOKEN"} response = requests.request("GET", url, headers=headers, params=querystring) print(response.text)
const http = require("https"); const options = { "method": "GET", "hostname": "api.pressmonitor.com", "port": null, "path": "/google/v1/videos?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&timelimit=SOME_STRING_VALUE&duration=SOME_STRING_VALUE&resolution=SOME_STRING_VALUE&safesearch=SOME_STRING_VALUE", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://api.pressmonitor.com/google/v1/videos?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&timelimit=SOME_STRING_VALUE&duration=SOME_STRING_VALUE&resolution=SOME_STRING_VALUE&safesearch=SOME_STRING_VALUE") .get() .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.pressmonitor.com/google/v1/videos?query_text=SOME_STRING_VALUE&country_code=SOME_STRING_VALUE&lang_code=SOME_STRING_VALUE&count=SOME_INTEGER_VALUE&timelimit=SOME_STRING_VALUE&duration=SOME_STRING_VALUE&resolution=SOME_STRING_VALUE&safesearch=SOME_STRING_VALUE", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer REPLACE_BEARER_TOKEN" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
Responses
Content-Type: application/json
[ { "title": "Funded from the ground up! \ud83d\udc77\u2640\ufe0f Emma...", "content": "https://www.facebook.com/expressmortgagesuk/videos/funded-from-the-ground-up-%EF%B8%8Femma-from-our-bridging-team-explains-how-we-helped-a-/721994097535772/", "description": "Express Mortgages. Express Mortgages \u00b7 Original audio. ...", "duration": "", "embed_html": "", "embed_url": "", "image_token": "8ec59c20...", "images": { "large": "https://tse3.mm.bing.net/th/id/OVF.hFcuQ5WujSq3OHHTjnPeqQ?pid=Api", "medium": "https://tse3.mm.bing.net/th/id/OVF.hFcuQ5WujSq3OHHTjnPeqQ?pid=Api", "motion": "", "small": "https://tse3.mm.bing.net/th/id/OVF.hFcuQ5WujSq3OHHTjnPeqQ?pid=Api" }, "provider": "Bing", "published": "2025-09-05T11:46:59.0000000", "publisher": "Facebook", "statistics": { "viewCount": 528 }, "uploader": "Express Mortgages" } ]
/map
Search Google Maps
Maps/places search for addresses, coordinates, hours, ratings, and websites. Ideal for location enrichment, compliance checks, and CRM enrichment.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
text | string | query | Required | Free-text place or business query. |
place | string | query | Required | Specific place context (city, landmark, or POI). |
street | string | query | Optional | |
city | string | query | Optional | |
county | string | query | Optional | |
state | string | query | Optional | |
country | string | query | Optional | |
postalcode | string | query | Optional | |
latitude | number | query | Optional | |
longitude | number | query | Optional | |
radius | integer | query | Optional | Search radius in meters. |
Code Examples
curl --request GET \ --url 'https://api.pressmonitor.com/google/v1/map?text=SOME_STRING_VALUE&place=SOME_STRING_VALUE&street=SOME_STRING_VALUE&city=SOME_STRING_VALUE&county=SOME_STRING_VALUE&state=SOME_STRING_VALUE&country=SOME_STRING_VALUE&postalcode=SOME_STRING_VALUE&latitude=SOME_NUMBER_VALUE&longitude=SOME_NUMBER_VALUE&radius=SOME_INTEGER_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
import requests url = "https://api.pressmonitor.com/google/v1/map" querystring = {"text":"SOME_STRING_VALUE","place":"SOME_STRING_VALUE","street":"SOME_STRING_VALUE","city":"SOME_STRING_VALUE","county":"SOME_STRING_VALUE","state":"SOME_STRING_VALUE","country":"SOME_STRING_VALUE","postalcode":"SOME_STRING_VALUE","latitude":"SOME_NUMBER_VALUE","longitude":"SOME_NUMBER_VALUE","radius":"SOME_INTEGER_VALUE"} headers = {"Authorization": "Bearer REPLACE_BEARER_TOKEN"} response = requests.request("GET", url, headers=headers, params=querystring) print(response.text)
const http = require("https"); const options = { "method": "GET", "hostname": "api.pressmonitor.com", "port": null, "path": "/google/v1/map?text=SOME_STRING_VALUE&place=SOME_STRING_VALUE&street=SOME_STRING_VALUE&city=SOME_STRING_VALUE&county=SOME_STRING_VALUE&state=SOME_STRING_VALUE&country=SOME_STRING_VALUE&postalcode=SOME_STRING_VALUE&latitude=SOME_NUMBER_VALUE&longitude=SOME_NUMBER_VALUE&radius=SOME_INTEGER_VALUE", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://api.pressmonitor.com/google/v1/map?text=SOME_STRING_VALUE&place=SOME_STRING_VALUE&street=SOME_STRING_VALUE&city=SOME_STRING_VALUE&county=SOME_STRING_VALUE&state=SOME_STRING_VALUE&country=SOME_STRING_VALUE&postalcode=SOME_STRING_VALUE&latitude=SOME_NUMBER_VALUE&longitude=SOME_NUMBER_VALUE&radius=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.pressmonitor.com/google/v1/map?text=SOME_STRING_VALUE&place=SOME_STRING_VALUE&street=SOME_STRING_VALUE&city=SOME_STRING_VALUE&county=SOME_STRING_VALUE&state=SOME_STRING_VALUE&country=SOME_STRING_VALUE&postalcode=SOME_STRING_VALUE&latitude=SOME_NUMBER_VALUE&longitude=SOME_NUMBER_VALUE&radius=SOME_INTEGER_VALUE", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer REPLACE_BEARER_TOKEN" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
Responses
Content-Type: application/json
/autocomplete
Search Google Maps
Maps/places search for addresses, coordinates, hours, ratings, and websites. Ideal for location enrichment, compliance checks, and CRM enrichment.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
text | string | query | Required | Free-text place or business query. |
place | string | query | Required | Specific place context (city, landmark, or POI). |
street | string | query | Optional | |
city | string | query | Optional | |
county | string | query | Optional | |
state | string | query | Optional | |
country | string | query | Optional | |
postalcode | string | query | Optional | |
latitude | number | query | Optional | |
longitude | number | query | Optional | |
radius | integer | query | Optional | Search radius in meters. |
Code Examples
curl --request GET \ --url 'https://api.pressmonitor.com/google/v1/map?text=SOME_STRING_VALUE&place=SOME_STRING_VALUE&street=SOME_STRING_VALUE&city=SOME_STRING_VALUE&county=SOME_STRING_VALUE&state=SOME_STRING_VALUE&country=SOME_STRING_VALUE&postalcode=SOME_STRING_VALUE&latitude=SOME_NUMBER_VALUE&longitude=SOME_NUMBER_VALUE&radius=SOME_INTEGER_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
import requests url = "https://api.pressmonitor.com/google/v1/map" querystring = {"text":"SOME_STRING_VALUE","place":"SOME_STRING_VALUE","street":"SOME_STRING_VALUE","city":"SOME_STRING_VALUE","county":"SOME_STRING_VALUE","state":"SOME_STRING_VALUE","country":"SOME_STRING_VALUE","postalcode":"SOME_STRING_VALUE","latitude":"SOME_NUMBER_VALUE","longitude":"SOME_NUMBER_VALUE","radius":"SOME_INTEGER_VALUE"} headers = {"Authorization": "Bearer REPLACE_BEARER_TOKEN"} response = requests.request("GET", url, headers=headers, params=querystring) print(response.text)
const http = require("https"); const options = { "method": "GET", "hostname": "api.pressmonitor.com", "port": null, "path": "/google/v1/map?text=SOME_STRING_VALUE&place=SOME_STRING_VALUE&street=SOME_STRING_VALUE&city=SOME_STRING_VALUE&county=SOME_STRING_VALUE&state=SOME_STRING_VALUE&country=SOME_STRING_VALUE&postalcode=SOME_STRING_VALUE&latitude=SOME_NUMBER_VALUE&longitude=SOME_NUMBER_VALUE&radius=SOME_INTEGER_VALUE", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://api.pressmonitor.com/google/v1/map?text=SOME_STRING_VALUE&place=SOME_STRING_VALUE&street=SOME_STRING_VALUE&city=SOME_STRING_VALUE&county=SOME_STRING_VALUE&state=SOME_STRING_VALUE&country=SOME_STRING_VALUE&postalcode=SOME_STRING_VALUE&latitude=SOME_NUMBER_VALUE&longitude=SOME_NUMBER_VALUE&radius=SOME_INTEGER_VALUE") .get() .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.pressmonitor.com/google/v1/map?text=SOME_STRING_VALUE&place=SOME_STRING_VALUE&street=SOME_STRING_VALUE&city=SOME_STRING_VALUE&county=SOME_STRING_VALUE&state=SOME_STRING_VALUE&country=SOME_STRING_VALUE&postalcode=SOME_STRING_VALUE&latitude=SOME_NUMBER_VALUE&longitude=SOME_NUMBER_VALUE&radius=SOME_INTEGER_VALUE", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer REPLACE_BEARER_TOKEN" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
Responses
Content-Type: application/json