Quickstart
Get started with running your API environments using MAXIMIZEAI.
Generate an API Key
Using Your API Key to run a API
const options = {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY_HERE'
}
};
fetch('https://openapi.maximizeai.org/v1/balance', options)
.then(response => {
if (!response.ok) {
throw new Error(HTTP error! Status: ${response.status});
}
return response.json();
})
.then(data => console.log('Balance:', data))
.catch(err => console.error('Error fetching balance:', err));Last updated