Get Australian GDP by industry

ABS industry value added contribution to GDP, quarterly.

Steps

  1. 1Call the endpoint.
  2. 2Iterate by industry_code.

Code

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

Watch out for

  • Industry detail lags headline GDP by one release in some quarters.

Related

Try it now

500 free calls per month. No credit card.

Get a free API key