urlstringआवश्यक
Full Meijer page URL, e.g. https://www.meijer.com/shopping/product/highlighters-4pk/71928356637.html
https://api.sandbase.ai/v1/api/meijer/scrape/productExtract structured data from a Meijer product page URL: price, availability and product details, optionally localized by ZIP code.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns structured data for one Meijer product page, including name, brand, UPC, category, images and fulfillment flags. It needs the full product page url, and accepts an optional zipCode for localized results.
curl -X POST "https://api.sandbase.ai/v1/api/meijer/scrape/product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.meijer.com/shopping/product/highlighters-4pk/71928356637.html"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full Meijer page URL, e.g. https://www.meijer.com/shopping/product/highlighters-4pk/71928356637.html |
zipCode | string | No | ZIP or postal code used for localized pricing and availability. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"product": {
"brandDescription": "Meijer",
"brandName": "MEIJER",
"category": "HARDLINES,SCHOOL HOME OFFICE,WRITING INSTRUMENTS,HIGHLIGHTERS",
"colorGeneral": "Assorte",
"colorSpecific": null,
"countryOfOrigin": null,
"descriptiveFeatures": "Thin Chisel Tip Highlighters Assorted 4PK",
"disclaimer": "Statements regarding dietary supplements have not been evaluated by the Food and…",
"eventType": null,
"hasMPerks": false,
"ingredients": null,
"isAlcohol": false
}
}
| Field | Meaning |
|---|---|
product.productName | Display name of the product on the Meijer page. |
product.productId / product.upc | Meijer's internal product ID and the product's UPC barcode number. upcTypeName gives the barcode type, such as UPCA. |
product.brandName / product.brandDescription | Brand of the product. |
product.category | Comma-separated category path from broad department to specific type. |
product.productDescription / product.productDetails / product.descriptiveFeatures | Short descriptive text for the product, in different lengths and wording. |
product.productMedia[].url | Image URL. Each entry also has width and height, so you can pick a size, and isDefault marks default images. |
product.isCurbsideEligible / product.isHomeDeliveryAvailable | Whether the item can be ordered for curbside pickup or home delivery. |
product.isFoodStampEligible / product.isAlcohol / product.isProductAgeRestricted | Eligibility and restriction flags for the item. |
product.productStatus / product.isBusinessActive | Listing status of the product. The sample value for productStatus is ACT. |
product.soldByUnit / product.unitOfMeasureQuantity | Unit the item is sold in and the quantity per unit. The sample shows EA and 1. |
url from a Meijer product page. The number before .html in the sample URL matches the upc value in the response.zipCode to localize the result. Fields that are not set for a product come back as null.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/meijer/scrape/product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.meijer.com/shopping/product/highlighters-4pk/71928356637.html"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
urlstringआवश्यकFull Meijer page URL, e.g. https://www.meijer.com/shopping/product/highlighters-4pk/71928356637.html
zipCodestringZIP or postal code used for localized pricing and availability.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Meijer Product Pageयह API Meijer | $0.01 प्रति कॉल | असिंक्रोनस JSON |
प्रश्न
https://api.sandbase.ai/v1/api/meijer/scrape/product पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: url (string)। वैकल्पिक: zipCode (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है। इस पेज का README एक sample response शामिल करता है।
नहीं। Meijer Product Page SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Meijer API access के लिए आवेदन करने की आवश्यकता नहीं है।