The search endpoint allows querying the Discogs catalog by artist name or album title. The VinylVibes frontend uses a 500ms debounce before calling this endpoint to avoid excessive API calls while the user is typing. Clearing the search input cancels any pending request and restores the catalog to its initialDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/akibanks/tienda_musica_web/llms.txt
Use this file to discover all available pages before exploring further.
/recientes state without making a network call.
GET /buscar
Searches the vinyl catalog by artist name or album title and returns paginated results. This endpoint is used both by the main catalog search bar and by the Novedades & Historias section search.Query parameters
The search term to match against artist names and album titles.
Page number to retrieve. Defaults to
1 if omitted.Example request
Response fields
Array of matching vinyl objects for the current page. Each object has the same shape as items returned by
/recientes: discogs_id, titulo, artista, imagen_url, precio, and genero.Total number of records matching the search term across all pages.
Total number of pages available for this query.
Response example
Debounce implementation
The frontend delays calling this endpoint by 500ms after the user stops typing. The debounce logic fromscript.js: