Requires Bearer token authentication. Include Authorization: Bearer YOUR_API_KEY in the request header.
Request Body
namestringName of the store
http_callbackstringrequiredWebsite's callback URL
Responses
namebody · stringName of the store
http_callbackbody · stringrequiredWebsite's callback URL
Response will appear here
Request
curl -X POST \
"https://www.blockonomics.co/api/v2/stores" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"const response = await fetch('https://www.blockonomics.co/api/v2/stores', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
const data = await response.json()
console.log(data)import requests
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.post(
"https://www.blockonomics.co/api/v2/stores",
headers=headers
)
print(response.json())