Skip to main content
POST
Search contractors

Request contract

  • Method and path: POST /apis/v1/azroc-my-site-com/licenses/search-contractors
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/azroc-my-site-com/licenses/search-contractors
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
city
string

Arizona city of the licensee (e.g. 'Flagstaff').

classifications
string[]

License classifications to filter by, spelled as list_classifications returns them (e.g. 'C-37 Plumbing').

cursor
string

next_cursor of the previous page (an offset into the same search).

page_size
number
default:25

Accounts per page (client-side paging over the full server result).

Provider reference: minimum 1; maximum 100; default 25.

query
string

Business name, person name ('First Last') or ROC license number ('084810' or 'ROC 084810'). Optional when classifications or city is given.

Response

Search the Arizona ROC contractor register (Aura action ARCP_ContractorSearch.getRecords, the site's 'Contractor Search'). query matches a business name, a person's name ('First Last'), or a ROC license number (6 digits, with or without the 'ROC ' prefix); classifications filters by license classification exactly as list_classifications spells them (e.g. 'C-42 Roofing'; the site matches the classification family loosely, a 'C-42 Roofing' filter also returns 'CR-42 Roofing' licenses); city filters by the licensee's Arizona city. At least one criterion is required. Results are grouped the way the site shows them: one row per business/account with its contacts (name and role) and every license it holds (license_id, ROC license number, status such as Active / Suspended / Revoked / Expired, classification, qualifying party or QP-exempt). The server returns the whole result set in one answer (a broad single-word query can be several hundred accounts and take a few seconds); this function pages through it client-side with page_size rows per page and an offset cursor, re-running the same search for each page. A search that matches nothing is a valid empty result (accounts: []).

The response contains the tool result directly.

The provider identifies accounts as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.