STANDS4 Web Services:
ZIP Codes API
The ZIP Codes API from STANDS4 enables you to get the US location behind the zip code.
Request URL:
http://www.stands4.com/services/v2/zip.php
Request parameters:
| Parameter | Value | Required | Default | Description |
|---|---|---|---|---|
| uid | string | Y | Your API user id |
|
| tokenid | string | Y | Your valid developer token id |
|
| zip | string | Y | The zip code you would like to look for |
Sample request URL:
http://www.stands4.com/services/v2/zip.php?uid=1001&tokenid=tk324324324&zip=90210
Response elements:
| Element | Description |
|---|---|
| results | Contains all of the query responses |
| location | The US location behind the posted zip code |
Sample response:
<?xml version="1.0" encoding="UTF-8"?>
<results>
<location>Beverly Hills, California</location>
<longitude>-118.4061250000</longitude>
<latitude>34.0888080000</latitude>
</result>
Want to use this service?
The ZIP Codes API service is free to use for up to 1,000 queries per day.
For a premium commercial license, please contact us.
