Summary: Get COVID-19 statistics for a specific US state Operation ID: getState Auth: none
Returns COVID-19 statistics for a specific US state by name. This is the state-level equivalent of /countries/{country}, providing detailed metrics for a single US state or territory. Pass the state name as a path parameter (e.g., "California", "New York", "Texas"). The response includes the same metrics as the /states list endpoint but focused on one state.
Original spec description
Returns COVID-19 data for a specific US state.
Usage Tips
- Use full state names: /states/California, /states/New%20York
- You can request multiple states with comma-separated values: /states/California,Texas,Florida
- The `yesterday` parameter returns previous day's data
- State names are case-sensitive - use proper capitalization
- For historical state data over time, use /historical/{country} with the state as a province
Parameters (2)
state(string, path, required)
State name. Use comma-separated values for multiple states.