apyhub
GEOLOCATION · STANDARD DATA

US State Summary API

What it does

State Summaries returns state-level summary data in a single GET request. Send an optional limit query parameter to control how many records you receive, up to 100.

Use State Summaries when you need a compact list of geographic or demographic reference data for a dashboard, selector, report, or internal lookup.The response contains the number of returned state summaries, a list of state summary records, and attribution information.

Because the endpoint is designed around summary records, it fits cases where you want a lightweight state dataset rather than a full detail feed. For example, you can populate a dropdown, prefill analytics filters, or cache a small set of state summaries for repeated reads.

The API keeps the request simple: no body, just an optional limit in the query string. That makes State Summaries easy to integrate into read-heavy applications that need a basic state reference endpoint.

GET
State summaries
http://localhost:8080/dosvak/state-summaries

QUICKSTART

GUIDE

Quickstart

Fetch the state summaries list with the default page size.

curl -X GET "http://localhost:8080/dosvak/state-summaries?limit=100" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object containing the number of state summaries, a list of state summary records, and attribution details.

{
  "count": 2,
  "results": [
    {
      "state_name": "California",
      "county_count": 58,
      "population_total": "39431263",
      "avg_median_household_income": "80794.000000000000",
      "avg_poverty_rate": "13.1000000000000000",
      "avg_unemployment_rate": "5.4000000000000000"
    },
    {
      "state_name": "Texas",
      "county_count": 254,
      "population_total": "31290831",
      "avg_median_household_income": null,
      "avg_poverty_rate": null,
      "avg_unemployment_rate": null
    }
  ],
  "attribution": [ 
]
}
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.

About this endpoint

What it does

Returns a JSON object containing the number of state summaries, a list of state summary records, and attribution details.

Query Parameter(s)

AttributeTypeMandatoryDescription
limitIntegerNoMaximum number of items to return. Default: 100. Minimum: 1. Maximum: 100.

Query parameters

Name
Type
Description
limitOPTIONAL
integer
DEFAULT 100
▣ 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.