Skip to content

Analyze price position

GET/v1/analyses/price-position

Compare a Store's prices with its competitors'.

Authorization
header · required
Bearer <Extralt API key>
reference_store_id
query · string · required
country
query · string · required

An assigned ISO 3166-1 alpha-2 country code, in its canonical upper case.

pattern ^[A-Z]{2}$
currency
query · string · required
pattern ^[A-Z]{3}$
condition
query · OfferCondition
one of unknown · new · used · refurbished · like_new · very_good · good · acceptable
category_id
query · string
brand
query · string
max_staleness_days
query · integer

Days a Listing's latest observation may trail the newest one in its Store before it leaves this Analysis as stale; defaults to 30. Staleness is eligibility, never removal.

int32 · ≥ 1 · ≤ 365 · default 30
limit
query · integer

Most evidence rows returned; defaults to 100.

int32 · ≥ 1 · ≤ 1000 · default 100

Response

200 OK · application/json

Current competitive price position for a reference Store, excluding stale Listings

analysis_id
string

Known values: price_position, price_movements, assortment_overlap, availability_changes. Others may be added.

coverage
PricePositionCoverage
available_reference_variant_count
integer
int64 · ≥ 0
comparable_share
number · nullable
double
comparable_variant_count
integer
int64 · ≥ 0
insufficient_comparison_variant_count
integer
int64 · ≥ 0
price_index_variant_count
integer
int64 · ≥ 0
reference_variant_count
integer
int64 · ≥ 0
stale_excluded_listing_count
integer

Listings of the scoped Variants' offers excluded as stale, in any Store.

int64 · ≥ 0
unavailable_reference_variant_count
integer
int64 · ≥ 0
unknown_reference_variant_count
integer
int64 · ≥ 0
unmatched_sku_count
integer

SKUs on their page in the country not matched to a Variant yet, so not compared.

int64 · ≥ 0
zero_median_variant_count
integer
int64 · ≥ 0
data
PricePositionRow[]

At most limit rows of evidence, sorted; the summary and coverage span the whole scope.

brand
string
category_id
string
category_path
string
comparison_evidence
PricePositionStoreEvidence[]
comparison_highest_price
string

Exact non-negative price amount with up to four fractional digits. Serialization uses the canonical decimal string representation.

pattern ^(0|[1-9][0-9]{0,13})(\.[0-9]{1,4})?$
comparison_median_price
string

Exact decimal; an even Store count can require five fractional digits.

pattern ^(0|[1-9][0-9]{0,13})(\.[0-9]{1,5})?$
currency
string
pattern ^[A-Z]{3}$
delta_to_lowest
string
pattern ^-?(0|[1-9][0-9]{0,13})(\.[0-9]{1,5})?$
delta_to_lowest_percent
string · nullable
pattern ^-?(0|[1-9][0-9]{0,20})(\.[0-9]{1,6})?$
delta_to_median
string
pattern ^-?(0|[1-9][0-9]{0,13})(\.[0-9]{1,5})?$
delta_to_median_percent
string · nullable

Decimal percentage truncated to six fractional digits; null for a zero median.

pattern ^-?(0|[1-9][0-9]{0,20})(\.[0-9]{1,6})?$
freshness
AnalysisFreshness
lowest_comparison_evidence
PricePositionEvidence

The offer behind a Store's price: its SKU's Listing and the read that observed it.

lowest_comparison_price
string

Exact non-negative price amount with up to four fractional digits. Serialization uses the canonical decimal string representation.

pattern ^(0|[1-9][0-9]{0,13})(\.[0-9]{1,4})?$
lowest_comparison_store_host
string
lowest_comparison_store_id
string
options
map<string, string>
product_id
string
reference_evidence
PricePositionEvidence

The offer behind a Store's price: its SKU's Listing and the read that observed it.

reference_price
string

Exact non-negative price amount with up to four fractional digits. Serialization uses the canonical decimal string representation.

pattern ^(0|[1-9][0-9]{0,13})(\.[0-9]{1,4})?$
reference_rank
integer
int64 · ≥ 0
reference_store_host
string
reference_store_id
string
store_count
integer
int64 · ≥ 0
title
string
variant_id
string
freshness
AnalysisFreshness
newest_observed_at
string · nullable
date-time
oldest_observed_at
string · nullable
date-time
generated_at
string
date-time
issues
AnalysisIssue[]
code
string

Known 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.

message
string
scope
PricePositionScope
brand
string · nullable
category_id
string · nullable
condition
string

Known values: unknown, new, used, refurbished, like_new, very_good, good, acceptable. Others may be added.

country
string

An assigned ISO 3166-1 alpha-2 country code, in its canonical upper case.

pattern ^[A-Z]{2}$
currency
string
pattern ^[A-Z]{3}$
max_staleness_days
integer
int32 · ≥ 0
reference_store_id
string
status
AnalysisStatus
one of eligible · limited · ineligible
summary
PricePositionSummary
above_median_count
integer
int64 · ≥ 0
above_median_share
number · nullable
double
at_median_count
integer
int64 · ≥ 0
at_median_share
number · nullable
double
below_median_count
integer
int64 · ≥ 0
below_median_share
number · nullable
double
price_index
string · nullable

Median of six-place reference/competitor price ratios; null without a nonzero competitor median.

pattern ^(0|[1-9][0-9]{0,20})(\.[0-9]{1,6})?$

Errors

ErrorResponse

Errors that read the same on every endpoint are in Error codes.

400

Invalid analysis scope or limit

422

scope_too_large: the scope exceeds a query budget; narrow the country, Store, category, brand or time window

Request · cURL
curl -X GET 'https://api.extralt.com/v1/analyses/price-position?reference_store_id=example-store.com-US&country=US&currency=USD' \
  -H "Authorization: Bearer $EXTRALT_API_KEY"
Response · 200
{
  "analysis_id": "price_position",
  "coverage": {
    "available_reference_variant_count": 0,
    "comparable_share": 0,
    "comparable_variant_count": 0,
    "insufficient_comparison_variant_count": 0,
    "price_index_variant_count": 0,
    "reference_variant_count": 0,
    "stale_excluded_listing_count": 0,
    "unavailable_reference_variant_count": 0,
    "unknown_reference_variant_count": 0,
    "unmatched_sku_count": 0,
    "zero_median_variant_count": 0
  },
  "data": [
    {
      "brand": "Northwind",
      "category_id": "aa-8-8",
      "category_path": "Apparel & Accessories > Shoes > Sneakers",
      "comparison_evidence": [
        {
          "evidence": {
            "listing_id": "2290417728301945118",
            "observed_at": "2026-09-28T08:14:03Z",
            "pdp_id": "234070802181193911",
            "seller_name": "Example Outlet",
            "sku_id": "7340912856610392114",
            "url": "https://www.example-outlet.com/p/trail-runner-2"
          },
          "price": "119.99",
          "store_host": "www.example-outlet.com",
          "store_id": "example-outlet.com-US"
        }
      ],
      "comparison_highest_price": "119.99",
      "comparison_median_price": "119.99",
      "currency": "USD",
      "delta_to_lowest": "10",
      "delta_to_lowest_percent": "8.334027",
      "delta_to_median": "10",
      "delta_to_median_percent": "8.334027",
      "freshness": {
        "newest_observed_at": "2026-09-28T08:14:03Z",
        "oldest_observed_at": "2026-09-28T08:14:03Z"
      },
      "lowest_comparison_evidence": {
        "listing_id": "2290417728301945118",
        "observed_at": "2026-09-28T08:14:03Z",
        "pdp_id": "234070802181193911",
        "seller_name": "Example Outlet",
        "sku_id": "7340912856610392114",
        "url": "https://www.example-outlet.com/p/trail-runner-2"
      },
      "lowest_comparison_price": "119.99",
      "lowest_comparison_store_host": "www.example-outlet.com",
      "lowest_comparison_store_id": "example-outlet.com-US",
      "options": {
        "color": "Black",
        "size": "10"
      },
      "product_id": "233680273479376896",
      "reference_evidence": {
        "listing_id": "1780130042449153771",
        "observed_at": "2026-09-28T08:14:03Z",
        "pdp_id": "234070802181193728",
        "seller_name": "Example Store",
        "sku_id": "6718083383825458800",
        "url": "https://www.example-store.com/products/trail-runner-2"
      },
      "reference_price": "129.99",
      "reference_rank": 2,
      "reference_store_host": "www.example-store.com",
      "reference_store_id": "example-store.com-US",
      "store_count": 2,
      "title": "Trail Runner 2",
      "variant_id": "233680273479376902"
    }
  ],
  "freshness": {
    "newest_observed_at": "2026-09-28T08:14:03Z",
    "oldest_observed_at": "2026-09-28T08:14:03Z"
  },
  "generated_at": "2026-09-28T08:14:03Z",
  "issues": [
    {
      "code": "no_reference_variants",
      "message": "The reference Store has no Variants in this scope."
    }
  ],
  "scope": {
    "brand": "Northwind",
    "category_id": "aa-8-8",
    "condition": "new",
    "country": "US",
    "currency": "USD",
    "max_staleness_days": 0,
    "reference_store_id": "example-store.com-US"
  },
  "status": "eligible",
  "summary": {
    "above_median_count": 0,
    "above_median_share": 0,
    "at_median_count": 0,
    "at_median_share": 0,
    "below_median_count": 0,
    "below_median_share": 0,
    "price_index": "1.08334"
  }
}