Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

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.

價格
$0.01美元/次呼叫
方法
POST
回應
非同步 JSON
參數
1 個必填 · 1 個選填

Playground

輸入
Full Meijer page URL, e.g. https://www.meijer.com/shopping/product/highlighters-4pk/71928356637.html 格式:完整網址。
ZIP or postal code used for localized pricing and availability.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

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.

探索更多

相關 APIs

所有 APIs
API價格回應
Meijer每次呼叫 $0.01非同步 JSON

問題

常見問題

我要如何使用 Meijer Product Page API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/meijer/scrape/product。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Meijer Product Page API 的費用是多少?

每次 $0.01,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Meijer Product Page API 接受哪些參數?

必要:url (string)。 選填:zipCode (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Meijer Product Page API 會回傳什麼?

JSON 結果。此端點為非同步執行,因此回應會告訴您如何取得完成的結果。 本頁的 README 包含範例回應。

我需要 Meijer 開發者帳號或 API 金鑰嗎?

不需要。Meijer Product Page 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Meijer API 存取權。