Spec's
Spec's Search API
Search Spec's Wines, Spirits & Finer Foods, the Texas liquor chain, and get each product's online price, case price and case quantity, promotion and Keyclub flags, stock, brand, size, category, SKU and UPC. Prices are in cents (3155 = $31.55). For every store's price, call Spec's Product with the result's slug. Costs 5 credits per request.
POST/api/v1/specs/search
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonquerystringrequiredSearch keywords.
Example: titos
pageintegerResults page, 1-based. 24 results per page.
Example: 1
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.specs.search("titos")
for p in results["data"]["products"]:
print(p["name"], p["size"], f"${p['price'] / 100:.2f}", p["slug"])Response
"query": "titos",
"page": 1,
"total_results": 62,
"total_pages": 3,
"count": 24,
},
"response_time": 6244
}