Reference Data

Find credit unions with branches near a ZIP code

Returns the closest NCUA-reported branch per credit union, ordered by estimated straight-line miles from the center of the requested Census ZIP area. This is not driving distance. ZIP-prefix matching remains only as a labelled fallback when centroid data is unavailable.

Authentication required: Pass your API key in the X-API-Key header.

get/credit-unions/nearby

Request

  • Base URL: https://api.rateapi.dev
  • URL: https://api.rateapi.dev/credit-unions/nearby
  • Auth: API key in header X-API-Key

Query parameters

zipstring required
Example:10001

Five-digit US ZIP code to search around. Distance is measured from the Census reference point for that ZIP area to each institution’s closest NCUA-reported branch, so it is a straight-line estimate rather than driving distance.

Response

Nearest credit-union branch matches

zipstring required

The five-digit ZIP code that was searched.

countinteger required

Number of credit unions returned.

precisionstring required

How the distances were computed, stated in words so it cannot be mistaken for driving distance.

disclosurestring required

Disclosure text that must be shown alongside these distances.

Example response

{
  "zip": "95814",
  "precision": "ZIP-centroid straight-line estimate"
}

Changes

No recorded changes to this operation across all 1 revision of this API.