Skip to main content
Instacart links require retailer: "instacart" and intent: "product_detail", intent: "shopping_list", or intent: "recipe". Your API key must include the retailers:instacart scope.

Retailer routing

For Instacart, the top-level retailer: "instacart" identifies the link provider — not the grocery store. Choose which store the shopper lands on with options.instacart. Use GET /v1/retailers to find the values accepted by each Instacart link type.
The response includes intent-specific usage:
  • Use usage.shoppingList.retailerId as options.instacart.retailerId for shopping list links.
  • Use usage.recipe.retailerId as options.instacart.retailerId for recipe links.
  • Use usage.productDetail.retailer as options.instacart.retailer for product detail links.

Specific store

Use routingMode: "specific" when you know the exact store. For product detail links, send retailer with the Instacart store slug. Incarts appends it as retailerSlug on the Instacart product URL. For shopping list and recipe links, provide retailerId (the Instacart numeric ID) for precise routing.

Preferred stores

Use routingMode: "preferred" with an ordered list of store slugs. Incarts tries each in order.

No preference

Use routingMode: "no_preference" (the default) to let Instacart choose the store automatically.
Set intent: "product_detail" and provide exactly one item in products. Use the Instacart product ID from the /products/{id} path, not a UPC. For a retailer-specific product page such as https://www.instacart.com/products/98343-pepsi-cola-16-9-fl-oz?retailerSlug=walgreens, send retailerProductId: "98343" and options.instacart.retailer: "walgreens".
Set intent: "shopping_list" and provide options.instacart.shoppingList with a title and line items.

Shopping list fields

Set intent: "recipe" and provide options.instacart.recipe with a title and ingredients.

Recipe fields

Landing page configuration

Line item and ingredient fields

Shopping list line items and recipe ingredients share the same field structure.

Filters

Create link endpoint

Full schema, request playground, and response codes.

Find retailers endpoint

Search supported Instacart retailers and copy the right routing values.