Skip to main content
Promotion Details

Query Parameters

product_id
string

Required for client-side API calls. The unique identifier for the product for which to retrieve a discount.

pd_identifier
string

Required for server-side API calls. A unique identifier associated with a particular deal.

ip_address
string<ipv4>

Required for server-side API calls. The user's IP address.

base_currency_code
string

Optional for server-side API calls. The desired base currency code for the discount information (e.g., EUR).

Response

200 - application/json

Successful retrieval of discount information. The response structure varies depending on whether a discount is available and if the user is accessing via a VPN.

bar
object
couponCode
string | null
discountPercentage
string
data
object
country
string
countryFlag
string
countryFlagSvg
string
holiday
string | null
time
string | null
message
string
messageText
string
countryCode
string
currencyCode
string
currencySymbol
string
pricingLocale
string
usdConversionRate
string
baseCurrencyConversionRate
string
isVpn
boolean
isProxy
boolean
isTor
boolean