List suburbs

GEThttps://api.aussieoutagetracker.com.au/v1/suburbs

Needs an API key on the API plan. Each call answered 2xx counts against the plan’s included calls, then is billed beyond them; refusals and our failures never are.

Look up a suburb's id for the suburb filter, by name, postcode, state or network. Every suburb in a covered state is here, with the networks that serve it where known.

Query parameters

stringoptional

Name search, prefix match, case-insensitive: cranb finds Cranbourne.

Max length 80

comma-separated list of valuesoptional

Only these states.

Up to 20 values

stringoptional

Only this postcode.

Pattern ^\d{4}$

comma-separated list of stringsoptional

Only suburbs served by these networks.

Up to 20 values

integeroptional

Page size, 1–200.

Default 50Range 1 to 200

stringoptional

The next_cursor from the previous page.

Max length 200

Responses

200Success
dataarray of object
ShowHide 6 fields of each item
idinteger
namestring
postcodestring
stateenum

Australian state or territory, lower case.

nswvicqldsawatasntact
urlstring

The suburb's public page on aussieoutagetracker.com.au.

networksarray of string

Network ids serving this suburb, where known.

paginationobject
ShowHide 3 fields
has_moreboolean
next_cursorstringnullable

Pass as cursor for the next page. Null on the last page.

limitinteger
metaobject
ShowHide 1 fields
data_as_ofstring (date-time)nullable

When the most recent successful poll of any network finished. A stale value means the feeds, not this response, are behind.

400A parameter is invalid or unknown — error.param names it.

Every error has the same envelope:

errorobject
ShowHide 3 fields
codeenum
unauthorizedpayment_requiredforbiddennot_foundinvalid_parameterrate_limitedinternal_error
messagestring
paramstringoptional

The query parameter at fault, for invalid_parameter.

401No API key, or one that is not valid.

Every error has the same envelope:

errorobject
ShowHide 3 fields
codeenum
unauthorizedpayment_requiredforbiddennot_foundinvalid_parameterrate_limitedinternal_error
messagestring
paramstringoptional

The query parameter at fault, for invalid_parameter.

402The key's account cannot be billed: no card, or billing past due.

Every error has the same envelope:

errorobject
ShowHide 3 fields
codeenum
unauthorizedpayment_requiredforbiddennot_foundinvalid_parameterrate_limitedinternal_error
messagestring
paramstringoptional

The query parameter at fault, for invalid_parameter.

429Over 60 requests a minute on this key. Not billed.

Every error has the same envelope:

errorobject
ShowHide 3 fields
codeenum
unauthorizedpayment_requiredforbiddennot_foundinvalid_parameterrate_limitedinternal_error
messagestring
paramstringoptional

The query parameter at fault, for invalid_parameter.

Errors lists every error code and what to do about it.