Documentation Mercado Libre

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

Documentation

Last update 30/11/2026

Opportunity Center

Find products with sales potential, review the suggestions for each opportunity, and submit existing listings to assess whether they match and qualify for Boost. Each association between a listing and an opportunity is called a submission. Opportunity Center supports CBT M4 and M6 sellers with access to the feature.

Important:
An accepted submission enters evaluation for matching and Boost. Use the submission status to track the outcome.

Step 0: Authentication

Authenticate your application to act on the seller’s behalf and protect access to their data. Send a valid token that grants access to the seller account and the requested resources.

Authorization: Bearer $ACCESS_TOKEN

Common GET parameters

  • seller_id: (required, positive int64 integer). Authorized seller account. The service determines its CBT track, account relationships, and enabled sites.
  • locale: (required query parameter, string). Use a BCP 47 language tag such as en-US. The API currently accepts en_US and returns the same content as en-US. Omitting locale or sending a value such as !! returns HTTP 400 with invalid_parameter.

GET requests have no body and do not accept site_id. Knowing an ID does not grant access to the resource. The POST request derives its context from the token and each listing.

The examples use illustrative IDs. Replace them with IDs from your authorized seller account.

ContextAuthorized scope
M4 · child accountOpportunities and submissions for that account’s site.
M4 · parent accountOpportunities and submissions for its enabled and authorized child sites.
M6 · parent or child accountOpportunities and submissions for all enabled and authorized sites in the M6 context, including sites beyond the child account’s own site.

The service applies visibility rules, category blocks, and eligibility criteria before counting and paginating results. M6 excludes external opportunities without positive net proceeds.

Step 1: List opportunities

GET /opportunity_center/candidates

Identify products the seller could add to their catalog based on demand, low supply, or competitive pricing signals. Use the list and its filters to find opportunities within the authorized scope. Each result includes its site_id.

Query parameters

Requires seller_id and locale, as defined under Authentication. The remaining query parameters are optional.

  • opportunity_types: (CSV string). high_demand, low_supply, or better_pricing. If omitted, returns all eligible types.
  • query: (string). Search by title, up to 200 characters.
  • category_id: (positive integer). Numeric category ID for the opportunity’s site. Use the value of suggested_leaf_category_id to filter by that leaf category.
  • page: (integer). Starts at 1 and defaults to 1. The requested page must satisfy (page - 1) × limit ≤ 10000.
  • limit: (integer). From 1 to 100, inclusive. Defaults to 50.
  • sort: (string enum). Use relevance to order results by relevance.

Pagination values outside these limits return HTTP 400 with invalid_parameter.

high_demand identifies internal opportunities based on sales or growth. low_supply identifies external opportunities. better_pricing identifies internal opportunities based on competitive pricing. relevance combines several business signals beyond sales.

API call:

curl --request GET \
   --url "https://api.mercadolibre.com/opportunity_center/candidates?seller_id=$SELLER_ID&locale=$LOCALE&opportunity_types=$OPPORTUNITY_TYPES&page=$PAGE&limit=$LIMIT&sort=relevance" \
   --header "Authorization: Bearer $ACCESS_TOKEN"

Example request:

curl --request GET \
  --url "https://api.mercadolibre.com/opportunity_center/candidates?seller_id=123456789&locale=en-US&opportunity_types=low_supply,high_demand&page=1&limit=20&sort=relevance" \
  --header "Authorization: Bearer $ACCESS_TOKEN"

Request body: Not applicable. This GET request sends its parameters in the URL.

Response: HTTP 200 OK.

Example response body:

{
  "results": [
    {
      "opportunity_id": "6acf104136a62c085f5ca400",
      "opportunity_type": "low_supply",
      "site_id": "MLB",
      "title": "Adjustable camera clamp",
      "thumbnail_url": "https://example.com/camera-clamp-thumbnail.jpg",
      "match_type": "similar",
      "suggested_domain_id": "MLB-CAMERA_FIELD_MONITORS",
      "suggested_price": {
        "amount": 79.77,
        "currency_id": "BRL"
      },
      "suggested_net_proceeds": {
        "amount": 12.5,
        "currency_id": "BRL"
      },
      "suggested_leaf_category_id": 430469,
      "cbt_category_id": 430468,
      "suggested_picture_ids": [
        "SYNTHETIC-PICTURE-1"
      ],
      "sales_comparison": null,
      "visits_comparison": null
    },
    {
      "opportunity_id": "6acf104136a62c085f5ca401",
      "opportunity_type": "high_demand",
      "site_id": "MLB",
      "title": "Carbon plate running shoes",
      "thumbnail_url": "https://example.com/running-shoes-thumbnail.jpg",
      "match_type": "exact",
      "suggested_domain_id": null,
      "suggested_price": {
        "amount": 161.68,
        "currency_id": "BRL"
      },
      "suggested_leaf_category_id": 23332,
      "cbt_category_id": 109027,
      "sales_comparison": {
        "current": 242,
        "previous": 566,
        "growth_pct": -57
      },
      "visits_comparison": {
        "current": 77758,
        "previous": 63898,
        "growth_pct": 22
      }
    }
  ],
  "paging": {
    "total": 2,
    "page": 1,
    "limit": 20
  }
}

Field descriptions

  • results: (array of Opportunity objects). Opportunities on the page. See Common fields for the object’s fields.
  • paging.total: (integer). Total number of authorized results that match the filters.
  • paging.page: (integer). Requested page.
  • paging.limit: (integer). Applied page size.

If there are no results, the API returns 200 OK, results: [], and paging.total: 0.

Step 2: Get opportunity details

GET /opportunity_center/candidates/{opportunity_id}

Review the reference product to decide what to list and prepare a listing that aligns with the opportunity. The detail response provides images, attributes, and suggestions. It applies the same scope and eligibility rules as the list endpoint, independently of any optional filters used in a previous search.

Parameters

  • opportunity_id: (path, required, string). ID returned by the list endpoint.
  • seller_id and locale: (query, required). Common GET parameters.
Important:
Before registering an association, create the listing through the appropriate CBT resource or select an existing, authorized listing. The API offers no preliminary evaluation. The suggestions cover only some listing requirements and do not guarantee Matching or Boost approval.

If your seller uses the User Products model, see the User Products guide for publishing instructions.

API call:

curl --request GET \
   --url "https://api.mercadolibre.com/opportunity_center/candidates/$OPPORTUNITY_ID?seller_id=$SELLER_ID&locale=$LOCALE" \
   --header "Authorization: Bearer $ACCESS_TOKEN"

Example request:

curl --request GET \
  --url "https://api.mercadolibre.com/opportunity_center/candidates/6acf104136a62c085f5ca400?seller_id=123456789&locale=en-US" \
  --header "Authorization: Bearer $ACCESS_TOKEN"

Request body: Not applicable. This GET request sends its parameters in the URL.

Response: HTTP 200 OK.

Example response body:

{
  "opportunity_id": "6acf104136a62c085f5ca400",
  "opportunity_type": "low_supply",
  "site_id": "MLB",
  "title": "Adjustable camera clamp",
  "thumbnail_url": "https://example.com/camera-clamp-thumbnail.jpg",
  "match_type": "similar",
  "suggested_domain_id": "MLB-CAMERA_FIELD_MONITORS",
  "suggested_price": {
    "amount": 79.77,
    "currency_id": "BRL"
  },
  "suggested_net_proceeds": {
    "amount": 12.5,
    "currency_id": "BRL"
  },
  "suggested_leaf_category_id": 430469,
  "cbt_category_id": 430468,
  "sales_comparison": null,
  "visits_comparison": null,
  "pictures": [
    {
      "id": "SYNTHETIC-PICTURE-1",
      "url": "https://example.com/camera-clamp.jpg"
    }
  ],
  "attributes": []
}

Field descriptions

Returns an Opportunity object directly, without results or paging. Replaces suggested_picture_ids with pictures and adds attributes:

  • pictures: (array of objects). Available images. Returns [] when none are available. There is no separate images array.
  • pictures[].id: (string or null). Known image ID. The service does not derive it from the URL.
  • pictures[].url: (URI string). Display URL.
  • attributes: (array of objects). Identifying attributes with known values. Returns [] when none are available.
  • attributes[].id: (string). Technical attribute ID.
  • attributes[].name: (string). Display name.
  • attributes[].value_name: (string). Known value for the reference product.

For external opportunities, attributes is [], comparison fields are null, and a suggested domain may be available. For internal opportunities, suggested_domain_id is null, and attributes and comparisons may be available. In the detail response, suggested_net_proceeds is Money or null.

Note:
For products with multiple variations, use these images and attributes for the reference variation shown. Check the variation you intend to list before registering an association.

Step 3: Register listings as submissions

POST /opportunity_center/submissions

Submit a listing so the service can evaluate whether it matches the opportunity and qualifies for Boost. Associate one or more existing, authorized listings. For a single association, send an array with one element. This endpoint does not create listings.

Important:
Each listing’s actual site must match the opportunity’s site in both M4 and M6. Multi-site listing does not allow associations across sites.

Request body parameters

Send Content-Type: application/json. This endpoint accepts no path or query parameters. It rejects unknown business properties in the root object and in each element.

  • associations: (required, array of objects). Send 1 to 100 associations per request.
  • associations[].opportunity_id: (required, string). ID returned by the list or detail endpoint.
  • associations[].item_id: (required, string). Existing, authorized listing on the same site as the opportunity.

The request body limit is 1 MiB (1,048,576 bytes). An array outside the allowed range returns HTTP 400 with invalid_parameter. A body over 1 MiB returns HTTP 413 with payload_too_large.

API call:

curl --request POST \
   --url "https://api.mercadolibre.com/opportunity_center/submissions" \
   --header "Authorization: Bearer $ACCESS_TOKEN" \
   --header 'Content-Type: application/json' \
   --data '{
   "associations": [
       {
           "opportunity_id": "{{opportunity_id}}",
           "item_id": "{{item_id}}"
       }
   ]
}'

Example request:

curl --request POST \
  --url "https://api.mercadolibre.com/opportunity_center/submissions" \
  --header "Authorization: Bearer $ACCESS_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "associations": [
    {
      "opportunity_id": "6acf104136a62c085f5ca400",
      "item_id": "MLB1234567890"
    }
  ]
}'

Request body (JSON):

{
  "associations": [
    {
      "opportunity_id": "6acf104136a62c085f5ca400",
      "item_id": "MLB1234567890"
    }
  ]
}

Response: HTTP 200 OK.

Example response body:

{
  "results": [
    {
      "opportunity_id": "6acf104136a62c085f5ca400",
      "item_id": "MLB1234567890",
      "registration_status": "ACCEPTED",
      "status": 202,
      "submission_id": "9a3159d1-8df2-4a66-b3c7-20554b6900ca"
    }
  ]
}

Mixed batch example

This batch associates one listing and returns an individual error for a second listing whose opportunity is unavailable.

Request body:

{
  "associations": [
    {
      "opportunity_id": "6acf104136a62c085f5ca400",
      "item_id": "MLB1234567890"
    },
    {
      "opportunity_id": "6acf104136a62c085f5ca499",
      "item_id": "MLB1234567891"
    }
  ]
}

Response: HTTP 200 OK.

{
  "results": [
    {
      "opportunity_id": "6acf104136a62c085f5ca400",
      "item_id": "MLB1234567890",
      "registration_status": "ACCEPTED",
      "status": 202,
      "submission_id": "9a3159d1-8df2-4a66-b3c7-20554b6900ca"
    },
    {
      "opportunity_id": "6acf104136a62c085f5ca499",
      "item_id": "MLB1234567891",
      "registration_status": "NOT_ACCEPTED",
      "status": 404,
      "error": "resource_not_found",
      "message": "The resource is unavailable.",
      "cause": []
    }
  ]
}

Field descriptions

  • results: (array of objects). One result per association, in request order.
  • results[].opportunity_id / item_id: (string). IDs received for the association.
  • results[].registration_status: (string enum). ACCEPTED or NOT_ACCEPTED. This field reports the registration outcome. The subsequent business status is tracked separately.
  • results[].status: (integer). 202 for accepted associations, or an individual error code. The overall HTTP response stays 200.
  • results[].submission_id: (string). Required for accepted associations only. This stable ID lets you look up the association and differs from item_id and opportunity_id.
  • results[].error / message / cause: Returned only for associations that were not accepted. See Errors for the format. cause may be empty. These results do not contain submission_id.

Acceptance, lookup, and retries

  • Batch result: An evaluated batch returns HTTP 200 even if the service accepted no elements. The service keeps accepted elements when it rejects another element in the same batch.
  • ACCEPTED and status 202: Confirm that the service durably accepted the association. Boost approval is decided separately. Save submission_id for the detail GET request. The submission may take time to appear in the API and “My submissions.”
  • Site mismatch: The service returns 400 invalid_parameter with cause.code=opportunity_item_site_mismatch. It starts no evaluation and does not assign REJECTED.
  • Association conflicts: Inspect cause[].code for each result with status 409. See Association conflicts for both cases.
  • Idempotency: Resubmitting the same accepted listing–opportunity pair returns its original submission_id. Store the ID so you can reconcile the result before retrying.
Important:
A timeout, lost connection, or 500/503 error after registration starts does not imply a rollback. Reconcile the outcome before retrying because the service may already have registered some or all elements.

Step 4: List submissions

GET /opportunity_center/submissions

Track the associated listings to show the seller which ones are under review, which qualified for Boost, and which require attention. Retrieve associations within the authorized scope, including those created through Seller Central and integrators.

Query parameters

Requires seller_id and locale. The remaining query parameters are optional.

  • status: (CSV string). under_review, boosting, rejected, boost_ended, opportunity_expired. If omitted, returns all visible statuses.
  • query: (string). Opportunity title, up to 200 characters.
  • offset: (integer). From 0 to 10,000, inclusive. Defaults to 0.
  • limit: (integer). From 1 to 100, inclusive. Defaults to 20.
  • item_id / opportunity_id: (string). Filter by listing ID or opportunity ID. You can combine both to look up a specific pair.

Pagination values outside these limits return HTTP 400 with invalid_parameter.

Filters are combined. For status, a match on any requested value is enough. The service applies filters before counting and paginating results. The response returns statuses in uppercase.

API call:

curl --request GET \
   --url "https://api.mercadolibre.com/opportunity_center/submissions?seller_id=$SELLER_ID&locale=$LOCALE&status=$STATUSES&offset=$OFFSET&limit=$LIMIT" \
   --header "Authorization: Bearer $ACCESS_TOKEN"

Example request:

curl --request GET \
  --url "https://api.mercadolibre.com/opportunity_center/submissions?seller_id=123456789&locale=en-US&status=under_review,boosting&item_id=MLB1234567890&offset=0&limit=20" \
  --header "Authorization: Bearer $ACCESS_TOKEN"

Request body: Not applicable. This GET request sends its parameters in the URL.

Response: HTTP 200 OK.

Example response body:

{
  "results": [
    {
      "opportunity": {
        "opportunity_id": "6acf104136a62c085f5ca400",
        "site_id": "MLB",
        "title": "Adjustable camera clamp",
        "match_type": "similar",
        "suggested_price": {
          "amount": 79.77,
          "currency_id": "BRL"
        },
        "thumbnail": "https://example.com/camera-clamp-thumbnail.jpg",
        "suggested_net_proceeds": {
          "amount": 12.5,
          "currency_id": "BRL"
        },
        "suggested_picture_ids": [
          "SYNTHETIC-PICTURE-1"
        ],
        "suggested_leaf_category_id": 430469
      },
      "submission": {
        "submission_id": "9a3159d1-8df2-4a66-b3c7-20554b6900ca",
        "item_id": "MLB1234567890",
        "site_id": "MLB",
        "status": "UNDER_REVIEW"
      }
    }
  ],
  "paging": {
    "total": 1,
    "offset": 0,
    "limit": 20
  }
}

Field descriptions

  • results: (array of objects). Each element contains opportunity and submission, both described under Common fields.
  • paging.total: (integer). Total number of visible results that match the filters.
  • paging.offset / limit: (integer). Applied offset and page size.

When no submissions match, the API returns HTTP 200 with an empty results array. The response retains the requested offset and limit.

{
  "results": [],
  "paging": {
    "total": 0,
    "offset": 0,
    "limit": 20
  }
}

Step 5: Get a submission by ID

GET /opportunity_center/submissions/{submission_id}

Look up a specific association to update its status in your tool and guide the seller on that listing. Use the submission_id returned by the POST or list endpoint. The same authorization and visibility rules apply.

Parameters

  • submission_id: (path, required, string). Stable association ID.
  • seller_id and locale: (query, required). Common GET parameters. This endpoint does not support filters or pagination.

API call:

curl --request GET \
   --url "https://api.mercadolibre.com/opportunity_center/submissions/$SUBMISSION_ID?seller_id=$SELLER_ID&locale=$LOCALE" \
   --header "Authorization: Bearer $ACCESS_TOKEN"

Example request:

curl --request GET \
  --url "https://api.mercadolibre.com/opportunity_center/submissions/9a3159d1-8df2-4a66-b3c7-20554b6900ca?seller_id=123456789&locale=en-US" \
  --header "Authorization: Bearer $ACCESS_TOKEN"

Request body: Not applicable. This GET request sends its parameters in the URL.

Response: HTTP 200 OK.

Example response body:

{
  "opportunity": {
    "opportunity_id": "6acf104136a62c085f5ca400",
    "site_id": "MLB",
    "title": "Adjustable camera clamp",
    "match_type": "similar",
    "suggested_price": {
      "amount": 79.77,
      "currency_id": "BRL"
    },
    "thumbnail": "https://example.com/camera-clamp-thumbnail.jpg",
    "suggested_net_proceeds": {
      "amount": 12.5,
      "currency_id": "BRL"
    },
    "suggested_picture_ids": [
      "SYNTHETIC-PICTURE-1"
    ],
    "suggested_leaf_category_id": 430469
  },
  "submission": {
    "submission_id": "9a3159d1-8df2-4a66-b3c7-20554b6900ca",
    "item_id": "MLB1234567890",
    "site_id": "MLB",
    "status": "UNDER_REVIEW"
  }
}

Field descriptions

Returns opportunity and submission, equivalent to a single entry from the list endpoint, without results or paging. It prioritizes available historical information and omits the full attribute enrichment available in the opportunity detail response. A submission may be absent immediately after the POST even if the service accepted it.

Common fields

Opportunity object

  • opportunity_id: (string, always present). Opportunity ID.
  • opportunity_type: (string enum, always present). high_demand, low_supply, or better_pricing.
  • site_id: (string, always present). Opportunity site.
  • title: (string, always present). Title, with the translation available for locale.
  • thumbnail_url: (URI string or null, always present). Preview image.
  • match_type: (string enum, always present). exact or similar indicates the expected matching criterion. The evaluation outcome is reported separately.
  • suggested_domain_id: (string or null, always present). Suggested domain for external opportunities. null for internal opportunities. The service does not infer it from another field.
  • suggested_price: (Money or null, always present). Reference price. It does not guarantee approval or convert currencies.
  • suggested_net_proceeds: (Money or null, optional in list responses). Suggested net proceeds for external opportunities, when available and applicable. The amount is an estimate and does not guarantee a payout.
  • suggested_leaf_category_id: (integer or null, optional). Suggested leaf category for the opportunity’s site.
  • suggested_picture_ids: (array of strings, optional in list responses). Suggested image IDs. The detail response uses pictures instead.
  • cbt_category_id: (int64 integer or null, optional). CBT category, when available.
  • sales_comparison / visits_comparison: (Comparison or null, always present). Comparisons are available for internal opportunities. The fields are null for external opportunities.

Money and Comparison objects

  • Money.amount / currency_id: Finite number and string identifying the currency confirmed by the source, respectively.
  • Comparison.current / previous: number or null. Values for the current and previous periods, respectively.
  • Comparison.growth_pct: number or null. Expressed as a percentage, so 50 means 50% and 0.5 means 0.5%.

null means the data is unavailable. Zero retains its numeric value. The API returns numbers without display formatting.

opportunity summary in submissions

Includes opportunity_id, site_id, title, match_type, and suggested_price (Money or null). It may include thumbnail (URI string or null), suggested_net_proceeds (Money or null), suggested_picture_ids (array of strings), and suggested_leaf_category_id (integer). title may retain historical information. The summary names the image field thumbnail. The Opportunity object uses thumbnail_url. Amounts appear only when they match the listing’s site and currency. For historical external cross-site records, suggested_price is null and net proceeds are omitted. New cross-site submissions are still disallowed.

submission object

  • submission_id: (string). Stable ID returned by the POST request.
  • item_id: (string). Listing ID, distinct from the submission ID.
  • site_id: (string). Actual site of the listing.
  • status: (string enum). Business status from the table below.

Business statuses

Response valuestatus filterMeaning
UNDER_REVIEWunder_reviewPending or under evaluation.
BOOSTINGboostingApproved for Boost.
REJECTEDrejectedDid not qualify. The API does not expose internal diagnostics.
BOOST_ENDEDboost_endedBoost has ended.
OPPORTUNITY_EXPIREDopportunity_expiredThe opportunity has expired.

Editing a rejected listing does not trigger another evaluation. Submit a different listing and create a new association. The service reviews opportunities monthly, so they may leave or return to the list.

Errors

Service validation errors include error, message, status, and cause. The cause array may be empty. Each entry has a code and a message. In an evaluated POST batch, individual errors appear in results[] with registration_status=NOT_ACCEPTED and the overall HTTP status is 200. Authentication errors returned by the gateway have the separate format shown below.

CodeerrorApplies toAction
400invalid_parameterGET and POST (request level or per item)For list requests, check the pagination limits. For a request-level POST error, check the JSON, structure, properties, and the range of 1 to 100 associations. For an individual error, check the IDs and confirm that the sites match.
403PA_UNAUTHORIZED_RESULT_FROM_POLICIES (gateway code)All endpoints (request level)Send a valid bearer token. The gateway returns this code when the token is missing or invalid.
403forbiddenAll endpoints (request level or per item for POST)Check permissions, enablement, and authorized scope.
404opportunity_not_foundGET opportunity detailsThe resource does not exist or is unavailable in the authorized context.
404submission_not_foundGET submission detailsThe resource does not exist or is unavailable.
404resource_not_foundPOST (per item)The listing or opportunity is unavailable in the authorized context.
409association_conflictPOST (per item)Check cause[].code for the reason and follow the guidance under Association conflicts.
413payload_too_largePOST (request level)Reduce the request body to 1 MiB (1,048,576 bytes) or less.
429rate_limit_exceededAll endpoints (request level for POST)Reduce the request rate.
500internal_errorAll endpoints (request level or per item for POST)Internal failure. If registration already started, reconcile any effects before retrying.
503service_unavailableAll endpoints (request level or per item for POST)A dependency is unavailable. For a POST with an uncertain outcome, check for existing submissions before retrying.

Validation error: HTTP 400 Bad Request.

Example request-level error response body:

{
  "error": "invalid_parameter",
  "message": "Invalid request parameters.",
  "status": 400,
  "cause": []
}

Association conflicts

For each conflicting association, the POST response includes error: "association_conflict", registration_status: "NOT_ACCEPTED", and status: 409 in results[]. The result omits submission_id. The evaluated batch returns HTTP 200 OK.

  • item_associated_with_another_opportunity: The item already belongs to a different opportunity. The service preserves the existing association and leaves its evaluation state unchanged.
  • item_multiple_opportunities_in_batch: The item has no existing association and appears in the same batch for multiple distinct opportunities. The service rejects every entry for that item. Choose one opportunity for the item before retrying.

Read cause[].code to distinguish these cases. Resubmitting the same existing item–opportunity pair is idempotent and returns its original submission_id.

Missing or invalid token

The gateway returns HTTP 403 Forbidden for a missing or invalid bearer token. Read the gateway’s code field to distinguish this response from a service-level forbidden error.

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

opportunity_item_site_mismatch is an individual cause of 400 invalid_parameter. The service reports the required site after checking authorization and availability.