SITELINESHEET API-V1REV 2026.04.22
VERSION V1AUTH BEARERRATE 100 / HOUR

API Documentation · V1

Siteline API.

Access Siteline regulation data programmatically. Build integrations for permitting workflows, compliance tools, and event planning software.

Overview

#I

The Siteline API provides read-only access to production regulation data across all 50 US states and 14 regulation categories. Data includes fire codes, building codes, structural requirements, tent permits, PE stamps, rigging, pyrotechnics, electrical, noise, food/bev, crowd management, signage, weather safety, and insurance requirements.

Base URL: https://siteline.events/api/v1

Authentication

#II

All API requests require a valid API key. Include it in the Authorization header as a Bearer token.

curl https://siteline.events/api/v1/states \
  -H "Authorization: Bearer sk_live_your_key_here"

API keys are available to Pro subscribers. Generate keys from your Dashboard.

Rate Limits

#III

API requests are rate-limited to 100 requests per hour per API key. If you exceed this limit, you will receive a 429 response.

{ "error": "Rate limit exceeded. Maximum 100 requests per hour." }

GET /api/v1/states

#IV

List all states or retrieve details for a specific state.

QUERY PARAMETERS

abbrstringOPTIONALTwo-letter state abbreviation. If omitted, returns all states.

LIST ALL STATES

curl https://siteline.events/api/v1/states \
  -H "Authorization: Bearer sk_live_your_key_here"

# Response
{
  "states": [
    {
      "id": 1,
      "name": "Alabama",
      "abbr": "AL",
      "ibc_edition": "2021",
      "fire_code_basis": "IFC",
      "has_statewide_code": true,
      "regulatory_climate": "Moderate"
    }
  ],
  "count": 50
}

GET A SINGLE STATE

curl "https://siteline.events/api/v1/states?abbr=TX" \
  -H "Authorization: Bearer sk_live_your_key_here"

GET /api/v1/regulations

#V

Query regulations by state and optional category. Returns regulation details including confidence levels, last-verified dates, amendments, and threshold data.

QUERY PARAMETERS

statestringREQUIREDOne or more comma-separated state abbreviations. Maximum 10 states.
categorystringOPTIONALFilter by category ID. Valid values: aisles, stages, pe_stamps, occupancy, tents, rigging, pyro, electrical, noise, food_bev, crowd_mgmt, signage, weather, insurance.

GET ALL REGULATIONS FOR A STATE

curl "https://siteline.events/api/v1/regulations?state=TX" \
  -H "Authorization: Bearer sk_live_your_key_here"

# Response
{
  "regulations": [
    {
      "id": 123,
      "state": "TX",
      "category": "fire_occupancy",
      "follows_base_code": false,
      "confidence": "high",
      "last_verified": "2026-03-15",
      "headline": "Texas uses IFC with local amendments",
      "amendments": ["Amendment 1", "Amendment 2"],
      "thresholds": { },
      "code_ref": "IFC §3103"
    }
  ],
  "count": 14,
  "states_queried": ["TX"]
}

FILTER BY CATEGORY

curl "https://siteline.events/api/v1/regulations?state=TX&category=tents" \
  -H "Authorization: Bearer sk_live_your_key_here"

MULTIPLE STATES

curl "https://siteline.events/api/v1/regulations?state=TX,CA,NY&category=pyro" \
  -H "Authorization: Bearer sk_live_your_key_here"

Error Handling

#VI

All errors return a JSON object with an error field.

400Bad request. Missing or invalid parameters
401Unauthorized. Missing, invalid, or revoked API key
404Not found. State or resource does not exist
429Rate limited. Exceeded 100 requests/hour
500Server error. Try again later