100 free credits. No credit card required. Get a key

Etsy search suggestions API

What Etsy’s search box suggests for a partial query, in Etsy’s order.

GET /v1/etsy/search/suggestions1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/etsy/search/suggestions?query=mug",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"results": [
{
"query": "mug",
"search_types": [],
"search_type_names": []
},
{
"query": "mug gift",
"search_types": [],
"search_type_names": []
},
"… 10 more"
],
"count": 12,
"experiment": "off",
"prefetch_query": false
}

Parameters

NameTypeDescription
queryquery · requiredstringPartial search. Example: mug.
Response fields

200 with a EtsySuggestions, in Etsy’s own suggestions JSON.

FieldTypeDescription
resultsobject[]
Status codes
StatusMeaning
200Suggestions.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404Nothing matched.
429Too many requests. Wait for Retry-After seconds.
503Etsy is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Etsy is a trademark of Etsy, Inc. We are not affiliated with or endorsed by Etsy.