v1
latestOpenAPI 3.1.22026-08-062430.0 KBPerform action for a single occupant
Uses HTTP GET to accept one input record and returns the response in XML format.
Path parameters
There are two available actions: get and buy. get: Get count of addresses that fit in the given criteria. buy: Buy a list of addresses' info that fit the given criteria.
Format is json or xml.
Each request must specify a single geographic type. Here are the available Geographic Types: zip, city, county, radiusbymiles, radiusbyrecords, states, countiesbystate, citiesbystate, zipsbycity, crtsbyzip.
Query parameters
Customer ID, License Key, or Email Address. This is checked against the list of registered customers.
Comma-delimited list of five-digit ZIP Codes. Can also include partial ZIP codes with a wild card. Ex: “92688, 90210” or “926*”
Geographic Type
- Required: zip
- Optional: RadiusByMiles, RadiusByRecords, city, county
Comma-delimited list of carrier routes within the selected ZIP Codes. Format is “crrt-zip”.Ex: “C001-92688, R002-90210”
Geographic Type
- Optional: zip, city, RadiusByMiles
Set to 1 to include residential addresses not located on rural routes, if any exist in the selected area. Do not include or set to 0 to exclude these addresses from the counts or purchased list.
Geographic Type
- Required: RadiusByMiles
Number of records around the submitted address to search. Maximum is 100,000 (65,535 when buying an Excel file).
Geographic Type
- Required: RadiusByRecords
Street address that will be the center of the search area.
Geographic Type
- Required: RadiusByMiles, RadiusByRecords
Two-character abbreviation for the desired state. Ex: “state=ca”.
Geographic Type
- Required: city, county
- Optional: RadiusByMiles, RadiusByRecords, CitiesByState, CountiesByState
Must be the name of an existing city within the selected state.
Geographic Type
- Required: city
- Optional: RadiusByMiles, RadiusByRecords
Must be the name of an existing county within the selected state.
Geographic Type
- Required: county
Includes residential addresses not located on rural routes, if any exist in the selected area.
Default Value: cityres=1 To exclude: cityres=0 or do not include.
Includes apartment addresses not located on rural routes, if any exist in the selected area.
Default Value: cityapt=1 To exclude: cityapt=0 or do not include.
Includes business and commercial addresses not located on rural routes.
Default Value: citybiz=1 To exclude: citybiz=0 or do not include.
Includes PO Boxes rented by residential customers.
Default Value: pores=1 To exclude: pores=0 or do not include.
Includes PO Boxes rented by commercial customers.
Default Value: pobiz=1 To exclude: pobiz=0 or do not include.
Includes residential addresses located on rural routes, if any exist in the selected area.
Default Value: ruralres=1 To exclude: ruralres=0 or do not include.
Includes apartment addresses located on rural routes, if any exist in the selected area.
Default Value: ruralapt=1 To exclude: ruralapt=0 or do not include.
Includes business and commercial addresses located on rural routes, if any exist in the selected area.
Default Value: ruralbiz=1 To exclude: ruralbiz=0 or do not include.
Buy Requests Only. By default, purchased lists may be used once. With this parameter included in the Buy call, you can purchase the right to use a list for multiple mailings. Specify the number of uses like this: multi=4. The maximum number of uses allowed for any purchased list is 5.
Default Value: multi=1 Output Parameter: multi=(1 through 5)
Buy Requests Only. Defines the desired file format of a purchased list.
Default Value: file=(none) Output Parameter:
- 2 - File Format: Zipped .txt
- 3 - File Format: Zipped .csv
- 5 - File Format: Zipped .xls (Excel)
- 7 - File Format: .txt
- 8 - (Default) File Format: .csv
- 10 - File Format: .xls (Excel)
Buy Requests Only. Defines the customer's purchase order number.
Default Value: N/A To specify: po=xxxx
For count, a separate count of names will be given.
For purchase, extra columns will be added: pre name, first name, initial, last name, post name.
Set to 1 to include personal names when they are available. Do not include or set to 0 to not include names.
Default Value: name=0 To include: name=1
Parameter check. If a parameter in the url is spelled wrong or not suited for the given call, the request will be rejected.
Default Value: dbug=0 To check: dbug=1
Headers
Format of the response.
Format of the request.
Response
Successful response