Target
Target Search API
Search Target.com, the US retailer, and get back structured product rows: price and regular price, sale and savings, ratings, DPCI and TCIN, brand, images, badges and promotions, plus the facet tree Target offers for the query. Prices and availability reflect the store you pass in store_id. Costs 1 credit per request.
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/jsonkeywordstringrequiredSearch keyword, 1-500 characters.
Example: airpods
pageintegerResults page, 1-based. Minimum 1. Use it with total_pages from the response.
countintegerdefault:24Results per page, 1-28. Target rejects anything above 28 outright, so 28 is a hard ceiling rather than a soft one.
Example: 28
sortenum<string>default:relevanceResult sort order. The response echoes the applied sort back as sort_by.
relevance— Target's default keyword relevance.featured— Target's merchandised order.price_low— Price, lowest first.price_high— Price, highest first.rating_high— Guest rating, highest first.best_seller— Best selling first.newest— Newest arrivals first.
store_idstringdefault:3991Numeric Target store id whose prices and availability the response reflects. 3991 is the store target.com itself uses with no store context. Unlike Walmart, this is a real request parameter here: the store is the caller's choice.
Example: 3991
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.target.search("airpods", count=28)
print(results)Response