GET
/
mercadolivre
/
get-products

This endpoint retrieves a list of products from Mercado Livre, with optional fuzzy search filtering.

Complexity and Performance

The fuzzy search algorithm has a time complexity of O(N * K * Q * F * Lq * Lf), where:

  • N: Number of items
  • K: Number of keys to search
  • Q: Number of words in the query
  • F: Number of words in a field
  • Lq: Length of a query word
  • Lf: Length of a field word

For optimal performance, it is recommended to use this endpoint with a reasonable number of items (e.g., up to a few thousand) and with queries and fields of moderate length. For larger datasets, consider using a dedicated search solution.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

agentId
string
required

The ID of the agent.

query
string

The search query for fuzzy search.

threshold
number
default: 0.3

The threshold for fuzzy search.

maxResults
integer

The maximum number of results to return.

caseSensitive
boolean
default: false

Whether the search should be case-sensitive.

sortByRelevance
boolean
default: true

Whether to sort the results by relevance.

partialMatch
boolean
default: true

Whether to allow partial matches.

typoTolerance
integer
default: 1

The typo tolerance for fuzzy search.

Response

200 - application/json
id
string
title
string
description
string
price
number
currency_id
string
condition
string
permalink
string
thumbnail
string
pictures
object[]
available_quantity
integer
sold_quantity
integer
shipping
object
attributes
object[]
warranty
string