1 endpoint. All requests need an x-api-key header.
GET
/v1/google/searchSearch
Performs a Google search and returns organic results with url, title, and description for each result. Supports an optional region parameter (2-letter country code) to get localized results from a specific country. Pages 1 through 11 are supported; requests for page 12 or greater return a 400 response.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
queryrequired | string | Search query Example: news |
region | string | 2 letter country code, ie US, UK, CA, etc This will show results from that country Example: US |
date_posted | string | Date posted One of: last-hourlast-daylast-weeklast-monthlast-year Example: last-hour |
page | number | Page number to retrieve. Must be between 1 and 11; page 12 or greater returns a 400 response. Example: 1 |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/google/search?query=news" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/google/search?query=news", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/google/search",
params={"query": "news"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())