Analyze availability changes
/v1/analyses/availability-changesMeasure availability and its net changes since a date.
Authorizationheader · requiredBearer <Extralt API key>fromquery · string · requiredWindow start. The window ends at the request time and spans at most 90 days; results report net change since this start.
date-timecountryquery · string · requiredAn assigned ISO 3166-1 alpha-2 country code, in its canonical upper case.
pattern ^[A-Z]{2}$conditionquery · OfferCondition- one of unknown · new · used · refurbished · like_new · very_good · good · acceptable
store_id query · stringcategory_id query · stringbrandquery · stringlimitquery · integer- int32 · ≥ 1 · ≤ 1000 · default 100
Response
Current availability by offer series and its net change since the window start; the window ends at the request time and spans at most 90 days
analysis_id stringKnown values:
price_position,price_movements,assortment_overlap,availability_changes. Others may be added.coverageAvailabilityChangesCoverageState coverage includes every current series, including evidence carried from before the window; transitions use only series with evidence inside the window.
comparable_series_ count integerCurrent series with a baseline and evidence inside the window.
int64 · ≥ 0comparable_share number · nullable- double
current_series_ count integer- int64 · ≥ 0
removed_listing_ count integer- int64 · ≥ 0
scoped_listing_ count integer- int64 · ≥ 0
scoped_series_ count integer- int64 · ≥ 0
single_observation_ series_ count integerCurrent series whose only evidence inside the window is the offer they reappeared with; they have no baseline to compare, as in Price movements.
int64 · ≥ 0unobserved_series_ count integerCurrent series whose latest evidence predates the window.
int64 · ≥ 0
dataAvailabilityChangeRow[]At most
limitrows of evidence, sorted; the summary and coverage span the whole scope.baselineAnalysisBaselineWhere a series' comparison starts: its state at the window start, or its first observation after a reappearance inside the window.
one of window_start · reappearedbrandstringcategory_id stringcategory_path stringconditionstringKnown values:
unknown,new,used,refurbished,like_new,very_good,good,acceptable. Others may be added.current_evidence AvailabilityEvidenceThe evidence of a state: the read of the series' representative offer, else the read or check that ended the series. An offer resolves as the row's SKU, seller and condition at that read.
check_id string · nullableThe check; null when the observation is a read.
newest_offer_ observed_ at string · nullable- date-time
observation_id stringThe read or the check.
observed_at stringRepresentative offer acquisition time, or check time when no offer remains.
date-timeobserved_at_ basis string · nullableoldest_offer_ observed_ at string · nullable- date-time
pdp_id string · nullableThe read; null when the observation is a check.
current_state AvailabilityStateThe stock state of an offer series, or of a Variant at a Store from all its SKUs and offers there.
one of available · unavailable · unknown · preorder · backorder · preorder_backorder · no_offer · off_page · removed · absentlisting_id stringoptionsmap<string, string>previous_evidence AvailabilityEvidence · nullableThe evidence of a state: the read of the series' representative offer, else the read or check that ended the series. An offer resolves as the row's SKU, seller and condition at that read.
check_id string · nullableThe check; null when the observation is a read.
newest_offer_ observed_ at string · nullable- date-time
observation_id stringThe read or the check.
observed_at stringRepresentative offer acquisition time, or check time when no offer remains.
date-timeobserved_at_ basis string · nullableoldest_offer_ observed_ at string · nullable- date-time
pdp_id string · nullableThe read; null when the observation is a check.
previous_state AvailabilityStateThe stock state of an offer series, or of a Variant at a Store from all its SKUs and offers there.
one of available · unavailable · unknown · preorder · backorder · preorder_backorder · no_offer · off_page · removed · absentproduct_id string · nullableseller_key stringseller_name stringseries_level OfferSeriesLevelWho an offer series is from: the Store itself, whose own series has the Store's id as its
seller_key, or another seller.one of store · sellersku_id stringstore_host stringstore_id stringtitlestringtransitionstringKnown values:
out_of_stock,restocked,offer_removed,sku_removed,listing_removed,state_changed. Others may be added.urlstringvariant_id string · nullableNull while the SKU is not matched to a Variant; the row then shows its Listing's own title and brand.
freshnessAnalysisFreshnessnewest_observed_ at string · nullable- date-time
oldest_observed_ at string · nullable- date-time
generated_at string- date-time
issuesAnalysisIssue[]codestringKnown values:
no_reference_variants,no_available_reference_offers,insufficient_comparison_stores,partial_reference_availability,partial_comparison_coverage,zero_comparison_median,no_offer_series,no_repeated_offer_series,partial_repeated_coverage,no_reference_assortment,no_comparison_assortment,no_current_availability_evidence,no_repeated_availability_series,partial_repeated_availability_coverage. Others may be added.messagestring
scopeAvailabilityChangesScopebrandstring · nullablecategory_id string · nullableconditionstringKnown values:
unknown,new,used,refurbished,like_new,very_good,good,acceptable. Others may be added.countrystringAn assigned ISO 3166-1 alpha-2 country code, in its canonical upper case.
pattern ^[A-Z]{2}$fromstring- date-time
store_id string · nullable
statusAnalysisStatus- one of eligible · limited · ineligible
summaryAvailabilityChangesSummaryavailable_store_ variant_ count integer- int64 · ≥ 0
backorder_store_ variant_ count integer- int64 · ≥ 0
changed_state_ series_ count integer- int64 · ≥ 0
current_available_ series_ count integer- int64 · ≥ 0
current_backorder_ series_ count integer- int64 · ≥ 0
current_preorder_ backorder_ series_ count integer- int64 · ≥ 0
current_preorder_ series_ count integer- int64 · ≥ 0
current_unavailable_ series_ count integer- int64 · ≥ 0
current_unknown_ series_ count integer- int64 · ≥ 0
newly_observed_ series_ count integer- int64 · ≥ 0
no_offer_ store_ variant_ count integer- int64 · ≥ 0
off_page_ store_ variant_ count integer- int64 · ≥ 0
out_of_ stock_ series_ count integer- int64 · ≥ 0
preorder_backorder_ store_ variant_ count integer- int64 · ≥ 0
preorder_store_ variant_ count integer- int64 · ≥ 0
reappeared_series_ count integer- int64 · ≥ 0
removed_listing_ series_ count integer- int64 · ≥ 0
removed_offer_ series_ count integer- int64 · ≥ 0
removed_sku_ series_ count integer- int64 · ≥ 0
removed_store_ variant_ count integer- int64 · ≥ 0
restocked_series_ count integer- int64 · ≥ 0
unavailable_store_ variant_ count integer- int64 · ≥ 0
unknown_store_ variant_ count integer- int64 · ≥ 0
Errors
Errors that read the same on every endpoint are in Error codes.
- 400
Invalid analysis scope, time window, or limit
- 422
scope_too_large: the scope exceeds a query budget; narrow the country, Store, category, brand or time window