BAPC Pretijya

BAPC Data Harvest · DH-21

How BAPC Pretijya collects and compares prices

1. Collection, and the terms of use of every source

The owner's rule: collection must respect each website's terms of use. For every source BAPC records the terms page, the clause that allows or forbids automated access and reuse, the robots.txt result, the decision, who decided and when it must be reviewed again. Before every request the software checks that the decision is "allowed", the review is not overdue, robots.txt does not forbid the path, and the source is approved; otherwise it refuses and records the run as blocked with the reason. BAPC never logs in to a shop's website and never scrapes pages whose terms forbid it.

SourceDecisionTerms and the clause that decidesrobots.txtDecided by, onNext reviewWaiting for
Open Prices (Open Food Facts)Allowed: collectedopenfoodfacts.github.io/open-prices/guides/API/
Open Prices data is released under the Open Database License (ODbL) 1.0; the API guide asks reusers to "comply with the OdBL licence, mentioning the source of your data".
none published
2026-11-23
Bryan Sims (owner): "create these six apps", 23 Nov 2026; terms reviewed by the Pretijya builder
2026-11-23
2027-02-23—
Amazon Creators APIRefused: terms forbidaffiliate-program.amazon.com/help/operating/policies
Associates Program Policies and IP License: "You will not sell, resell, redistribute, sublicense, or transfer any Program Content"; no use of the APIs "for the purpose of aggregating, analyzing, extracting, or repurposing any Product Advertising Content" without prior written approval; non-image content cached at most 24 hours. Access needs an Associates account with at least 10 qualifying sales in the past 30 days.
not applicable
2026-11-23
Pretijya builder for Bryan Sims (owner), 23 Nov 2026
2026-11-23
2027-05-23Waiting for: Amazon Associates account with 10 qualifying sales in 30 days, Creators API credentials, and Amazon's prior written approval for aggregation and resale.
Best Buy Products APIRefused: terms forbiddeveloper.bestbuy.com/legal
Best Buy API Terms of Service: you may not use the API or Content "on behalf of or for the benefit of any third party (such as other retailers)" or "for the purposes of analyzing, receiving or reviewing information regarding Best Buy pricing"; Content may not be stored "except on a temporary basis not to exceed seventy-two (72) hours".
not applicable
2026-11-23
Pretijya builder for Bryan Sims (owner), 23 Nov 2026
2026-11-23
2027-05-23Waiting for: A written data licence from Best Buy allowing price analysis and resale (no public offer exists).
Kroger Products APINot collected: waitingdeveloper.kroger.com
Kroger's developer terms could not be read without a developer account on 23 Nov 2026. Kroger's website terms say content may not be distributed "for any commercial purpose, without the express written permission of Kroger".
none published
2026-11-23
Pretijya builder for Bryan Sims (owner), 23 Nov 2026
2026-11-23
2027-01-23Waiting for: A Kroger developer account (free) so the API terms can be read; then the owner decides. Resale very likely needs a written Kroger licence.
Licensed retailer and brand feedsNot collected: waitingpretijya.bapc.app/method#licensed-feeds
Each feed is read only under a written licence from the retailer or brand that owns it, recorded per feed (pt_feeds.licence_reference), allowing BAPC to analyse and resell the prices.
not applicable
2026-11-23
Pretijya builder for Bryan Sims (owner), 23 Nov 2026
2026-11-23
2027-05-23Waiting for: A signed feed licence from at least one retailer or brand (BAPC Data Licence, feed schedule).
Target.comRefused: terms forbidwww.target.com/terms
Target Terms & Conditions list data extraction, scraping, mining or other data gathering tools among prohibited uses, and bar commercial exploitation of site content. Target offers no public product API.
not applicable
2026-11-23
Pretijya builder for Bryan Sims (owner), 23 Nov 2026
2026-11-23
2027-05-23Waiting for: A written data licence from Target.
Walmart affiliate product APIRefused: terms forbidaffiliates.walmart.com/terms
Walmart Operating Agreement for Affiliate Network (June 2026), section 3(a): affiliates may not "include in your Affiliate Website any price tracking and/or price alerting functionality" or "re-distribute, display or syndicate Licensed Materials and/or Walmart's datafeed".
not applicable
2026-11-23
Pretijya builder for Bryan Sims (owner), 23 Nov 2026
2026-11-23
2027-05-23Waiting for: A written data licence from Walmart (for example through Walmart Data Ventures) allowing price tracking and resale.
eBay Browse APIRefused: terms forbiddeveloper.ebay.com/develop/apis/api-license-agreement
eBay API License Agreement: you may not "use eBay Content, either alone or in combination with third-party information, to suggest or model prices" (9.4) or "sell, rent, trade, distribute, lease (or otherwise commercialize)" eBay Content (9.7).
not applicable
2026-11-23
Pretijya builder for Bryan Sims (owner), 23 Nov 2026
2026-11-23
2027-05-23Waiting for: Written permission from eBay for price analytics and resale (eBay Developers Program, application keys plus a separate agreement).

Licensed feeds. A retailer or brand can license its own product feed (the Google Merchant Center product data format it already produces) to BAPC in writing. The feed is read once a day only while the licence reference is recorded.

Open Prices. Prices people saw in shops and online, with the barcode, date and shop, shared under the Open Database License. BAPC Pretijya reads them through the documented API with a named User-Agent and a pause between pages, and never stores who contributed a price or their photo. Coverage depends on contributors, so some products and days have no price: a missing day is shown as missing, never filled in. Prices from Open Prices (prices.openfoodfacts.org), made available under the Open Database License (ODbL) 1.0. Thank you to the Open Food Facts contributors.

2. Daily price, promotion and stock tracking

One row per listing (a product at a retailer, per shop where prices differ by shop) per day: list price, sale price, the price a shopper pays, the promotion type (percent off, amount off, multi-buy, buy-one-get-one, clearance, rollback, coupon, loyalty price, sale) and the retailer's own words, unit price (per kg, per litre or each), stock (in stock, limited, out of stock, or unknown when the source does not say) and shipping cost where the source gives it. A daily round runs at 06:00 UTC.

3. Matching the same product across retailers

  1. GTIN (UPC/EAN as GTIN-14, check digit verified; in-store numbers for weighed goods never match across shops): certain.
  2. Brand and manufacturer part number, when no GTIN conflicts: confidence 0.95.
  3. Title similarity: words and letter groups of the cleaned title, adjusted for brand, size and pack count. At 0.88 or above the match is made automatically; from 0.6 to 0.88 it waits for a person in the review queue; below 0.6 the listing becomes a new product.

Measured precision. On BAPC's labelled benchmark of 24 listing pairs (synthetic pairs written by BAPC, labelled as such): 9 matched automatically, 0 wrongly, precision 100% (95% CI 70%–100%), recall 75%, 6 sent to review. On the live labelled sample (staff check random automatic matches): no labels yet; the console offers a stratified sample to label.

4. Changes and alerts

Each day's row is compared with the previous day the same listing was seen: price drop or rise (with the percentage), promotion started or ended, out of stock, back in stock, newly listed. Organizations keep watchlists with a threshold for price moves; each hit is stored once, emailed to the members chosen, and sent to the organization's webhooks as an alert.triggered event.

5. The retail market view

Each retailer's price for a product is the median across its shops on the latest day seen in the window. Matches still waiting for review are left out.

6. Exports to pricing tools

The BAPC competitor-price feed (CSV and Parquet, one row per product, retailer and day, with a data dictionary, checksums and the licence of every row); a Pricefx Competition Data layout (the fields of its importproductcompetition call); and a Prisync batch product import layout. Competera, PROS and other tools take the generic feed through their configurable data upload.

7. API

Organization tokens (made by an admin, shown once, stored only as a SHA-256 hash), limited per minute by plan. Endpoints: /api/v1/products, /api/v1/products/{id}/history, /api/v1/changes, /api/v1/market, /api/v1/feed.csv and /api/v1/feed.json. Every response states the licence of its rows.

Limits

Home · Help · Data catalog