Google Search API
Google Search API for live results in your application.
Get live Google search results as JSON or source HTML, with location and device targeting, pagination, and Python and JavaScript examples. 100 free credits, no card required.
From query to JSON
import requests
response = requests.post(
"https://api.prismcrawl.com/v1/google/search",
headers={"x-api-key": "YOUR_API_KEY"},
json={"query": "coffee shops", "gl": "us", "hl": "en-US", "device": "mobile"},
timeout=30,
)
response.raise_for_status()
content = response.json()["data"]["content"]
for result in content["results"]:
print(result["rank"], result["title"], result["url"])Control the result context
- gl and Google domain for market context
- hl for interface language; lr for result-language restrictions
- Named location or latitude/longitude plus radius
- Desktop, tablet, or mobile device
- Web, news, images, and supported search tabs
- Safe search and native Google filters
Understand the response
SERP features
Pagination
Google search automation for SEO and applications
Rank tracking
AI agents and discovery
Cross-engine research
Replacing the Custom Search JSON API
Google Search API pricing and evaluation
One-time credit purchases start at $5, with no subscription. Rates range from $0.30 to $0.15 per 1,000 successful searches; the lowest rate requires a $1000 purchase. Credits are valid for 90 days. See the SERP API pricing breakdown for package sizes, rate limits, and usage examples.
Invoice payments are welcome for purchases of $100 or more. Visit Invoices to request an invoice.
Compare output, localization, latency, and purchase commitments in the best SERP APIs comparison. Use the calculator to budget searches across keywords, devices, and locations.
Implementation paths
Frequently asked questions
What does PrismCrawl’s Google Search API do?
Send a query to PrismCrawl and receive live Google search results as normalized JSON or encoded source HTML. It is a third-party SERP API; use the documented PrismCrawl endpoint and authentication.
Can I use it from Python or JavaScript?
Yes. Call the HTTP API with Python requests or server-side JavaScript fetch. Keep the API key on your server. The implementation guides cover authentication, response parsing, pagination, and errors.
How do location and language controls work?
Google requests support country, named location or coordinates, and device controls. hl sets interface language; lr restricts result-document languages. Save the same parameters for repeatable comparisons.
Are the results live, and are failures charged?
PrismCrawl runs live, uncached searches. Each successful search uses one credit; errors are free. Pagination requests are billed separately when successful.
Is the Google Search API free to try?
Yes. New accounts get 100 free credits with no credit card, enough for 100 successful Google searches. After that, credits are one-time purchases with no subscription.
Can I build a Google rank tracker?
Yes. Match target domains to returned organic positions, schedule searches in your application, and store comparable observations over time. SERP features should be tracked separately from organic ranks.
Make your first live search today.
Create an account, get 100 free credits, and test live Google or Bing results. No credit card or subscription required.