Skip to content

PDPs

A PDP (product detail page) is one product page a Run read, or one record an Import read, once Extralt has extracted and enriched it. Every page or record is enriched as it is read, so a Run or Import produces its PDPs directly; there is no separate enrichment step to start.

Each PDP is one document, the record of its read as the read recorded it: the product in the store's own words and where the store filed it, next to Extralt's reading of them at that read, normalized so products compare across stores; the product id and product group id the page stated; its rating; the SKUs it listed, each with its sku_id, identifiers, options and the offers the read listed; and its raw bodies, times and billing. A later read of the product is another PDP, so an older PDP still shows what the page said at its read. The page as it is now is its Listing's latest PDP, which latest=true returns, and the store's edits in between are the Listing's content Changes, with each edited field's values before and after. The raw bodies are what the read was parsed from: the page, the item API responses its crawler called, or the Import record, listed with GET /v1/pdps/{id}/raw.

A page or record that cannot be enriched produces no PDP: it is neither stored nor charged.

Credits

A PDP costs 4 credits the first time your organization reads its Listing, and 1 credit after that. A Listing is one store product in one Store, whichever URL, product id or Import record reached it, so two URLs of the same product page, or a Run's page and an Import's record of the same product, count as one. The PDP's first_seen field says which price it was charged, and a Run's or Import's new_pdps counts how many of its PDPs were first seen.

Listings, SKUs, offers, Changes, and cross-store matching come with the PDP: they use no further credits. See Credits and billing.

Browse PDPs

Dashboard

Open Extract > PDPs. The List tab lists the PDPs of the last 90 days (UTC). Choose a Run or Import under Source to list all of its PDPs, whatever their age.

Above the table, the Source, Store, Country and Vertical pickers filter the list as soon as you pick a value; the Store, Country and Vertical pickers offer the values the listed PDPs have. Clear filters resets them. The Search field at the top of the page finds PDPs matching your words. A chart above the table counts PDPs per day; drag its handles to narrow the period. The chart is hidden when a Run or Import is chosen, since its PDPs are listed whole.

The table shows each product's image, Title, Brand, Price, In stock, Category, Store, Source and Observed time.

The PDPs list, with its pickers, daily chart and table

Select a row to open the PDP: Product shows it as a product page, with its IDs, Store, language, inference time and charge, JSON shows the document the API returns, and Sources lists the bodies it was read from.

A PDP opened on its Product tab

AI

The AI tab answers a question about your PDPs in plain language: type it and the tab generates a query, runs it and shows the result, up to the first 100 rows. It is about what your reads recorded, as of each read: what a Run or Import extracted, its coverage, credits and raw bodies. Ask about your products and market as they are now, their offers and Changes, in Explore > AI. Choose a Run or Import in its source picker to ask about that source's PDPs only. The AI tab comes with Scale and is unavailable during the grace period after a subscription ends. See AI.

API

List the PDPs of a Run:

export EXTRALT_API_KEY="your-api-key"

curl -s "https://api.extralt.com/v1/pdps" \
  --url-query "run_id=$RUN_ID" \
  -H "Authorization: Bearer $EXTRALT_API_KEY" | jq

Pass import_id instead of run_id for an Import's PDPs, or neither for every PDP of your organization. store_id keeps one Store's PDPs and listing_id one Listing's, and latest=true keeps each Listing's latest PDP: the page as it is now. PDPs are listed oldest first. The response is { data, next_cursor }, with 50 PDPs per page by default and at most 100; see Common patterns for paging with next_cursor. GET /v1/pdps/count takes the same filters and returns { count }; with latest=true, that is the number of Listings.

Read one PDP by its id:

curl -s "https://api.extralt.com/v1/pdps/$PDP_ID" \
  -H "Authorization: Bearer $EXTRALT_API_KEY" | jq

Find a product by URL

A product page can have several URLs: aliases, redirects, or several URLs showing one product. url keeps the PDPs of the Listings a URL reached: a PDP's own URL, a URL its Run requested or landed on, or one it was redirected from. With latest=true, it returns the page as it is now:

curl -s "https://api.extralt.com/v1/pdps" \
  --url-query "url=https://shop.example.com/products/trail-runner" \
  --url-query latest=true \
  -H "Authorization: Bearer $EXTRALT_API_KEY" | jq

The host's case, a trailing slash and the fragment don't matter. When a URL reached none of your Listings, it is tried again without its query, so tracking parameters don't break a lookup. One URL can reach a Listing in several of your Stores, one per country: the lookup returns the latest PDP for each, or pass store_id for one.

PDP fields

FieldDescription
idThe PDP's id, unique within your organization. Sorting by it orders PDPs by time
listing_idThe Listing the read is of: one store product, whichever URL, product id, native key or Import id reached it. Compare it; never parse it
observed_atWhen prices and availability were observed: when the page was read, or, for an Import, the time its record states, else when the file was received
content_observed_atWhen the body the read was parsed from was fetched, which the page's content is as of: observed_at on a full read, the stored page's fetch time when the Run reused a page it already had, as a refresh does
inferred_atWhen Extralt's reading of the product was inferred. It is reused until Extralt revises it, so it can be much older than the content
url, store_id, country, languageThe page the read reached (empty for an imported record without one), its Store, the Store's country and the page's language
sourceThe Run or Import that produced it: its kind (run or import) and id
first_seenWhether it was the organization's first PDP of this listing_id, charged 4 credits

For how PDPs relate to Listings, SKUs, offers and Products, see the semantic catalog.

The store's words

The page's content as the read stated it, and where the store filed the product at the read:

FieldDescription
source_product_idThe store's own id of the product the page shows, a colourway's own id where each colourway has its page; empty when the page states none
source_product_group_idThe id the store groups the product under, shared by the pages of its other option values, such as its other colourways; empty when the page states none
title, subtitle, descriptionIn the page's language
store_brand, colorThe brand and colour as the page states them
publication_dateThe publication date the page states
store_taxonomyWhere the store filed the product at the read: its breadcrumbs, categories and tags
featuresThe page's bullet points
properties, measurementsThe page's spec table and its physical measurements, as objects
images, videosThe page's media, each once, in order
optionsWhat the product varies on, as the store shows it: each axis's label and values in page order, under a stable key; size marks a size axis

Extralt's reading

Extralt's reading of the page as the read had it, inferred at inferred_at, and the page's rating:

FieldDescription
enThe English title, subtitle and description matching uses: the page's own on an English page, else translated
brandThe canonical brand, as in Explore; is_brand_source says whether the Store is the brand's own
categoryThe taxonomy category: its id, vertical_id and path of names
attributesThe category's attributes that no option sets, as English taxonomy values; [] is unknown
signalsMerchandising signals, each a short phrase or null when it doesn't apply: style, use_context, seasonality, sustainability and provenance
image_textText printed on the product, read from its images
ratingThe review count and a score from 0 to 100 normalized from the store's scale, so ratings compare across stores: the rating the page stated, as of content_observed_at like its content, or as of observed_at when the Run reused the page and its item API responses read the rating again. Both are null when the page showed none; score is null when it had no reviews

SKUs

skus lists every SKU the read listed, in page order, priced or not, as the read stated it. A SKU is one configuration of the Listing, and its offers are those this read listed.

FieldDescription
sku_idThe SKU, the same in every PDP of its Listing: its offers and Changes in Explore name it by this id. Compare it; never parse it
sku_keyThe SKU's key within its Listing: the store's SKU code, else its option values. Compare it; never parse it
optionsThe store's labels, by option key
attributesWhat its option values express; its complete attributes are the product's plus these
identifiersThe store's sku code, gtin and mpn, each null when the page states none, and other: the page's other identifiers of the SKU under its own names for them. A stated GTIN that isn't a valid one is kept in other as gtin_invalid
properties, imagesThe SKU's own properties, and the images the page ties to it. Images it shows for every SKU are only in the PDP's images
offersThe offers this read listed, one per seller, currency and condition, in that order. Empty when the read kept none, as when the page showed the SKU in stock without a price

Each offer has these fields:

FieldDescription
price, compare_at_priceExact decimal strings; price is null for an offer the page states is out of stock without showing a price, and compare_at_price is null when the page shows none
currencyAn ISO 4217 code
availabilityavailable, unavailable, preorder, backorder, or unknown
stock_levellow or normal when the store states how much of an available offer is left, else unknown
conditionnew, used, refurbished, like_new, very_good, good, acceptable, or unknown
seller_key, seller_nameThe seller's key and its name
seller_type1p when the Store itself sells, 3p for another seller on it, or unknown

A price the source states in minor units without their scale cannot be resolved, so its offer is left out rather than guessed. An absent fact is unknown, not zero. An offer the page states is out of stock may show no price: it is kept, unavailable, with a null price, so a page sold out without prices is a PDP that records the stock-out.

Raw bodies

GET /v1/pdps/{id}/raw lists the bodies a PDP was read from, without their text: page for the page as fetched, each item API response by its name (such as product-availability), or record for an Import. Each lists its kind, size in bytes, fetched_at time, and whether it was reused from an earlier crawl instead of fetched for this PDP, as a refresh does with the page.

curl -s "https://api.extralt.com/v1/pdps/$PDP_ID/raw" \
  -H "Authorization: Bearer $EXTRALT_API_KEY" | jq

Read one body by its name:

curl -s "https://api.extralt.com/v1/pdps/$PDP_ID/raw/page" \
  -H "Authorization: Bearer $EXTRALT_API_KEY" | jq -r .body

The response holds the body's name, kind (html, json, or text), and its text as body.

Export PDPs

An export is one file of every PDP of one Run or Import. JSONL is plain JSON Lines, one PDP document per line, uncompressed; Parquet keeps column types and suits DuckDB, pandas and data pipelines. A JSONL export can be imported again as is.

Dashboard

  • On Extract > PDPs, choose a Run or Import under Source, then select Export. The file holds every PDP of that Run or Import, as JSONL. The Store, Country and Vertical pickers, the search and the chart's dates don't narrow it. Export appears only once a Run or Import is chosen.
  • On a Run's page, Download As offers Parquet or JSONL, for a completed Run or a failed one that saved PDPs.
  • On an Import's page, Download As offers the same, once the Import has finished with PDPs.

Dashboard exports leave out the raw bodies.

API

GET /v1/pdps/export streams the PDPs a Run or Import has saved so far as one file named pdps-<id>.parquet or pdps-<id>.jsonl, in no particular order: sort by id to order them by time.

ParameterDescription
run_id, import_idThe Run or Import. Pass exactly one; anything else is refused with 400
formatparquet (the default) or jsonl
include_rawtrue adds raw, each body's id, kind, size and fetch time by name, and bodies, each body's text by name. Bodies make the file much larger
# Parquet (default)
curl -sL "https://api.extralt.com/v1/pdps/export" \
  --url-query "run_id=$RUN_ID" --url-query format=parquet \
  -H "Authorization: Bearer $EXTRALT_API_KEY" \
  -o pdps.parquet

# JSONL, with the raw bodies
curl -sL "https://api.extralt.com/v1/pdps/export" \
  --url-query "run_id=$RUN_ID" --url-query format=jsonl \
  --url-query include_raw=true \
  -H "Authorization: Bearer $EXTRALT_API_KEY" \
  -o pdps.jsonl

Compare products across stores

While a Run or Import saves its PDPs, their Listings, SKUs, offers, and Changes are written for Explore in steps, and are complete when it ends. Their SKUs are then matched to Products and exact Variants across your organization's Stores. Until a SKU is matched, cross-store answers leave it out and count it in unmatched_sku_count. Matching depends on the identifiers, options, and product evidence the pages show, so not every product can be matched. See Products.