Get the masked status of the authenticated user's Unusual Whales key.
GET
/api/advisor/market-data-key
const url = 'https://api.tradr.cloud/api/advisor/market-data-key';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tradr.cloud/api/advisor/market-data-keyReturns the market-data (Unusual Whales) BYOK key status. The plaintext is NEVER returned (REQ-6.2/6.6) — only configured, a last-4-char masking hint (keyHintTail), and the verified flag. When no key is stored the response is { configured: false }.
Responses
Section titled “Responses”{ configured: false } or { configured: true, keyHintTail, verified } — no key material.