Skip to content
Search Lab
Shopping · United States · English Change
Country
Language
Sort
Condition
Page
Shopping · curl
curl -G https://www.searchapi.io/api/v1/search \
  -H "Authorization: Bearer $SEARCHAPI_API_KEY" \
  --data-urlencode 'engine=google_shopping' \
  --data-urlencode 'gl=us' \
  --data-urlencode 'hl=en' \
  --data-urlencode 'q=espresso machine'

The key is read from SEARCHAPI_API_KEY and sent as a Bearer token.