State-Postcode Lookup — Australia
Returns state and postcode details by ID. The ID format is state-postcode (e.g. NSW-2145). Use the id from State-Postcode Suggest.
Request
GET http://localhost:8383/address-api-v1/au/state-postcode/{id} Path parameters
| Parameter | Description |
|---|---|
id | State-postcode ID (format: state-postcode). |
Response (200 OK)
{
"id": "NSW-2145",
"postcode": "2145",
"state": "NSW"
} Errors
404 Not Found — State-postcode not found for the given ID.
Example
curl -X GET "http://localhost:8383/address-api-v1/au/state-postcode/NSW-2145" \
-H "x-auth-key: YOUR_API_KEY"