---
title: "Bulk pricing analysis (async)"
method: POST
path: "/v1/pricing/bulk"
tags: ["Pricing"]
---

# Bulk pricing analysis (async)

`POST /v1/pricing/bulk`

## Request

- Base URL: `https://api.shopfront.app`
- URL: `https://api.shopfront.app/v1/pricing/bulk`
- Auth: HTTP bearer

Submit up to 100 items for async pricing analysis.
Returns a `batchId` immediately — poll `GET /v1/pricing/bulk/{batchId}` for results.

Each item receives the same analysis as the single `/v1/pricing/analyze` endpoint.

**Results:** Available for 24 hours after batch creation.

## Request body

- object
  - `items` object[], required
    - `id` string, required: Client-provided ID for correlating results
    - `imageUrl` string, uri, required: Product image URL
    - `productName` string: Optional product name (improves accuracy)
    - `brand` string: Optional known brand
  - `options` object
    - `targetCurrency` string
    - `includeCompetitors` boolean

## Response `202`

Batch created, processing started

- object
  - `batchId` string, uuid
  - `totalItems` integer
  - `sent` integer: Items successfully queued
  - `failed` integer: Items that failed to queue
  - `status` 'processing'
  - `statusUrl` string, uri: URL to poll for results

## Other responses

- `400`: Invalid request
- `401`: Unauthorized - missing or invalid token
- `402`: Monthly usage limit reached or billing blocked
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/shopfront/apis/shopfront-public-api.md) - [All operations](https://skmtc.dev/shopfront/apis/shopfront-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shopfront/apis/shopfront-public-api/revisions/4dbfb90550d4?raw)
