API ReferenceAg Enforcement
Get AG enforcement statistics
Returns aggregated AG enforcement data including:
- Total cases and penalties
- Cases by year
- Cases by order type
Authorization
Bearer AuthorizationBearer <token>
API key passed as a Bearer token. Keys start with sk_live_.
In: header
Response Body
application/json
curl -X GET "https://loading/api/docs-proxy/v1/ag-enforcement/stats"{
"totalCases": 0,
"totalPenalties": 0.1,
"averagePenalty": 0.1,
"byYear": [
{
"year": 0,
"count": 0,
"totalPenalty": 0.1
}
],
"byOrderType": [
{
"orderType": "string",
"count": 0,
"totalPenalty": 0.1
}
]
}Get recent AG enforcement actions GET
Previous Page
Search enforcement actions with filtering, sorting, and paging GET
Uses Gridify syntax for filtering. Examples: - `companyName=*Roofing*` - company name contains - `city=Minneapolis` - exact city match - `orderType=Revocation` - filter by order type - `penaltyAmount>5000` - penalty greater than $5000 - `orderDate>2024-01-01` - orders after date Order types: Consent Order, Administrative Order, Revocation, Cease and Desist