apyhub
GEOLOCATION · STANDARD DATA

US County Place Context API

What it does

County Place Context returns place context for a U.S. county when you send a 5-digit county FIPS code.

Use it when you need to look up county-level reference data without maintaining your own mapping table. The request takes a single county_fips string, such as 06037, and the response returns a JSON object with additional properties, so the exact fields can vary by county or dataset version.

That makes County Place Context useful for enrichment workflows, county-based filters, reporting, and location lookup steps where you already know the county FIPS and need the related place context in a machine-readable form. It is a lightweight read endpoint: no batch payloads, no extra parameters, and no invented validation fields beyond the FIPS code itself.

GET
County place context API
https://api.eu.apyhub.com/dosvak/county-place-context/:county_fips

QUICKSTART

GUIDE

Quickstart

Look up county place context for a 5-digit county FIPS code.

curl -X GET "https://api.eu.apyhub.com/dosvak/county-place-context/:county_fips" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object. The response schema does not declare any fixed top-level fields, so the shape may vary.

{
  "county_fips": "06037",
  "county_name": "Los Angeles County",
  "state_name": "California",
  "population": 9757179,
  "geospatial_ready": true,
  "place_context": {
    "primary_place": "Los Angeles"
  },
  "attribution": [
    {
      "source": "U.S. Census Bureau Population Estimates Program"
    }
  ]
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
5-digit county FIPS code.

About this endpoint

What it does

Retrieves county place context for the specified county FIPS code. The input is a 5-digit county FIPS value, and the response schema is an object with no defined top-level fields.

Path Parameter(s)

AttributeTypeMandatoryDescription
county_fipsStringYes5-digit county FIPS code.

Response

Returns a JSON object. The output schema does not define any concrete top-level fields; it only states that additional properties are allowed, so the exact response shape is not yet captured in the schema.

Path parameters

Name
Type
Description
county_fipsREQUIRED
string
5-digit county FIPS code.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.