---
title: "Create Browser Profile"
api: "POST /api/v1/browser-profiles"
description: "Create a new browser profile with custom settings for ad blocking, proxy usage, and viewport dimensions."
---
Create a new browser profile with custom settings for ad blocking, proxy usage, and viewport dimensions.
Pay-as-you-go users can only have one profile. Subscription users can create
multiple profiles.
### Request Body
Name of the browser profile
Description of the profile
Save cookies, local storage, and session data between tasks
Block ads and popups during automated tasks
Route traffic through mobile proxies for better stealth
Country code for the proxy
Browser viewport width in pixels
Browser viewport height in pixels
### Response
Unique identifier for the created browser profile
Name of the browser profile
Description of the profile
Save cookies, local storage, and session data between tasks
Block ads and popups during automated tasks
Route traffic through mobile proxies for better stealth
Country code for the proxy
Browser viewport width in pixels
Browser viewport height in pixels
```python python
import requests
API_KEY = 'your_api_key_here'
BASE_URL = 'https://api.browser-use.com/api/v1'
HEADERS = {'Authorization': f'Bearer {API_KEY}'}
profile_data = {
"profile_name": "Default Profile",
"description": "Main automation profile",
"persist": true,
"ad_blocker": true,
"proxy": true,
"proxy_country_code": "US",
"browser_viewport_width": 1280,
"browser_viewport_height": 960
}
response = requests.post(f'{BASE_URL}/browser-profiles', headers=HEADERS, json=profile_data)
profile = response.json()
print(profile)
````
```bash curl
curl --request POST \
--url https://api.browser-use.com/api/v1/browser-profiles \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{"profile_name": "Default Profile", "description": "Main automation profile", "persist": true, "ad_blocker": true, "proxy": true, "proxy_country_code": "US", "browser_viewport_width": 1280, "browser_viewport_height": 960}'
````
```json 200
{
"profile_id": "profile_1234567890abcdef",
"profile_name": "Default Profile",
"description": "Main automation profile",
"persist": true,
"ad_blocker": true,
"proxy": true,
"proxy_country_code": "US",
"browser_viewport_width": 1280,
"browser_viewport_height": 960
}
```