FIPS County Code API

Simplifying Access to FIPS County Codes for Developers and Analysts.

What is the FIPS County Code API?

The FIPS County Code API is an over-engineered REST API providing US Federal Information Processing System (FIPS) county codes and a development sandbox for myself. It's based on work by Derek Swingley, found here

Initially meant as a microservice for another project that ended up not needing it, this API has become my go-to for technology and concept testing. Now in it's third iteration, it's built in Typescript and Next.js on AWS. This version will be in continuous development, with a few new features planned for the near future.

How do I use it?

The API accepts GET requests to one of two endpoints. The index endpoint needs no query parameters, while 'counties' takes either just a 'state' or both a 'state' and 'county' parameters. Easy peasy.Base URL: https://api.fips.codes/

API Endpoints