Documentation Mercado Libre
Check out all the necessary information about APIs Mercado Libre.
Documentation
Manage users
Users & Apps
| Resource | Description | Example |
|---|---|---|
| /users/$USER_ID | User account information. |
GET PUT
Go back
X
Get user information.
Response:
Learn more.
Go back
X
Update user information.
Learn more.
|
| /users/me | Returns account information about the authenticated user. |
GET
Go back
X
Get information about the authenticated in user:
Response:
Learn more.
|
| /users/$USER_ID/addresses | Returns addresses registered by the user. |
GET
Go back
X
Get user addresses.
Response
Learn more.
|
| /users/$USER_ID/accepted_payment_methods | Returns payment methods accepted by a seller to collect its operations. |
GET
Go back
X
Get accepted payment methods by user.
Response
Learn more.
|
| /applications/$APP_ID | Returns information about the application. |
GET
Go back
X
Get application details.
Response
Learn more.
|
| /users/$USER_ID/brands | This resource retrieves brands associated to an user_id. The official_store_id attribute identifies a store. |
GET
Go back
X
Get brands by user.
Response
Learn more.
|
| /users/$USER_ID/applications/$APP_ID | Application permissions. |
DELETE
Go back
X
Revoke permissions to an application.
Learn more.
|
| /missed_feeds?app_id=$APP_ID | Notifications history. |
GET
Go back
X
Get historic of notifications by app
Learn more.
|
| /marketplace/users/$USER_ID | User mapping with its corresponding marketplace user detail. |
GET
Go back
X
Get the mapping of a user and its corresponding marketplace:
Response
Learn more.
|
Get personal information
If you are logged in Mercado Libre and have a token, you will be able to make the request below and learn about your user-related information:
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/users/me
Response:
{
"id": 701124911,
"nickname": "MLMCBT",
"registration_date": "2021-01-13T13:35:17.000-04:00",
"first_name": "Test",
"last_name": "Test",
"gender": "",
"country_id": "US",
"email": "maca1122334455@test.com",
"identification": {
"number": "ABC123",
"type": "TaxID"
},
"address": {
"address": "498 NW 3rd Av",
"city": "Akiachak",
"state": "US-AK",
"zip_code": "2233333"
},
"phone": {
"area_code": "01",
"extension": "",
"number": "1111-1111",
"verified": false
},
"alternative_phone": {
"area_code": "",
"extension": "",
"number": ""
},
"user_type": "normal",
"tags": [
"normal",
"test_user",
"messages_as_seller"
],
"logo": null,
"points": 100,
"site_id": "CBT",
"permalink": "nullMLMCBT",
"seller_experience": "ADVANCED",
"bill_data": {
"accept_credit_note": null
},
"seller_reputation": {
"level_id": null,
"power_seller_status": null,
"transactions": {
"canceled": 0,
"completed": 0,
"period": "historic",
"ratings": {
"negative": 0,
"neutral": 0,
"positive": 0
},
"total": 0
},
"metrics": {
"sales": {
"period": "60 months",
"completed": 0
},
"claims": {
"period": "60 months",
"rate": 0,
"value": 0
},
"delayed_handling_time": {
"period": "60 months",
"rate": 0,
"value": 0
},
"cancellations": {
"period": "60 months",
"rate": 0,
"value": 0
}
}
},
"buyer_reputation": {
"canceled_transactions": 0,
"tags": [],
"transactions": {
"canceled": {
"paid": null,
"total": null
},
"completed": null,
"not_yet_rated": {
"paid": null,
"total": null,
"units": null
},
"period": "historic",
"total": null,
"unrated": {
"paid": null,
"total": null
}
}
},
"status": {
"billing": {
"allow": true,
"codes": []
},
"buy": {
"allow": true,
"codes": [],
"immediate_payment": {
"reasons": [],
"required": false
}
},
"confirmed_email": true,
"shopping_cart": {
"buy": null,
"sell": null
},
"immediate_payment": false,
"list": {
"allow": true,
"codes": [],
"immediate_payment": {
"reasons": [],
"required": false
}
},
"mercadoenvios": "not_accepted",
"mercadopago_account_type": "personal",
"mercadopago_tc_accepted": true,
"required_action": null,
"sell": {
"allow": true,
"codes": [],
"immediate_payment": {
"reasons": [],
"required": false
}
},
"site_status": "active",
"user_type": null
},
"secure_email": "ttest.h6rdpb@mail.mercadolibre.com",
"company": {
"brand_name": "TESTACMECOMPANY",
"city_tax_id": "",
"corporate_name": "TESTACMECOMPANY",
"identification": "12345678",
"state_tax_id": "",
"cust_type_id": "BU",
"soft_descriptor": null
},
"credit": {
"consumed": 0,
"credit_level_id": "CBT5",
"rank": "newbie"
},
"pwd_generation_status": "none",
"context": {
"ip_address": "200.0.0.0"
},
"registration_identifiers": []
}
Response fields
| Field | Type | Description |
|---|---|---|
| id | Integer | The user's unique identifier. |
| nickname | String | The user's nickname displayed on the platform. |
| registration_date | String | Date and time when the user registered (ISO 8601 format). |
| first_name | String | The user's first name. |
| last_name | String | The user's last name. |
| country_id | String | The user's country code (ISO 3166-1 alpha-2). |
| String | The user's email address. | |
| identification | Object | User's identification document information (number, type). |
| address | Object | The user's address information (address, city, state, zip_code). |
| phone | Object | The user's primary phone information (area_code, number, verified). |
| site_id | String | The site identifier (CBT for Cross-Border Trade). |
| seller_experience | String | The seller's experience level (e.g., "ADVANCED", "INTERMEDIATE", "NEWBIE"). |
| seller_reputation | Object | The seller's reputation metrics and transaction history. |
| buyer_reputation | Object | The buyer's reputation and transaction history. |
| status | Object | User's account status and permissions (billing, buy, sell, list, site_status). |
| secure_email | String | Anonymized email for secure communications. |
| company | Object | Company information for business accounts (brand_name, corporate_name, identification, cust_type_id). |
| credit | Object | User's credit information (consumed, credit_level_id, rank). |
| pwd_generation_status | String | Password generation status (e.g., "none", "generated"). |
| context | Object | Contextual information about the request (ip_address, device, flow, source). |
| registration_identifiers | Array | Additional registration identifiers. |
Get public global user information
Now, as you already know the user ID, you can make a request to the users' resource as shown below in order to get the public information of the user you want:
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/users/$USER_ID
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/users/202593498
Response:
{
"id": 202593498,
"nickname": "TETE2870021",
"registration_date": "2016-01-06T11:31:42.000-04:00",
"country_id": "AR",
"address": {
"state": "AR-C",
"city": "Palermo"
},
"user_type": "normal",
"tags": [
"normal",
"test_user",
"user_info_verified"
],
"logo": null,
"points": 100,
"site_id": "MLA",
"permalink": "http://perfil.mercadolibre.com.ar/TETE2870021",
"seller_reputation": {
"level_id": null,
"power_seller_status": null,
"transactions": {
"period": "historic",
"total": 0,
"completed": 0,
"canceled": 0,
"ratings": {
"positive": 0,
"negative": 0,
"neutral": 0
}
}
},
"buyer_reputation": {
"tags": []
},
"status": {
"site_status": "active"
}
}
Public vs private fields
When querying another user's information, you receive public data only. When querying your own user (with valid access token), you receive private data including additional fields:
| Public fields | Private fields (own user only) |
|---|---|
| id, nickname | |
| registration_date | first_name, last_name |
| country_id | identification |
| address (city, state only) | phone, alternative_phone |
| user_type, tags | address (full details) |
| logo, points | secure_email |
| site_id, permalink | company (full details) |
| seller_reputation | credit, bill_data |
| buyer_reputation | context, pwd_generation_status |
| status.site_status | status (full details) |
Get private global user information
Now, as you already know the user ID, you can make a request to the users' resource as shown below in order to get the private information of the user you want:
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/users/$USER_ID
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/users/526124693
Response:
{
"id": 526124693,
"nickname": "CNMOLMEDOTESTCBT",
"registration_date": "2020-02-12T09:43:00.000-04:00",
"first_name": "molmedotestcbt",
"last_name": "MolmedoTestCBTOP",
"gender": "",
"country_id": "CN",
"email": "6bdb83c0d0@emailtown.club",
"identification": {
"number": "12345678",
"type": "TaxID"
},
"address": {
"address": "false street 1212",
"city": "Chongqing",
"state": "CHONGQING",
"zip_code": "22344"
},
"phone": {
"area_code": null,
"extension": "",
"number": "5032423424242",
"verified": false
},
"alternative_phone": {
"area_code": "",
"extension": "",
"number": ""
},
"user_type": "normal",
"tags": [
"normal",
"messages_as_seller"
],
"logo": null,
"points": 0,
"site_id": "CBT",
"permalink": "nullCNMOLMEDOTESTCBT",
"shipping_modes": [
"custom",
"not_specified"
],
"seller_experience": "ADVANCED",
"bill_data": {
"accept_credit_note": null
},
"seller_reputation": {
"level_id": null,
"power_seller_status": null,
"transactions": {
"canceled": 0,
"completed": 0,
"period": "historic",
"ratings": {
"negative": 0,
"neutral": 0,
"positive": 0
},
"total": 0
},
"metrics": {
"sales": {
"period": "60 months",
"completed": 0
},
"claims": {
"period": "60 months",
"rate": 0,
"value": 0
},
"delayed_handling_time": {
"period": "60 months",
"rate": 0,
"value": 0
},
"cancellations": {
"period": "60 months",
"rate": 0,
"value": 0
}
}
},
"buyer_reputation": {
"canceled_transactions": 0,
"tags": [],
"transactions": {
"canceled": {
"paid": null,
"total": null
},
"completed": null,
"not_yet_rated": {
"paid": null,
"total": null,
"units": null
},
"period": "historic",
"total": null,
"unrated": {
"paid": null,
"total": null
}
}
},
"status": {
"billing": {
"allow": true,
"codes": []
},
"buy": {
"allow": true,
"codes": [],
"immediate_payment": {
"reasons": [],
"required": false
}
},
"confirmed_email": false,
"shopping_cart": {
"buy": null,
"sell": null
},
"immediate_payment": false,
"list": {
"allow": true,
"codes": [],
"immediate_payment": {
"reasons": [],
"required": false
}
},
"mercadoenvios": "not_accepted",
"mercadopago_account_type": null,
"mercadopago_tc_accepted": false,
"required_action": null,
"sell": {
"allow": true,
"codes": [],
"immediate_payment": {
"reasons": [],
"required": false
}
},
"site_status": "active",
"user_type": null
},
"secure_email": "mmolmed.hgxgj0@mail.com",
"company": {
"brand_name": "molmedotestcbt",
"city_tax_id": "",
"corporate_name": "MolmedoTestCBTOP",
"identification": "12345678",
"state_tax_id": "",
"cust_type_id": "BU",
"soft_descriptor": null
},
"credit": {
"consumed": 0,
"credit_level_id": "CBT5",
"rank": "newbie"
},
"pwd_generation_status": "none",
"context": {
"device": "desktop",
"flow": "cbt-merchant",
"source": "mercadolibre"
}
}
As you can see, this time you got more information about the user: full name, e-mail, telephone, address, etc. Please do not disclose this data since it may jeopardize the user.
Update global user information
To update your user information, follow the next request:
Request:
curl -X PUT -H 'Authorization: Bearer $ACCESS_TOKEN' \
-H "Content-Type: application/json" \
-d '{BODY}' \
https://api.mercadolibre.com/users/$USER_ID
Example:
curl -X PUT -H 'Authorization: Bearer $ACCESS_TOKEN' \
-H "Content-Type: application/json" \
-d '{
"first_name": "Mister X"
}' \
https://api.mercadolibre.com/users/526124693
Response:
{
"user_id": 526124693
}
Remember to only send the fields you want to update.
Updatable fields
The following fields can be updated via PUT request:
| Field | Type | Description |
|---|---|---|
| first_name | String | The user's first name. |
| last_name | String | The user's last name. |
| identification_type | String | The type of identification document (e.g., "TaxID"). |
| identification_number | String | The identification document number. |
| address | String | Street address. |
| city | String | City name. |
| state | String | State or region code. |
| zip_code | String | Postal/ZIP code. |
| phone | Object | Phone information (area_code, number, extension). |
| company | Object | Company information (corporate_name, brand_name). |
Example: Update phone number
curl -X PUT -H 'Authorization: Bearer $ACCESS_TOKEN' \
-H "Content-Type: application/json" \
-d '{
"phone": {
"area_code": "55",
"number": "999999999",
"extension": ""
}
}' \
https://api.mercadolibre.com/users/$USER_ID
Example: Update company information
curl -X PUT -H 'Authorization: Bearer $ACCESS_TOKEN' \
-H "Content-Type: application/json" \
-d '{
"company": {
"corporate_name": "Acme Corporation",
"brand_name": "Acme"
}
}' \
https://api.mercadolibre.com/users/$USER_ID
Marketplace user mapping
Returns the mapping between a global user and their marketplace-specific users. This is essential for understanding the relationship between the CBT global account and local marketplace operations.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/marketplace/users/$USER_ID
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/marketplace/users/471826944
Response:
{
"user_id": 471826944,
"site_id": "CBT",
"marketplaces": [
{
"user_id": 471828584,
"site_id": "MLM",
"logistic_type": "remote"
},
{
"user_id": 471830260,
"site_id": "MLB",
"logistic_type": "remote"
},
{
"user_id": 538932857,
"site_id": "MLC",
"logistic_type": "remote"
}
]
}
Response fields
| Field | Type | Description |
|---|---|---|
| user_id | Integer | The global user's unique identifier. |
| site_id | String | The site identifier (CBT for Cross-Border Trade global user). |
| marketplaces | Array | List of marketplace user mappings. |
| marketplaces[].user_id | Integer | The marketplace-specific user ID. |
| marketplaces[].site_id | String | The marketplace site identifier (e.g., MLM, MLB, MLC, MCO). |
| marketplaces[].logistic_type | String | The logistic type for this marketplace operation: fulfillment or remote. |
Available marketplaces
| Site ID | Country | Available logistic types |
|---|---|---|
| MLM | Mexico | Remote, Fulfillment |
| MLB | Brazil | Remote |
| MLC | Chile | Remote, Fulfillment |
| MCO | Colombia | Remote |
Next: Test users.