Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Trades Export API
description: Real-time contractor license verification across all 50 US states + DC, plus 16 metro areas. Send a license number + state + trade, get back a normalized JSON result with status, expiration, and disciplinary history.
version: 1.0.0
tags:
- name: Export
paths:
/dashboard/api/export:
get:
tags:
- Export
summary: Export Audit Log
description: 'Stream the caller''s verification history as CSV or NDJSON.
Auth: dashboard session cookie (same as `/dashboard/api/history`).
Date range: required, max 90-day window, `to` cannot be in the future.
Rate limit: 10 exports/day per customer.
Ownership: derived from session owner email; `api_key_id` filter
narrows within the caller''s owned keys, never broadens.'
operationId: export_audit_log_dashboard_api_export_get
parameters:
- name: from
in: query
required: true
schema:
type: string
format: date-time
title: From
- name: to
in: query
required: true
schema:
type: string
format: date-time
title: To
- name: format
in: query
required: false
schema:
enum:
- csv
- json
type: string
default: csv
title: Format
- name: api_key_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Api Key Id
- name: state
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: State
- name: license
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: License
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Status
- name: include_sandbox
in: query
required: false
schema:
type: boolean
description: Include sandbox-scoped calls in the export. Sandbox rows are marked with raw_data['sandbox']=true (see app/sandbox/responder.py). Set false to exclude them from compliance / billing reports where test traffic should not be present.
default: true
title: Include Sandbox
description: Include sandbox-scoped calls in the export. Sandbox rows are marked with raw_data['sandbox']=true (see app/sandbox/responder.py). Set false to exclude them from compliance / billing reports where test traffic should not be present.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: API key for authenticated endpoints. Sign up at /auth/login to get one. Every successful verification consumes one credit.