Scraping Bot Animated

scrapingbot

Bath & Body Works Scraper API

Extract structured product data from public Bath & Body Works pages as JSON. Send a product URL and get the title, price, currency, stock status and brand back.

Get your API keyRead the documentation500 free credits per month, no card required.

Decide before you build

Endpoint
POST /scrape/retail
Scrapers
Bath & Body Works product pages
Cost
from 1 credit / call
Free plan
500 credits / month
Call pattern
sync, POST
On failure
credits refunded
Response format
JSON
Concurrency
by plan tier

E-commerce & Retail requests are synchronous. Cost depends on the options selected for the request.

Try the Bath & Body Works scraper on your own targetRun a request against a public product page and inspect the JSON before you integrate.

Open the live test

What you get back

product data

Bath & Body Works data in JSON

Fields returned for the Bath & Body Works page of the response example below. They can vary from one page to another.

  • Title, description and images
  • Price, currency and stock status
  • Brand
  • Category path
Request options

Control how the page is collected

Use rendering or proxy options only when the target requires them.

  • JavaScript rendering with useChrome
  • Premium proxy and country targeting
  • Public URL input; no account login required
  • Structured JSON in the same response

Call the Bath & Body Works scraper

Send a public product URL to the E-commerce & Retail endpoint. The API returns the result in the same response.

Step 1Submit the Bath & Body Works product URL and only the options required by the target.
bash
# POST - scrape a public product page
curl -X POST "https://api.scraping-bot.io/scrape/retail" \
  -u "yourUsername:yourApiKey" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.bathandbodyworks.com/p/fresh-balsam-3-wick-candle-028033945",
  "options": {
    "useChrome": false,
    "premiumProxy": true
  }
}'

Code example

Authenticate with your ScrapingBot username and API key, then read the returned JSON.

const auth = "Basic " + Buffer.from("yourUsername:yourApiKey").toString("base64");

const response = await fetch("https://api.scraping-bot.io/scrape/retail", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: auth },
  body: JSON.stringify({ url: "https://www.bathandbodyworks.com/p/fresh-balsam-3-wick-candle-028033945", options: { useChrome: false, premiumProxy: true } }),
});

const result = await response.json();

Run this call in two minutesCreate an account, copy your API key, then use the example above.

Get your API key

Request parameters

ParameterTypeDefaultDescription
urlstring—Full public page URL, including https://.
options.useChromebooleanfalseRender JavaScript when the target page requires a browser.
options.premiumProxybooleanfalseUse a premium proxy for targets that require it.
options.proxyCountrystring—Country targeting with a premium proxy.

Response example

Response returned for the public Bath & Body Works product page used in the request example, with long lists shortened. Available fields vary with the target page.

json
{
  "data": {
    "title": "Fresh Balsam 3-Wick Candle",
    "description": "Up to 45 hours of room-filling scent.An even, consistent burn from start to finish.Expertly crafted with a high concentration of rich fragrance oils, evenly dispersed in our exclusive soy wax blend. Ideal for larger rooms and spaces.Three premium lead-free wicks are hand selected to bring the bes…",
    "image": "https://www.bathandbodyworks.com/on/demandware.static/-/Sites-master-catalog/default/dwe93d652b/crop/028033945_crop.jpg",
    "price": 22.95,
    "shippingFees": null,
    "currency": "USD",
    "isInStock": true,
    "EAN13": null,
    "ASIN": null,
    "ISBN": null,
    "color": null,
    "brand": "Bath & Body Works",
    "category": {
      "name": "Fresh Balsam 3-Wick Candle",
      "url": "https://www.bathandbodyworks.com/p/fresh-balsam-3-wick-candle-028033945"
    },
    "categories": [
      {
        "name": "Home",
        "url": "https://www.bathandbodyworks.com/"
      },
      {
        "name": "Candles",
        "url": "https://www.bathandbodyworks.com/g/all-candles"
      },
      {
        "name": "3-Wick Candles",
        "url": "https://www.bathandbodyworks.com/c/all-candles/3-wick-candles"
      },
      {
        "name": "Fresh Balsam 3-Wick Candle",
        "url": "https://www.bathandbodyworks.com/p/fresh-balsam-3-wick-candle-028033945"
      }
    ],
    "siteURL": "https://www.bathandbodyworks.com/p/fresh-balsam-3-wick-candle-028033945",
    "siteHtml": null,
    "productHasVariations": null,
    "statusCode": 200,
    "isFinished": null,
    "isDead": null,
    "htmlLength": 940170,
    "captchaFound": true,
    "isHtmlPage": true,
    "host": "www.bathandbodyworks.com",
    "images": [
      "https://www.bathandbodyworks.com/on/demandware.static/-/Sites-master-catalog/default/dwe93d652b/crop/028033945_crop.jpg"
    ],
    "originalPrice": null
  }
}

Credits, failures and limits

CaseCreditsNotes
Standard requestfrom 1 credit / callCurrent plans start at this rate.
JavaScript renderingAdditional creditsEnable only when the target requires it.
Premium proxyAdditional creditsUse for targets that require a premium proxy.
Unsuccessful requestNot deductedOnly successful requests count towards the monthly limit.

E-commerce & Retail API or Raw HTML scraper?

E-commerce & Retail APIRaw HTML scraper
Endpoint/scrape/retail/scrape/raw-html
ReturnsStructured product JSONRendered page HTML
FlowOne synchronous requestOne synchronous request
Starting costfrom 1 credit / callfrom 1 credit / call
Use it whenYou need parsed product fieldsYou need your own extraction logic

Questions about the Bath & Body Works API

Does the Bath & Body Works scraper access private data?
No. This guide covers public product pages and does not require signing in to a Bath & Body Works account.
Are all fields always available?
No. Returned data depends on what the public Bath & Body Works page exposes and what the extractor supports.
Can I collect multiple pages at once?
Each request takes one public URL. Submit one request per page you need to collect.
When should I use a premium proxy?
Use it only when a target requires it or when you need country targeting for a public page.

Source: ScrapingBot API documentation.

Other e-commerce & retail scrapers

Browse the E-commerce & Retail category for the complete list of guides. Visit the ScrapingBot blog for implementation guides.

4.9
★★★★★
133 Google reviews

Trusted by developers using E-commerce & Retail data.
Customer reviews apply to ScrapingBot's service overall, not specifically to this scraper.

Start scraping Bath & Body Works today

500 free credits every month. No card required, cancel anytime.