Get Westpac MI consumer sentiment

Monthly Westpac Melbourne Institute consumer sentiment index.

Steps

  1. 1Call /v1/westpac/sentiment.
  2. 2Read sentiment_index.

Code

cURL
curl https://api.ausdata.io/v1/westpac/sentiment \
  -H "Authorization: Bearer YOUR_KEY"
Python
import requests
r = requests.get(
    "https://api.ausdata.io/v1/westpac/sentiment",
    headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())
JavaScript
const r = await fetch("https://api.ausdata.io/v1/westpac/sentiment", {
  headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());

Watch out for

  • Index of 100 is the long-run average. Below 100 means pessimists outweigh optimists.

Related

Try it now

500 free calls per month. No credit card.

Get a free API key