Compare TCGPlayer, Reverb, and OfferUp Prices in One API Call
Compare TCGPlayer, Reverb, and OfferUp Prices in One API Call If you flip trading cards, musical gear, or general merchandise, you're probably checking multiple marketplaces manually to find the be...
Source: dev.to
Compare TCGPlayer, Reverb, and OfferUp Prices in One API Call If you flip trading cards, musical gear, or general merchandise, you're probably checking multiple marketplaces manually to find the best price. TCGPlayer for Magic/Pokemon cards, Reverb for guitars and pedals, OfferUp for local deals. I built a unified API that searches across 20+ marketplaces and returns normalized results. Here's how to build a price comparison tool in ~30 lines. Quick Start: Cross-Marketplace Search const API_URL = 'https://marketplace-price-api-production.up.railway.app'; const API_KEY = 'your-key'; // Search for a Fender Stratocaster across marketplaces const markets = ['reverb', 'offerup', 'craigslist']; const query = 'Fender Stratocaster American Professional'; const results = await Promise.all( markets.map(async (market) => { const resp = await fetch( `${API_URL}/${market}/search?` + new URLSearchParams({ q: query, limit: '5' }), { headers: { 'X-Api-Key': API_KEY } } ); const data = await resp.js