Create Your API Key
Get your API Key
Navigate to the API Integration settings to generate a new key.
Keep your API keys secure and never share them publicly. Each key provides full access to your Manus account.
Make Your First API Call
curl --request POST \
--url 'https://api.manus.ai/v1/tasks' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header "API_KEY: $MANUS_API_KEY" \
--data '{
"prompt": "hello",
"mode":"speed"
}'
import requests
url = "https://api.manus.ai/v1/tasks"
headers = {
"accept": "application/json",
"content-type": "application/json",
"API_KEY": f"{MANUS_API_KEY}"
}
data = {
"prompt": "hello",
"mode":"speed"
}
response = requests.post(url, json=data, headers=headers)
print(response.json())
const response = await fetch('https://api.manus.ai/v1/tasks', {
method: 'POST',
headers: {
'accept': 'application/json',
'content-type': 'application/json',
'API_KEY': `${process.env.MANUS_API_KEY}`
},
body: JSON.stringify({
prompt: 'hello',
mode: 'speed'
})
});
const data = await response.json();
console.log(data);
Next Steps
Now that you’ve made your first API call, here are a few things you can do to learn more about the Manus API:
Switch from OpenAI in 3 lines of code
Learn more about our Responses API, allowing you to switch from OpenAI to the Manus API with just 3 lines of code.