Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Wine-Searcher Market Price API
description: The Wine-Searcher API allows developers to plug Wine-Searcher wine data directly into websites and applications.
version: 1.0.0
contact:
name: Wine-Searcher Developer Support
url: https://www.wine-searcher.com/trade/ws-api
termsOfService: https://www.wine-searcher.com/trade/terms
servers:
- url: https://www.wine-searcher.com/ws_api.php
description: Wine-Searcher API
tags:
- name: Market Price
description: Merchant price listings
paths:
/market-price:
get:
operationId: getMarketPrice
summary: Get Market Price Listings
description: Returns a list of merchants currently selling a specific wine, including shop name, price, location, and purchase links. Returns the first 24 merchant listings sorted by price (lowest first). Useful for price comparison, cellar management, and purchase integrations.
tags:
- Market Price
parameters:
- name: api_key
in: query
required: true
description: Your Wine-Searcher API key
schema:
type: string
- name: winename
in: query
required: true
description: Name of the wine to look up (URL-encoded)
schema:
type: string
- name: vintage
in: query
required: false
description: Wine vintage year or NV
schema:
type: string
- name: currencycode
in: query
required: false
description: ISO 4217 currency code for price results
schema:
type: string
default: USD
- name: location
in: query
required: false
description: Filter results by country code
schema:
type: string
- name: state
in: query
required: false
description: Filter results by US state code
schema:
type: string
- name: offer_type
in: query
required: false
description: Filter by offer type (R=retail, A=auction)
schema:
type: string
enum:
- R
- A
- B
- name: format
in: query
required: false
description: Response format (json or xml)
schema:
type: string
enum:
- json
- xml
default: json
responses:
'200':
description: Market price listings
content:
application/json:
schema:
$ref: '#/components/schemas/MarketPriceResponse'
application/xml:
schema:
$ref: '#/components/schemas/MarketPriceResponse'
components:
schemas:
MerchantListing:
type: object
description: A single merchant listing for a wine
properties:
merchant_name:
type: string
description: Name of the merchant/retailer
merchant_description:
type: string
description: Description of the merchant
price:
type: number
format: float
description: Price of the wine at this merchant
currency:
type: string
description: Currency code for the price
vintage:
type: string
description: Vintage year of this listing
bottle_size:
type: string
description: Bottle size (e.g., 750ml, 1.5L)
offer_type:
type: string
description: Type of offer (retail or auction)
enum:
- retail
- auction
physical_address:
type: string
description: Physical store address if applicable
country:
type: string
description: Country of the merchant
state:
type: string
description: State/region of the merchant
zip_code:
type: string
description: Postal code of the merchant
latitude:
type: number
format: float
description: Merchant latitude for geo lookup
longitude:
type: number
format: float
description: Merchant longitude for geo lookup
link:
type: string
description: URL to purchase the wine at this merchant
MarketPriceResponse:
type: object
description: Response from the Market Price API endpoint
properties:
status:
type: integer
description: API status code (same as WineCheckResponse)
message:
type: string
description: Status message
wine_name:
type: string
description: Wine name used in the query
vintage:
type: string
description: Vintage year
listings:
type: array
description: Merchant listings sorted by price (lowest first, max 24)
items:
$ref: '#/components/schemas/MerchantListing'