cagov / API

Used to develop Function As A Service Apps in support of Alpha.CA.gov.
5 stars 3 forks source link

Can the lookups that return city and county info also return FIPS and ANSI codes? #29

Open rkiddy opened 4 years ago

rkiddy commented 4 years ago

I am. hopeful that, someday, we can have APIs run by the state which vend official governmental information, which other APIs can link to and extend. Given that quite a lot of data that is associated with cities and counties uses their FIPS codes, can the alpha APIs vend these?

For example:

% curl 'https://api.alpha.ca.gov/caziplookup/95125'
{
  "zip": "95125",
  "FIPS": "085",
  "cities": [
    {
      "name": "San Jose",
      "FIPS": "68000",
      "ANSI": "02411790"
    }
  ]
}