Execute Skill
Execute a skill with the provided parameters.
POST
/
marketplace
/
skills
/
{skill_id}
/
execute
Execute Skill
const options = {
method: 'POST',
headers: {'X-Browser-Use-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({parameters: {}, sessionId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.browser-use.com/api/v2/marketplace/skills/{skill_id}/execute', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://api.browser-use.com/api/v2/marketplace/skills/{skill_id}/execute \
--header 'Content-Type: application/json' \
--header 'X-Browser-Use-API-Key: <api-key>' \
--data '
{
"parameters": {},
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.browser-use.com/api/v2/marketplace/skills/{skill_id}/execute"
payload = {
"parameters": {},
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"X-Browser-Use-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"result": "<unknown>",
"error": "<string>",
"stderr": "<string>",
"latencyMs": 123
}{
"detail": "Skill is not finished"
}{
"detail": "Insufficient credits"
}{
"detail": "Skill not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Response
Successful Response
Response from executing a skill.
Was this page helpful?
⌘I
Execute Skill
const options = {
method: 'POST',
headers: {'X-Browser-Use-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({parameters: {}, sessionId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.browser-use.com/api/v2/marketplace/skills/{skill_id}/execute', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://api.browser-use.com/api/v2/marketplace/skills/{skill_id}/execute \
--header 'Content-Type: application/json' \
--header 'X-Browser-Use-API-Key: <api-key>' \
--data '
{
"parameters": {},
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.browser-use.com/api/v2/marketplace/skills/{skill_id}/execute"
payload = {
"parameters": {},
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"X-Browser-Use-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"result": "<unknown>",
"error": "<string>",
"stderr": "<string>",
"latencyMs": 123
}{
"detail": "Skill is not finished"
}{
"detail": "Insufficient credits"
}{
"detail": "Skill not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}