List Profiles
Get paginated list of profiles.
Use the query parameter to search profiles by name or user_id.
This is useful when you have many profiles and need to find a specific user.
Example: If you set user_id to your internal user identifier when creating profiles,
you can later search for that user by passing their identifier as the query parameter.
GET
/
profiles
List Profiles
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}};
fetch('https://api.browser-use.com/api/v2/profiles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.browser-use.com/api/v2/profiles \
--header 'X-Browser-Use-API-Key: <api-key>'import requests
url = "https://api.browser-use.com/api/v2/profiles"
headers = {"X-Browser-Use-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"userId": "<string>",
"name": "<string>",
"lastUsedAt": "2023-11-07T05:31:56Z",
"cookieDomains": [
"<string>"
]
}
],
"totalItems": 123,
"pageNumber": 123,
"pageSize": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
Required range:
1 <= x <= 100Required range:
x >= 1Maximum string length:
200Response
Successful Response
Was this page helpful?
⌘I
List Profiles
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}};
fetch('https://api.browser-use.com/api/v2/profiles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.browser-use.com/api/v2/profiles \
--header 'X-Browser-Use-API-Key: <api-key>'import requests
url = "https://api.browser-use.com/api/v2/profiles"
headers = {"X-Browser-Use-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"userId": "<string>",
"name": "<string>",
"lastUsedAt": "2023-11-07T05:31:56Z",
"cookieDomains": [
"<string>"
]
}
],
"totalItems": 123,
"pageNumber": 123,
"pageSize": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}