Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Target Product

API दस्तावेज़
https://api.sandbase.ai/v1/api/target/product

Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response.

मूल्य
से $0.00085USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 1 वैकल्पिक

प्लेग्राउंड

इनपुट
Target product page URL; the TCIN after /A- identifies the product (e.g. https://www.target.com/p/-/A-91863920).
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `availability`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Target Product API

Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "target/product", "url": "https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
urlstringYesTarget product page URL; the TCIN after /A- identifies the product (e.g. https://www.target.com/p/-/A-91863920).
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example availability, and it is served only by a source that returns every o

Pricing

Billed at the actual cost of each call, about $0.00085 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Target Productयह API
Target
$0.00085 प्रति कॉल सेJSON
Target$0.00085 प्रति कॉल सेJSON
Target$0.015 प्रति कॉलअसिंक्रोनस JSON

प्रश्न

FAQ

Target Product API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/target/product पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Target Product API की लागत कितनी है?

$0.00085 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Target Product API कौन-से parameters स्वीकार करती है?

आवश्यक: url (string)। वैकल्पिक: requireFields (array)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Target Product API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।

क्या मुझे एक Target developer account या API key चाहिए?

नहीं। Target Product SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Target API access के लिए आवेदन करने की आवश्यकता नहीं है।