Predictions

(Preview) Forecast regulatory change for a state

Aggregates public bill tracking, pending regulations, and named federal enforcement dates into a probabilistic change signal. Preview endpoint — not legal advice. Output must not be relied on for stocking, shipping, or formulation decisions without counsel review. Responses are re-stamped with the current disclaimer, even on cache hits. The endpoint is gated behind the standard authenticated + rate-limited /v1/* pipeline.

get/v1/predictions/{state}

Request

  • Base URL: https://api.hempdata.io
  • URL: https://api.hempdata.io/v1/predictions/{state}
  • Auth: HTTP bearer

Path parameters

statestring required

Two-letter state code (e.g. CO, CA, NY).

Query parameters

horizon_daysinteger

Forecast horizon window in days (default 90, min 7, max 730).

refreshboolean

If true, bypass the 24h cache and recompute from live signals.

Response

Prediction result (Preview). Always includes the current disclaimer.

successboolean required

Example response

{
  "data": {
    "state": "CO",
    "horizon_days": 90
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.