---
title: "State capital-gains rates (short + long term)"
method: GET
path: "/api/v1/rates/capital-gains"
tags: ["Rates"]
---

# State capital-gains rates (short + long term)

`GET /api/v1/rates/capital-gains`

## Request

- Base URL: `https://www.agenttax.io`
- URL: `https://www.agenttax.io/api/v1/rates/capital-gains`
- Auth: none declared

Public read of STATE_CAPITAL_GAINS with confidence scoring, federal-rate context, and per-state caveats for nuanced regimes (MA split, OK 5-year deduction, AR 50% LT exclusion, etc.).

## Query parameters

- `state` 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DE' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY' | 'DC': Two-letter US state code (or DC).
- `format` 'compact': compact = `{state: {st, lt, t}}`. Default is full per-state.
- `explain` 'true' | 'false': When `state=` is set, adds an `explanation` block.

## Response `200`

Capital-gains table or single-state record.

## Other responses

- `404`: Unknown state code.

---

[API](https://skmtc.dev/agenttax/apis/agenttax-api.md) · [All operations](https://skmtc.dev/agenttax/apis/agenttax-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agenttax/apis/agenttax-api/revisions/c4af8147c0cb?raw)
