PULLFIRST[THE RECORD]
API ReferenceAg Enforcement

Search AG enforcement actions with filtering, sorting, and paging

GET
/v1/ag-enforcement

Uses Gridify syntax for filtering. Examples:

  • companyName=*Construction* - company name contains
  • city=Minneapolis - exact city match
  • orderType=Settlement - filter by order type
  • penaltyAmount>1000000 - penalty greater than $1M
  • orderDate>2022-01-01 - orders after date

Order types: Lawsuit, Settlement, Judgment, Consent Decree

AuthorizationBearer <token>

API key passed as a Bearer token. Keys start with sk_live_.

In: header

Query Parameters

Page?integer
Match^-?(?:0|[1-9]\d*)$
Formatint32
PageSize?integer
Match^-?(?:0|[1-9]\d*)$
Formatint32
OrderBy?string
Filter?string

Response Body

application/json

curl -X GET "https://loading/api/docs-proxy/v1/ag-enforcement"
{
  "data": [
    {
      "id": 0,
      "companyName": "string",
      "dbaNames": [
        "string"
      ],
      "individualNames": [
        "string"
      ],
      "city": "string",
      "state": "string",
      "orderType": "string",
      "actionsTaken": [
        "string"
      ],
      "penaltyAmount": 0,
      "stayedAmount": 0,
      "orderDate": "2019-08-24",
      "violationTypes": [
        "string"
      ],
      "title": "string",
      "lede": "string",
      "sourceUrl": "string",
      "matchedLicenses": [
        "string"
      ],
      "contractorMatches": [
        {
          "id": 0,
          "licenseNumber": "string",
          "licenseName": "string",
          "matchScore": 0,
          "matchMethod": "string",
          "matchConfidence": "string",
          "isVerified": true,
          "tier": "string",
          "verificationSignals": "string",
          "candidateCount": 0
        }
      ]
    }
  ],
  "page": 0,
  "pageSize": 0,
  "totalCount": 0,
  "totalPages": 0
}