> ## Documentation Index
> Fetch the complete documentation index at: https://crushrewards.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Check for recent price drops on a product

> Check whether a product's current price is below its rolling average within a configurable lookback window. Returns current price vs. the average across the window plus the lowest-seen price and date. Response field `avg_price_last_30d` is a fixed name for backwards compatibility; the value is always computed across the configured `lookback_days` window.



## OpenAPI

````yaml https://api.syntalic.com/openapi.json get /v1/shopper/price-drop-alert
openapi: 3.1.0
info:
  title: Syntalic — Pricing Intelligence API
  version: 1.0.0
  description: >-
    Real-time competitive pricing data across US and Canadian e-commerce
    retailers (Amazon, Walmart, Best Buy, Target, etc.). Serves price
    comparisons, deal alerts, brand tracking, promotional intelligence, and
    market analytics to AI agents via x402 and MPP micropayments.
  x-guidance: >-
    This API has three endpoint groups organized by use case:


    **Shopper endpoints** ($0.01/query): Use these for price comparisons and
    deal hunting. Start with /v1/shopper/best-price?q=<product> to find the
    cheapest option across retailers. Use
    /v1/shopper/deal-finder?category=<category> to find discounted products. Use
    /v1/shopper/price-drop-alert?q=<product> to check for recent price drops.


    **Marketing endpoints** ($0.01/query): Use these for competitive analysis.
    /v1/marketing/competitive-landscape?category=<category> shows all products
    in a category with pricing. /v1/marketing/brand-tracker?brand=<brand> tracks
    a brand's pricing over time.
    /v1/marketing/share-of-shelf?category=<category> shows brand market share.


    **Analyst endpoints** ($0.02/query): Use these for market-level insights.
    /v1/analyst/inflation?category=<category> shows price trends over time.
    /v1/analyst/price-dispersion?category=<category> shows price spread across
    retailers.


    All endpoints accept an optional 'country' parameter (us or ca, defaults to
    us). Query parameters use 'q' for free-text search and 'category' for
    category-level queries.
servers:
  - url: https://api.syntalic.com
security: []
paths:
  /v1/shopper/price-drop-alert:
    get:
      tags:
        - Shopper
      summary: Check for recent price drops on a product
      description: >-
        Check whether a product's current price is below its rolling average
        within a configurable lookback window. Returns current price vs. the
        average across the window plus the lowest-seen price and date. Response
        field `avg_price_last_30d` is a fixed name for backwards compatibility;
        the value is always computed across the configured `lookback_days`
        window.
      operationId: getPriceDropAlert
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
            minLength: 1
          description: Search query (product name, keyword, or category term)
          example: airpods
        - name: country
          in: query
          required: false
          schema:
            type: string
            enum:
              - us
              - ca
            default: us
          description: Country (us or ca)
          example: us
        - name: retailer
          in: query
          required: false
          schema:
            type: string
            enum:
              - amazon
              - walmart
              - costco
              - homedepot
              - nordstrom
              - ikea
          description: Filter to a specific retailer
          example: amazon
        - name: lookback_days
          in: query
          required: false
          schema:
            type: integer
            default: 30
          description: Days to look back for price drops (default 30)
          example: 30
      requestBody:
        required: false
        description: >-
          Query parameters as JSON (alternative to URL query string for agents
          that prefer body-based invocation).
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - q
              properties:
                q:
                  type: string
                  minLength: 1
                  description: Search query (product name, keyword, or category term)
                  example: airpods
                country:
                  type: string
                  enum:
                    - us
                    - ca
                  default: us
                  description: Country (us or ca)
                  example: us
                retailer:
                  type: string
                  enum:
                    - amazon
                    - walmart
                    - costco
                    - homedepot
                    - nordstrom
                    - ikea
                  description: Filter to a specific retailer
                  example: amazon
                lookback_days:
                  type: integer
                  default: 30
                  description: Days to look back for price drops (default 30)
                  example: 30
      responses:
        '200':
          description: Price drop alerts
          content:
            application/json:
              schema:
                type: object
                properties:
                  query:
                    type: string
                  drops:
                    type: array
                    items:
                      type: object
        '402':
          description: Payment Required

````