Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
const options = { method: 'POST', headers: {'X-Browser-Use-API-Key': '<api-key>', 'Content-Type': 'application/json'}, body: JSON.stringify({prompt: '<string>'}) }; fetch('https://api.browser-use.com/api/v3/boxes/me/run', 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/v3/boxes/me/run \ --header 'Content-Type: application/json' \ --header 'X-Browser-Use-API-Key: <api-key>' \ --data '{ "prompt": "<string>"}'
import requestsurl = "https://api.browser-use.com/api/v3/boxes/me/run"payload = { "prompt": "<string>" }headers = { "X-Browser-Use-API-Key": "<api-key>", "Content-Type": "application/json"}response = requests.post(url, json=payload, headers=headers)print(response.text)
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Successful Response
Was this page helpful?