Live Traffic Hazards API

Hi there,
I have been trying to access the above and keep getting the following error? Can you help me please?

Hi,

I’d like to check whether you’ve entered your API key correctly and included the word ‘apikey’ followed by a space before the token.

Regards,
Suraj

Hi Suraj,
This is working now. Thank you

I’m trying to use Postman..
Could you let me know in more detail?


I have same error.. How can I fix it??

Hi,

Please specify the type of operation you’re requesting.
For example:

  • To retrieve data on past and current Alpine conditions, use:
    GET - https://api.transport.nsw.gov.au/v1/live/hazards/alpine/all

  • To access past fire incidents, use:
    GET - https://api.transport.nsw.gov.au/v1/live/hazards/fire/closed

For a full list of available operations, visit the Live Traffic Hazards - Live Traffic Hazards API - TfNSW Open Data Hub and Developer Portal

Cool