Merchbar APImerchbar.com ↗
Access Merchbar's catalog of music merchandise via 6 endpoints. Search vinyl, CDs, apparel by artist or keyword. Get product details, new arrivals, and sale items.
What is the Merchbar API?
The Merchbar API exposes 6 endpoints for searching and browsing music merchandise listings across vinyl records, CDs, apparel, and accessories. Use search_products to run full-text queries across the entire catalog with category and sale filters, or get_artist_products to scope results to a specific artist by brand ID or name. Each product summary returns price, sale price, effective price, thumbnail, and availability status.
curl -X GET 'https://api.parse.bot/scraper/49a6072a-d20b-4890-bc1e-1f8b3d6f1fce/search_products?page=1&sort=relevance&limit=5&query=vinyl&on_sale=false&category=Vinyl' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace merchbar-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
from parse_apis.merchbar_api import Merchbar, Sort, ProductSummary, Product, Artist
client = Merchbar()
# Look up an artist by name
artist = client.artists.lookup(query="Metallica")
print(artist.brand_id, artist.brand_name)
# Browse the artist's merchandise sorted by price
for item in artist.products(sort=Sort.PRICE_ASC, limit=5):
print(item.name, item.effective_price, item.status)
# Search the full catalog for vinyl records on sale
for product in client.productsummaries.search(query="vinyl", on_sale=True, sort=Sort.DISCOUNT, limit=3):
print(product.name, product.brand, product.sale_price, product.tags)
# Drill into full product details from a search result
for product in client.productsummaries.search(query="Dark Side of the Moon", limit=1):
detail = product.details()
print(detail.name, detail.effective_price, detail.currency, detail.upc)
# Check new arrivals for a known artist
metallica = client.artist(brand_id="8030")
for arrival in metallica.new_arrivals(limit=3):
print(arrival.name, arrival.price, arrival.thumbnail)
# Browse sale items for an artist
for sale_item in metallica.on_sale(limit=3):
print(sale_item.name, sale_item.effective_price, sale_item.sale_price)
Full-text search across the Merchbar catalog. Matches product names, brands, tags, and UPC codes. Supports category filtering, sale filtering, and multiple sort orders. Paginates via page number; each page returns up to `limit` items.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination. |
| sort | string | Sort order for results. |
| limit | integer | Number of results per page. |
| query | string | Search keyword. Use '*' to match all products. |
| on_sale | boolean | Filter for products currently on sale. |
| category | string | Category to filter by (e.g., Vinyl, CD, Shirts). |
{
"type": "object",
"fields": {
"page": "integer current page number",
"per_page": "integer results per page",
"products": "array of product summary objects with id, name, brand, brand_id, price, sale_price, effective_price, thumbnail, url, status, tags",
"total_found": "integer total matching products"
},
"sample": {
"data": {
"page": 1,
"per_page": 5,
"products": [
{
"id": "merch-5984182",
"url": "https://www.merchbar.com/hard-rock-metal/guns-n-roses/guns-n-roses-lp-anarchy-in-the-uk-red-vinyl",
"name": "Guns N' Roses LP - Anarchy In The UK (Red Vinyl)",
"tags": [
"vinyl"
],
"brand": "Guns N' Roses",
"price": 50.98,
"status": "AVAILABLE",
"brand_id": 8043,
"thumbnail": "https://imgproxy-images.merchbar.com/insecure/rs:fit:390:390:0/f:webp/example",
"sale_price": null,
"effective_price": 50.98
}
],
"total_found": 27676
},
"status": "success"
}
}About the Merchbar API
Search and Browse the Catalog
The search_products endpoint accepts a query string (use '*' to match all), a category filter (e.g., Vinyl, CD, Shirts), an on_sale boolean, and sort and limit parameters. It returns a paginated list of product summary objects, each containing id, name, brand, brand_id, price, sale_price, effective_price, thumbnail, url, status, and tags. The total_found field tells you how many records match across all pages.
Artist-Scoped Queries
To fetch merch for a specific artist, use get_artist_id first — pass a query string like "Metallica" and it returns the brand_id and canonical brand_name. Feed that brand_id into get_artist_products, get_new_arrivals, or get_on_sale_products to scope results. All three listing endpoints share the same paginated response shape. get_on_sale_products sorts by discount percentage descending; get_new_arrivals sorts by creation date descending.
Product Detail
The get_product_details endpoint accepts a full product URL or path slug (obtainable from any listing endpoint's url field). It returns the full record: id, sku, upc, name, price, currency, status, an artist object with id, name, and url, an images array with multiple size variants per image, and a variants array for size/color options. Because this is a per-product fetch, the recommended pattern is to collect slugs via search first and then call detail only for records you need.
The Merchbar API is a managed, monitored endpoint for merchbar.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when merchbar.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official merchbar.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Build a price tracker for a specific artist's vinyl releases using
get_artist_productswithcategory=Vinyl - Monitor sale events by polling
get_on_sale_productsand surfacing items ranked by discount percentage - Populate a fan-site merch widget by querying
get_artist_idthenget_artist_productsfor live listings - Aggregate new merchandise drops with
get_new_arrivalsfiltered byartist_idfor an alert system - Extract UPC and SKU data from
get_product_detailsto cross-reference merch with external product databases - Catalog apparel inventory by filtering
search_productswithcategory=Shirtsacross multiple artist brands - Track variant availability (sizes, colors) for specific products using the
variantsarray in product detail responses
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Merchbar have an official developer API?+
How do I find an artist's brand ID if I only know their name?+
get_artist_id with the query parameter set to the artist name. It returns a brand_id integer and a canonical brand_name string. Pass that brand_id to get_artist_products, get_new_arrivals, or get_on_sale_products to scope any of those endpoints to that artist.What does `effective_price` mean in product summary responses?+
effective_price field reflects the price a buyer would actually pay — it equals sale_price when a product is on sale, and price otherwise. This lets you sort or compare listings without writing conditional logic yourself.Does the API return customer reviews or ratings for products?+
Are there any limitations on product detail fetching at scale?+
get_product_details endpoint is a per-product page fetch and is heavier than the listing endpoints. For bulk work, the recommended approach is to gather product slugs from search_products or get_artist_products first and then call get_product_details only for the specific records you need, rather than fetching details for every result in a paginated search.