How to Search Google in Spain
Set the country_code parameter to "es" in your Scavio API request. This returns Google search results localized to Spain, including local businesses, news sources, and Spanish-language results.
Python Example
import requests
response = requests.post(
"https://api.scavio.dev/api/v1/search",
headers={
"x-api-key": "your_scavio_api_key",
"Content-Type": "application/json",
},
json={
"query": "best restaurants",
"country_code": "es",
},
)
data = response.json()
for result in data.get("organic_results", [])[:5]:
print(f"{result['position']}. {result['title']}")
print(f" {result['link']}\n")cURL Example
curl -X POST "https://api.scavio.dev/api/v1/search" \
-H "x-api-key: your_scavio_api_key" \
-H "Content-Type: application/json" \
-d '{"query":"best restaurants","country_code":"es"}'Search Landscape in Spain
Google holds approximately 95% of the search engine market in Spain. Other search engines include Bing. The primary language for search results is Spanish.
Common Use Cases in Spain
- Price comparison — search Google in Spain for local price comparison data
- Local business search — search Google in Spain for local local business search data
- Tourism research — search Google in Spain for local tourism research data
API Parameters for Spain
| Parameter | Value | Description |
|---|---|---|
country_code | es | Localizes results to Spain |
query | Your search query | Can be in Spanish or English |
Why Use Scavio for Spain Search
- No proxy management. Scavio handles IP rotation and geo-targeting for Spain automatically.
- Localized results. Get the same results a user in Spain would see on Google.
- Structured JSON. No HTML parsing — get organic results, knowledge graphs, and PAA in clean JSON.
- Free tier. 500 credits/month, no credit card required. Each search costs 1 credit.