Contents
State data
Technical reference
How to read Good Investment state data: monthly ZIP and neighborhood appreciation for the states in your contract, from one host with a key bound to those states.
- Base URL
- https://data.goodinvestment.io
1. What the service delivers
Each month we publish a snapshot of home-price appreciation for every ZIP code we hold figures for in your Licensed States. One ZIP record carries:
- the ZIP's appreciation over one year, five years and since 2000, as a percentage a year;
- each year's change since 2001 (the annual history);
- an estimate for the current year, updated monthly until the year's annual figures are published;
- the ZIP's neighborhoods, each a set of hexagonal map cells of about 0.7 km² (H3 resolution 8), with the same figures for each neighborhood.
The figures are model-generated estimates built on public house price indexes, our own index and our methods for filling gaps between them.
2. Authentication
Send your access key on every request in the Authorization header:
Authorization: Bearer gi_data_...A key is gi_data_ followed by 32 characters (capital letters A to Z and digits 2 to 7). We deliver it once, by a secure channel, and store only a hash of it, so a lost key is replaced with a new one. Keep it on your servers, in a secrets manager or your deployment's secret store. We can issue more than one key for your account, for example one per environment, and revoke any of them on request.
The examples below read the key from an environment variable:
export GI_DATA_KEY='paste your key here'3. What a key can read
| Licensed States | A key reads only the states in your Order Form. |
|---|---|
| Contract dates | A key works from 00:00 UTC on the Order Form's start date through 23:59 UTC on its end date, while the account is active. |
| Monthly request cap | Your Order Form sets how many successful requests (HTTP 200) your account may make in a calendar month (UTC). Refused requests do not count. The count resets at 00:00 UTC on the 1st. |
| Rate limit | Up to 120 requests in any 60 seconds for your account, across all its keys. While the contract is active, every GET to a /v1/ endpoint with a valid key counts toward it, including one refused for another reason, such as not_in_contract or monthly_cap_reached. A request refused as rate_limited does not count. |
4. Monthly refresh
We build each month's snapshot from the 6th of the month (UTC). A month appears in /v1/months only once every ZIP in it is written, normally by the 8th, so you never read a half-built month. We keep every month we publish, and any of them can be read by passing month. Each month is named YYYY-MM, for example 2026-12.
data_through is the last year of published annual figures in that month's snapshot. If we rebuild a published month to correct an error, we tell you which month and which states.
A ZIP that crosses a state line is filed under the state holding most of its neighborhoods, and appears in that state's pages only.
5. Endpoints
All endpoints answer GET only. Every response carries an X-Request-Id header and Cache-Control: no-store.
GET/healthz
Needs no key. Answers {"ok": true} while the service is up.
GET/v1/months
Lists the complete months you can read, newest first, with your Licensed States.
curl -s https://data.goodinvestment.io/v1/months \
-H "Authorization: Bearer $GI_DATA_KEY"{
"months": [
{"month": "2026-12", "data_through": 2025},
{"month": "2026-11", "data_through": 2025}
],
"states": ["FL", "TX"]
}GET/v1/states/{ST}/zips
One state's ZIP records for a month, in ascending ZIP order, one page per request.
{ST} | A two-letter state code, such as TX. Lower case is accepted. |
|---|---|
month | YYYY-MM. Defaults to the newest complete month. |
limit | Records per page, 1 to 1,000. Defaults to 250. |
cursor | The next_cursor from the previous page. Leave it out for the first page. |
curl -s "https://data.goodinvestment.io/v1/states/TX/zips?month=2026-12&limit=1000" \
-H "Authorization: Bearer $GI_DATA_KEY"{
"state": "TX",
"month": "2026-12",
"data_through": 2025,
"count": 1000,
"zips": [ {"zip": "75001", "...": "one ZIP record, section 6"} ],
"next_cursor": "76574"
}next_cursor is the last ZIP on the page while more remain, and null on the last page. Each page is one request against your monthly cap.
GET/v1/zips/{zip}
One ZIP record, for the month you pass in month as above: the ZIP record of section 6 with month added.
curl -s "https://data.goodinvestment.io/v1/zips/78704?month=2026-12" \
-H "Authorization: Bearer $GI_DATA_KEY"6. The ZIP record
{
"as_of": "2026-12-06",
"as_of_month": "2026-12",
"zip": "78704",
"county": "Travis County",
"state": "Texas",
"data_through": 2025,
"zip_appreciation": {
"basis": "zip",
"one_year": {"percent_per_year": 1.9, "from_year": 2024, "to_year": 2025},
"five_year": {"percent_per_year": 1.9, "from_year": 2020, "to_year": 2025},
"since_2000": {"percent_per_year": 5.8, "from_year": 2000, "to_year": 2025},
"history": [
{"year": 2024, "percent": 0.6, "basis": "zip", "estimated": false},
{"year": 2025, "percent": 1.9, "basis": "zip", "estimated": false}
]
},
"current_year_estimate": {
"status": "ready", "from_year": 2025, "to_year": 2026, "percent": 1.2,
"through_quarter": "2026-Q2", "through_month": "2026-08",
"method": "monthly", "region": "Austin-Round Rock-San Marcos, TX"
},
"neighborhoods": {
"status": "ready",
"hex_resolution": 8,
"items": [
{
"cells": ["88489e3441fffff", "88489e3445fffff"],
"published_through": 2025,
"one_year": {"percent_per_year": 2.7, "from_year": 2024, "to_year": 2025,
"basis": "neighborhood", "estimated": false},
"five_year": {"percent_per_year": 2.7, "from_year": 2020, "to_year": 2025,
"basis": "neighborhood", "estimated": false},
"since_2000": {"percent_per_year": 6.6, "from_year": 2000, "to_year": 2025,
"basis": "neighborhood", "estimated": false},
"history": [{"year": 2025, "percent": 2.7, "basis": "neighborhood", "estimated": false}]
}
]
}
}The history arrays above are shortened; a full record carries every year since 2001.
Top level
as_of | The date we computed this record. |
|---|---|
as_of_month | The snapshot month the record belongs to. |
zip | The five-digit ZIP code. |
county, state | The county and state names for the ZIP. |
data_through | The last year of published annual figures. |
zip_appreciation
basis | Where the ZIP's figures come from: zip when the ZIP's own index is current, else county, else state. |
|---|---|
one_year, five_year, since_2000 | Each window: percent_per_year (compound appreciation a year over the window), from_year and to_year. A window is null when there is no figure for it. |
history | One entry a year since 2001: year, percent (the change from the year before), basis and estimated. |
current_year_estimate
The year after data_through, estimated until its annual figures are published. It updates every month from late March to late January as new monthly data comes out, and in late February with the year's fourth quarter. It applies to the ZIP and to every neighborhood whose figures run to data_through.
status | ready, or none for a ZIP whose figures stop before data_through. |
|---|---|
from_year, to_year | The year the estimate starts from and the year it estimates. |
percent | The estimated change in the year's average level from the year before. |
through_quarter | The last quarter of index data the estimate uses, such as 2026-Q2. |
through_month | The last month of index data the estimate uses, such as 2026-08. |
method | monthly: our monthly estimate, from quarterly and monthly house price indexes, state unemployment and the 10-year Treasury yield. quarterly: the metro's change over the quarters published so far. |
region | The area whose change the estimate uses: the metro, the state outside its metro areas, or the state. |
neighborhoods
status | ready, or none_in_zip for a ZIP with no land area of its own, such as a PO box ZIP. |
|---|---|
hex_resolution | Always 8: the H3 resolution of the cells. |
items | One entry per neighborhood, ordered by its first cell. |
Each entry in items:
cells | The neighborhood's H3 cells inside this ZIP, at resolution 8, or at resolution 9 inside a cell it shares with a neighborhood too small to hold one of its own. Read a cell's resolution from the cell itself. |
|---|---|
published_through | The last year with a figure of the neighborhood's own, from a published index or our own index; null when it has none. |
one_year, five_year, since_2000 | Each window: percent_per_year, from_year, to_year, basis and estimated. |
history | One entry a year since 2001: year, percent, basis and estimated. |
basis names the area a neighborhood figure comes from: neighborhood for its own, or zip, county or state where neither a published index nor our own index has a figure for it over the window, and the ZIP's figures stand in. estimated is true when the neighborhood had no published figure for a year at either end of the window, and we carried its last published level forward with the ZIP's change (else the county's) over the missing years.
7. Errors
An error answers with an HTTP status and this body:
{"error": {"code": "not_in_contract", "message": "FL is not in this contract.", "request_id": "req_3f9c0a6b1e2d4c5a7b8c"}}invalid_key- Status
- 401
- When
- No key, a malformed key, or a key that is unknown or revoked.
contract_inactive- Status
- 403
- When
- The account is suspended, or today (UTC) is outside the contract dates.
not_in_contract- Status
- 403
- When
- The state, or the state a ZIP is filed under, is outside your Licensed States.
invalid_request- Status
- 400
- When
- A malformed state code,
month,limit,cursoror ZIP.
not_found- Status
- 404
- When
- We hold no figures for that ZIP in that month, or the path is not an endpoint.
month_not_found- Status
- 404
- When
- No complete snapshot for that month, or none published yet.
method_not_allowed- Status
- 405
- When
- A method other than
GET.
rate_limited- Status
- 429
- When
- Your account has made 120 requests in the last 60 seconds. Wait the seconds in the
Retry-Afterheader.
monthly_cap_reached- Status
- 429
- When
- This month's successful requests are used. They reset at 00:00 UTC on the 1st.
internal_error- Status
- 500
- When
- A fault on our side. Quote the
request_idwhen you write to us.
A request is checked in this order: the key, the contract dates, the rate limit, the monthly cap, then the request itself.
8. Pulling a month
Read the newest month once, then pass it on every page, so a month published while you pull cannot mix two snapshots. This saves every ZIP record in your Licensed States to one JSON Lines file per state (it needs curl and jq):
API=https://data.goodinvestment.io
AUTH="Authorization: Bearer $GI_DATA_KEY"
MONTH=$(curl -sf "$API/v1/months" -H "$AUTH" | jq -r '.months[0].month')
for ST in $(curl -sf "$API/v1/months" -H "$AUTH" | jq -r '.states[]'); do
cursor=''
while :; do
page=$(curl -sf "$API/v1/states/$ST/zips?month=$MONTH&limit=1000${cursor:+&cursor=$cursor}" -H "$AUTH") || exit 1
echo "$page" | jq -c '.zips[]' >> "zips_${ST}_${MONTH}.jsonl"
cursor=$(echo "$page" | jq -r '.next_cursor // empty')
[ -z "$cursor" ] && break
done
doneOn a 429 rate_limited, wait the Retry-After seconds and repeat the same page.
9. Changes and support
We may add fields at any time. We give 30 days' notice by email before we remove an endpoint or a field, or change one in a way that would break a working integration, unless a legal or security reason requires us to act sooner.
Write to support@goodinvestment.io with any question, and quote the request_id of the response it concerns.
Start with a pilot
Tell us which states you need, and we reply within 24 hours to set up a pilot on them.
Request a pilot