sFOX API
Ask or search…
K
Links

Authentication

sFOX uses API keys to grant access. You can generate a new sFOX API key in the developer portal.
The API key should be included in all API requests to the server in the Authorization header as a Bearer token:
Shell
NodeJS
Python
curl -H 'Authorization: Bearer <API_TOKEN>' 'https://api.sfox.com/v1/...'
const axios = require('axios');
axios({
method: 'get',
url: 'https://api.sfox.com/...',
headers: {
'Authorization': 'Bearer <API_KEY>'
}
}).then(response => {
console.log(response)
}).catch(err => {
console.error(err)
});
import requests
data = requests.get(
"https://api.sfox.com/...",
headers={
"Authorization": "Bearer <API_KEY>",
}
)
print(data)