Postcode Filtering
You can limit the results from the Search endpoint (See Search for details) to those within a set of one or more postcodes using the postcode
parameter.
Example
For example, to search for restaurants located within the postcode 3000:
http://api.sensis.com.au/v1/test/search?query=restaurants&postcode=3000&key=...
This would exclude any results not in the specified postcode.
You can specify a set of postcodes by repeating the parameter:
http://api.sensis.com.au/v1/test/search?query=restaurants&postcode=3000&postcode=3205&key=...
Results will only include listings with an address located within one of the postcodes specified.
Docs Navigation
- Documentation Overview
- Intro into using SAPI
- Using Endpoints
- Technologies
- Authenticating
- Limits
- Common Fields
- Status Codes and Messages
- Validation Errors
- Searching
- Pagination
- Sorting
- Spell Checker
- Search Query Tips
- Reporting Usage Events
- Filtering Unsafe Content
- Category Filtering
- Postcode Filtering
- Radius Filtering
- Address Search
- Suburb Filtering
- State Filtering
- Bounding Box Filtering
- Filtering by Content Type
- Filtering by Product Keyword
- Location Tier Filtering
- Examples
- Endpoint Reference
- Reference
- Troubleshooting