Request SIWE nonce
curl --request GET \
--url https://api.unitedmarket.ai/auth/nonce/{address}const options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/auth/nonce/{address}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/auth/nonce/{address}"
response = requests.get(url)
print(response.text){
"nonce": "<string>"
}Authentication
Request SIWE nonce
Generates a nonce for Sign-In with Ethereum. This route is public (@Public()), so a missing x-api-key is allowed. Other user routes that are not public (API key management, referral summary) reject a missing key with 401 Invalid API Key provided even if a SIWE bearer is present.
GET
https://api.unitedmarket.ai
/
auth
/
nonce
/
{address}
Request SIWE nonce
curl --request GET \
--url https://api.unitedmarket.ai/auth/nonce/{address}const options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/auth/nonce/{address}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/auth/nonce/{address}"
response = requests.get(url)
print(response.text){
"nonce": "<string>"
}