Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Meijer Product Page

https://api.sandbase.ai/v1/api/meijer/scrape/product

Extract structured data from a Meijer product page URL: price, availability and product details, optionally localized by ZIP code.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON bất đồng bộ
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Full Meijer page URL, e.g. https://www.meijer.com/shopping/product/highlighters-4pk/71928356637.html Định dạng: URL đầy đủ.
ZIP or postal code used for localized pricing and availability.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Meijer Product Page

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.

Use cases

  • Look up the UPC and brand of a Meijer product from its page URL to match it against another catalog.
  • Check whether an item is eligible for curbside pickup or home delivery.
  • Collect product images and descriptions to fill a product database.
  • Check whether an item is active, age restricted or eligible for food stamps.

Request

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.

Parameters

NameTypeRequiredDescription
urlstringYesFull Meijer page URL, e.g. https://www.meijer.com/shopping/product/highlighters-4pk/71928356637.html
zipCodestringNoZIP or postal code used for localized pricing and availability.

Example response

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
  }
}

Response fields

FieldMeaning
product.productNameDisplay name of the product on the Meijer page.
product.productId / product.upcMeijer's internal product ID and the product's UPC barcode number. upcTypeName gives the barcode type, such as UPCA.
product.brandName / product.brandDescriptionBrand of the product.
product.categoryComma-separated category path from broad department to specific type.
product.productDescription / product.productDetails / product.descriptiveFeaturesShort descriptive text for the product, in different lengths and wording.
product.productMedia[].urlImage URL. Each entry also has width and height, so you can pick a size, and isDefault marks default images.
product.isCurbsideEligible / product.isHomeDeliveryAvailableWhether the item can be ordered for curbside pickup or home delivery.
product.isFoodStampEligible / product.isAlcohol / product.isProductAgeRestrictedEligibility and restriction flags for the item.
product.productStatus / product.isBusinessActiveListing status of the product. The sample value for productStatus is ACT.
product.soldByUnit / product.unitOfMeasureQuantityUnit the item is sold in and the quantity per unit. The sample shows EA and 1.

Notes

  • Copy the url from a Meijer product page. The number before .html in the sample URL matches the upc value in the response.
  • Add zipCode to localize the result. Fields that are not set for a product come back as null.
  • The sample response has no price field. Product details and fulfillment flags are present.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Meijer$0.01 mỗi lần gọiJSON bất đồng bộ

Câu hỏi

FAQ

Làm thế nào để dùng API Meijer Product Page?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/meijer/scrape/product với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Meijer Product Page có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Meijer Product Page chấp nhận những tham số nào?

Bắt buộc: url (string). Tùy chọn: zipCode (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Meijer Product Page trả về gì?

Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất. README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Meijer không?

Không. Meijer Product Page chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Meijer.