Search

Shopping Search

Search product/shopping results.

Endpoint#

GEThttps://api.searlo.tech/api/v1/search/shopping

Credits: 1 per request

Parameters#

ParameterTypeRequiredDescription
qstringYesSearch query (1–500 chars)
limitnumberNoResults (1–55, default: 55)
glstringNoCountry code, max 5 chars (e.g. us)
hlstringNoInterface language code, max 5 chars (e.g. en)

Response#

JSON
{  "success": true,  "searchParameters": { "q": "wireless earbuds", "type": "shopping", "gl": "us", "hl": "en" },  "shopping": [    { "title": "Wireless Earbuds Pro", "price": "$79.99", "source": "example-store.com", "link": "https://..." }  ],  "source": "searlo.tech(google)"}

If no products are found you get a 200 with "shopping": []. If results are temporarily unavailable you get a 503 with "retryable": true.

Examples

curl "https://api.searlo.tech/api/v1/search/shopping?q=wireless+earbuds&gl=us" \  -H "x-api-key: sk_your_api_key"
const res = await fetch(  "https://api.searlo.tech/api/v1/search/shopping?q=wireless+earbuds&gl=us",  { headers: { "x-api-key": process.env.SEARLO_API_KEY } });console.log((await res.json()).shopping);
import osimport requests res = requests.get(    "https://api.searlo.tech/api/v1/search/shopping",    params={"q": "wireless earbuds", "gl": "us"},    headers={"x-api-key": os.environ["SEARLO_API_KEY"]})print(res.json()["shopping"])

Stuck? Write to [email protected], or check live status.