GetRegionChildren to get states of the US

According to the documentation i should be able to get a list of US states by making a call to this api like this:

http://www.zillow.com/webservice/GetRegionChildren.htm?zws-id=<ZWSID>&country=unitedstates&childtype=state

However, this does not work. How would one go about getting region ids for all the states?
  Flag content
Close
Report a Problem

Please enter a valid email address.

Close
Content flagged

We will review this content. Thanks for helping make the site more useful to everyone. To learn more, read Zillow's Good Neighbor Policy.

Close
We're Sorry
This service is temporarily unavailable. Please come back later and try again.
September 01 2010 - US

Replies (2)

You're right, even though the API documentation specifies that you can retrieve a list of states, the API does not allow this.

To get the region ID's for the states, here's what to do:
You can look up the region ID for a city, state, or neighborhood by searching for it from the search box in the header of the following page and then copying the number after the "r_" in the url: http://www.zillow.com/local-info/
  Flag content
Close
Report a Problem

Please enter a valid email address.

Close
Content flagged

We will review this content. Thanks for helping make the site more useful to everyone. To learn more, read Zillow's Good Neighbor Policy.

Close
We're Sorry
This service is temporarily unavailable. Please come back later and try again.
September 02 2010
Actually, here's a way that the API can be used to retrieve the list of states (102001 is the region ID for the United States):
http://www.zillow.com/webservice/GetRegionChildren.htm?<ZillowAPIKey>&regionId=102001&childtype=state
  Flag content
Close
Report a Problem

Please enter a valid email address.

Close
Content flagged

We will review this content. Thanks for helping make the site more useful to everyone. To learn more, read Zillow's Good Neighbor Policy.

Close
We're Sorry
This service is temporarily unavailable. Please come back later and try again.
September 02 2010
 
  • Be a Good Neighbor. Be respectful and on-topic. No spam or self-promotion! See our Good Neighbor Policy.

Have a question? Ask it here.

What's this?
Close

By starting a discussion, you can expect more of an interactive, back-and-forth experience where the conversation can go in many different directions.

Or start a discussion
Related Discussions
Profile picture for HomeSand.net
DiscussionGetDeepSearchResults return error 508
  • Last reply by HomeSand.net
  • April 24
Profile picture for user801340
Discussionneighborhood boundary shapefiles - Berkeley, CA?
  • Posted by user801340
  • April 19
Profile picture for Matthew Z CS
Discussionfacebook apps
  • Last reply by Matthew Z CS
  • April 12
Profile picture for Matt Bowers
DiscussionZillow neighborhood data for mobile apps
  • Last reply by Matt Bowers
  • April 06
Profile picture for joeboyscout04
Discussionmobile app development
  • Last reply by joeboyscout04
  • March 22
Be A Good Neighbor

Zillow® Advice depends on each member to keep it a safe, fun, and positive place. If you see abuse, flag it. More on our Good Neighbor Policy