Out of free searches?
Your free key includes 250 searches a month, and they come back on the 1st (UTC). To keep searching now, move to the Pro plan: $15/month for 5,000 searches, then $0.003 a search. Paid plans are billed through RapidAPI, and it takes about three minutes.
1. Subscribe on RapidAPI
Open the pricing page and log in to RapidAPI, or create a free account. Under Pro, click Subscribe and complete the checkout.
Open the RapidAPI pricing page
2. Copy your RapidAPI key
Open the API's Playground on RapidAPI: your key is already filled in as the X-RapidAPI-Key header. You can also find it under My Apps › default-application › Authorization.
3. Change two things in your code
The host, and the key header. The parameters and the JSON you get back stay exactly the same.
- curl -G 'https://api.serpgrab.com/search' \
- --data-urlencode 'q=pizza' \
- -H 'X-API-Key: sg_...'
+ curl -G 'https://google-serp-search-results-json.p.rapidapi.com/search' \
+ --data-urlencode 'q=pizza' \
+ -H 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
+ -H 'X-RapidAPI-Host: google-serp-search-results-json.p.rapidapi.com'Questions
Why RapidAPI? It handles payment, invoices and plan changes for us, so we can keep the price at a fifth of SerpApi's. You can cancel any time from your RapidAPI account.
What happens to my free key? Nothing: it gets its 250 searches back on the 1st, so you can keep it for testing.
Stuck? Email hello@serpgrab.com and we'll help.