Documentation Mercado Libre

Check out all the necessary information about APIs Mercado Libre.
circulos azuis em degrade

Documentation

Last update 27/11/2026

Manage moderations

Use this guide to find and understand active moderations on your local elements and identify the actions a seller can take.

Note:
Use the global user's access token and the local element ID. Global CBT items are not moderated. A moderation may include a reason, a suggested remedy, and evidence.
  1. Get the global user's local accounts using GET /marketplace/users/$MERCHANT_ID.
  2. For each local seller, get items under review using GET /marketplace/users/$SELLER_ID/items/search?status=pending. If you start with a global item, use GET /items/$CBT_ITEM_ID/marketplace_items to find its local items.
  3. Build the moderation reference using the local element ID and its type, then query its active moderation.
  4. Show the reason and, when available, the remedy to the seller.
Note:
See the Global Selling Users and Items & Searches guides for details about these supporting resources.

Consult an active moderation

Use GET /moderations/last_moderation/$MODERATION_REFERENCE_ID. Construct the reference as {element_id}-{element_type}: ITM for an item, QUE for a question or answer, and REV for a product review. For example, MLB3684599002-ITM.

The optional language query parameter accepts es, pt, en, and zh, in uppercase or lowercase. If omitted, the item site's language is used. Other values default to English.

Example:

curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
  'https://api.mercadolibre.com/moderations/last_moderation/MLB3684599002-ITM?language=en'

Response:

[
  {
    "name": "DOMAIN_WRONG_CATEG_CBT_V2",
    "id": "10599873537",
    "date_created": "2026-09-25T20:31:00.000-0400",
    "wordings": [
      { "type": "REMEDY", "value": "Select one of the categories we recommended, which are the most appropriate for your listing." },
      { "type": "REASON", "value": "Title and photos did not match the category." }
    ],
    "evidences": [
      { "text_matched": "Check out possible categories <a href='...'>Here</a>", "section_name": "CATEGORY" }
    ]
  }
]

Response fields

  • name: Type of moderation.
  • id: ID of the active moderation. It disappears when the moderation is resolved; do not use it as a persistent reference.
  • date_created: Creation date and time.
  • wordings: Messages for the seller. REASON explains the moderation and REMEDY describes the suggested action. A non-recoverable moderation only returns REASON.
  • evidences: References to the detected issue. section_name identifies the content section and text_matched the detected value or text.

Errors

HTTPMessageWhen it occurs
404Not moderated itemNo active moderation was found; this also occurs when querying a global CBT item.
404could not retrieve item and statusThe item does not exist.
401invalid access tokenThe token is invalid or expired.
403forbidden_resourceThe caller is not allowed to access the resource.

Moderation history

The resource /infractions provides relevant information related to the moderations detected in any of the published elements (items, questions, answers and reviews of the product). Remember the seller is warned the first time. Then, he is warned again and suspended for 2 days (unable to operate on the platform). Finally, the seller received an ultimatum and will be suspended for 5 days (unable to operate on the platform).


Get infractions by user

We recommend that you identify the reason (reason) and solution (remedy) to apply in the language corresponding to the site of the infraction or in English, and in addition, you can identify and summarize the moderations for miscategorized posts.

  • items
  • questions or answers
  • products review

Request:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/moderations/infractions/$USER_ID

Example:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/moderations/infractions/12345678

Response:

{
   "infractions": [
       {
            "id": "632617313",
            "date_created": "2020-12-03T03:18:15.338-0400",
            "user_id": "123455",
            "related_item_id": "MLM123456",
            "element_id": "MLM123456",
            "element_type": "ITM",
            "site_id": "MLM",
            "reason": "Low quality cover image.",
            "remedy": "In order to maintain visibility, make sure that the first image has a solid white background created with an image editor. Do not add edges, logos or watermarks."
        }
   ],
   "paging": {
       "offset": 0,
       "limit": 2,
       "total": 20671
   },
   "sorting_type": "date_created_desc"
}

Response fields

id: unique identifier of the infraction.
date_created: date the infraction occurred.
user_id: the user who carried out the infraction.
related_item_id: unique identifier of the post related to the item that owns the infraction. If the violation is in a post, the value of this attribute will equal the value of the element_id attribute.
element_id: unique identifier of the item that owns the violation. It is dependent on the element_type attribute.
element_type: type of element, the values can be: ITM (listing), QUE (questions and answers) and REV (reviews /product opinion).
site_id: marketplace site of the item with the infraction.
reason: text (html) that describes the reason and infractions policy.
remedy: text (html) that indicates the action, only in cases where it is recoverable. For example, "Remove personal data from listing".


Note:
The response you will not see the items written out in duplicates and only the items in which the states can be final (forbidden) or temporary (waiting_for_patch, held, pending_documentation) appear. If you want to check if a user is suspended you can check the status => list => allow through the api of users. In case that field is false, it means that it is suspended.
Important:
In case the user is suspended, please check the account configuration in the Help site.

Consult infractions with filter

Available filters

Filter Description Options Default
related_item_id Post ID associated with the moderation - -
element_id Id of the moderate element - -
element_type Moderate element type ITM (item)
REV (review)
QUE (question/aswer)
-
date_created_since Filtering start date Format: YYYY-MM-DD -
date_created_to Filtering end date Format: YYYY-MM-DD -
limit Number of infractions returned Integer from 1 to 20 20
offset Offset for paging 0
sort Sort results by creation date, ascending or descending date_created_asc, date_created_desc date_created_desc

Request:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/moderations/infractions/$USER_ID?date_created_since=AAAA-MM-DD&limit=XX&offset=X

Example:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/moderations/infractions/12345678?date_created_since=2020-12-15&limit=1&offset=0

Response:

{
   "infractions": [
        {
            "id": "632617313",
            "date_created": "2020-12-03T03:18:15.338-0400",
            "user_id": "123455",
            "related_item_id": "MLM123456",
            "element_id": "MLM123456",
            "element_type": "ITM",
            "site_id": "MLM",
            "reason": "Low quality cover image.",
            "remedy": "In order to maintain visibility, make sure that the first image has a solid white background created with an image editor. Do not add edges, logos or watermarks."
        }],
   "paging": {
       "offset": 0,
       "limit": 1,
       "total": 20671
   },
   "sorting_type": "date_created_desc"
}

Response when no infractions are found

When no infractions match the query criteria, the infractions field will be null instead of an empty array:

{
   "infractions": null,
   "paging": {
       "offset": 0,
       "limit": 10,
       "total": 0
   },
   "sorting_type": "date_created_desc"
}

HTTP response code references

Successful responses

Code Description
200 OK Request processed successfully. Returns the list of infractions.


Error responses

Code Error Description Possible cause
400 bad_request Invalid or empty user id The user_id parameter is not a valid numeric value.
400 bad_request limit max value is 20 The limit parameter exceeds the maximum allowed value of 20.
400 bad_request date_created_since invalid date time format. The date format is incorrect. Use YYYY-MM-DD format.
403 forbidden Can not identify the user. The user_id does not exist or you don't have permission to access it.
403 PA_UNAUTHORIZED_RESULT_FROM_POLICIES At least one policy returned UNAUTHORIZED. The access token is invalid, expired, or missing required permissions.

Error response example

When a request fails due to authorization issues:

{
   "status": 403,
   "code": "PA_UNAUTHORIZED_RESULT_FROM_POLICIES",
   "message": "At least one policy returned UNAUTHORIZED.",
   "blocked_by": "PolicyAgent"
}

When a request fails due to invalid parameters:

{
   "message": "Invalid Parameter",
   "error": "Bad Request",
   "status": 400,
   "cause": [
       "Invalid or empty user id"
   ]
}