Google Search · curl
curl -G https://www.searchapi.io/api/v1/search \ -H "Authorization: Bearer $SEARCHAPI_API_KEY" \ --data-urlencode 'engine=google' \ --data-urlencode 'q=most popular programming language'curl -G https://www.searchapi.io/api/v1/search \ -H "Authorization: Bearer $SEARCHAPI_API_KEY" \ --data-urlencode 'engine=google' \ --data-urlencode 'q=most popular programming language'
The key is read from SEARCHAPI_API_KEY and sent as a Bearer token.