Piloterr Tdlr API
The Tdlr API from Piloterr — 2 operation(s) for tdlr.
The Tdlr API from Piloterr — 2 operation(s) for tdlr.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-tdlr-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Piloterr API Reference Tdlr API
description: Complete API reference documentation.
version: 1.0.0
servers:
- url: https://api.piloterr.com
description: API Server
tags:
- name: Tdlr
paths:
/v2/tdlr/search:
get:
summary: TDLR License Search
description: 'Search Texas TDLR licenses by name, city, county, or ZIP. license_type such as AIRREF is required for a useful search. 25 rows per page.
**Credit cost:** 1 credit per call'
operationId: get-tdlr-search
security:
- ApiKeyAuth: []
parameters:
- name: query
in: query
required: false
description: Optional when city, county, or postal_code is set. Person or business name, example SMITH. A detail URL is rejected.
schema:
type: string
description: Optional when city, county, or postal_code is set. Person or business name, example SMITH. A detail URL is rejected.
- name: license_type
in: query
required: false
description: Optional on the request, required for a useful search. License type code, example AIRREF for air conditioning contractors. ALL or blank searches every type.
schema:
type: string
description: Optional on the request, required for a useful search. License type code, example AIRREF for air conditioning contractors. ALL or blank searches every type.
- name: city
in: query
required: false
description: 'Optional. Business city. Example: Austin. One of query, city, county, or postal_code is required.'
schema:
type: string
description: 'Optional. Business city. Example: Austin. One of query, city, county, or postal_code is required.'
- name: county
in: query
required: false
description: 'Optional. Business county. Example: TRAVIS.'
schema:
type: string
description: 'Optional. Business county. Example: TRAVIS.'
- name: postal_code
in: query
required: false
description: 'Optional. Business ZIP. Example: 78701.'
schema:
type: string
description: 'Optional. Business ZIP. Example: 78701.'
- name: page
in: query
required: false
description: 'Optional. Page number starting at 1. Example: 2. Defaults to 1. Each page has 25 rows.'
schema:
type: number
description: 'Optional. Page number starting at 1. Example: 2. Defaults to 1. Each page has 25 rows.'
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
dba:
nullable: true
url:
type: string
city:
nullable: true
name:
type: string
notes:
type: array
items: {}
phone:
nullable: true
county:
type: string
status:
nullable: true
subtype:
nullable: true
detail_id:
type: string
postal_code:
nullable: true
license_type:
type: string
business_name:
type: string
license_number:
type: string
expiration_date:
type: string
license_type_code:
type: string
original_issue_date:
nullable: true
pagination:
type: object
properties:
next:
type: string
page:
type: integer
per_page:
type: integer
total_pages:
type: integer
total_results:
type: integer
examples:
SMITH air conditioning contractors:
value:
results:
- dba: null
url: https://www.tdlr.texas.gov/LicenseSearch/SearchResultDetail.asp?1=AIRREF00000564
city: null
name: SMITH, JAMES CHARLES JR
notes: []
phone: null
county: FORT BEND
status: null
subtype: null
detail_id: AIRREF00000564
postal_code: null
license_type: Air Conditioning Contractors
business_name: JIMMY'S AIR CONDITIONING & HEATING
license_number: TACLA00000564E
expiration_date: 12/24/2026
license_type_code: AIRREF
original_issue_date: null
pagination:
next: https://www.tdlr.texas.gov/LicenseSearch/SearchResultsListBrowse.asp?from=search&pht_oth_name=SMITH&tdlr_status=AIRREF&page=2
page: 1
per_page: 25
total_pages: 7
total_results: 153
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Tdlr
post:
summary: TDLR License Search
description: 'Search Texas TDLR licenses by name, city, county, or ZIP. license_type such as AIRREF is required for a useful search. 25 rows per page.
**Credit cost:** 1 credit per call'
operationId: post-tdlr-search
security:
- ApiKeyAuth: []
parameters:
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: Optional when city, county, or postal_code is set. Person or business name, example SMITH. A detail URL is rejected.
license_type:
type: string
description: Optional on the request, required for a useful search. License type code, example AIRREF for air conditioning contractors. ALL or blank searches every type.
city:
type: string
description: 'Optional. Business city. Example: Austin. One of query, city, county, or postal_code is required.'
county:
type: string
description: 'Optional. Business county. Example: TRAVIS.'
postal_code:
type: string
description: 'Optional. Business ZIP. Example: 78701.'
page:
type: number
description: 'Optional. Page number starting at 1. Example: 2. Defaults to 1. Each page has 25 rows.'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
dba:
nullable: true
url:
type: string
city:
nullable: true
name:
type: string
notes:
type: array
items: {}
phone:
nullable: true
county:
type: string
status:
nullable: true
subtype:
nullable: true
detail_id:
type: string
postal_code:
nullable: true
license_type:
type: string
business_name:
type: string
license_number:
type: string
expiration_date:
type: string
license_type_code:
type: string
original_issue_date:
nullable: true
pagination:
type: object
properties:
next:
type: string
page:
type: integer
per_page:
type: integer
total_pages:
type: integer
total_results:
type: integer
examples:
SMITH air conditioning contractors:
value:
results:
- dba: null
url: https://www.tdlr.texas.gov/LicenseSearch/SearchResultDetail.asp?1=AIRREF00000564
city: null
name: SMITH, JAMES CHARLES JR
notes: []
phone: null
county: FORT BEND
status: null
subtype: null
detail_id: AIRREF00000564
postal_code: null
license_type: Air Conditioning Contractors
business_name: JIMMY'S AIR CONDITIONING & HEATING
license_number: TACLA00000564E
expiration_date: 12/24/2026
license_type_code: AIRREF
original_issue_date: null
pagination:
next: https://www.tdlr.texas.gov/LicenseSearch/SearchResultsListBrowse.asp?from=search&pht_oth_name=SMITH&tdlr_status=AIRREF&page=2
page: 1
per_page: 25
total_pages: 7
total_results: 153
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Tdlr
/v2/tdlr/license:
get:
summary: TDLR License
description: 'Fetch one TDLR license by detail id or SearchResultDetail URL, including status, subtype, DBA, and notes.
**Credit cost:** 1 credit per call'
operationId: get-tdlr-license
security:
- ApiKeyAuth: []
parameters:
- name: query
in: query
required: true
description: Required. Detail id, example AIRREF00000564, or the SearchResultDetail URL from search.
schema:
type: string
description: Required. Detail id, example AIRREF00000564, or the SearchResultDetail URL from search.
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
dba:
type: string
url:
type: string
city:
nullable: true
name:
type: string
notes:
type: array
items:
type: string
phone:
nullable: true
county:
type: string
status:
type: string
subtype:
type: string
detail_id:
type: string
postal_code:
nullable: true
license_type:
type: string
business_name:
type: string
license_number:
type: string
expiration_date:
type: string
license_type_code:
type: string
original_issue_date:
type: string
examples:
TACLA00000564E:
value:
dba: JIMMY'S AIR CONDITIONING & HEATING
url: https://www.tdlr.texas.gov/LicenseSearch/SearchResultDetail.asp?1=AIRREF00000564
city: null
name: SMITH, JAMES CHARLES JR
notes:
- No Public Contracting
phone: null
county: FORT BEND
status: Active
subtype: AE
detail_id: AIRREF00000564
postal_code: null
license_type: Air Conditioning/Refrigeration Contractor
business_name: JIMMY'S AIR CONDITIONING & HEATING
license_number: TACLA00000564E
expiration_date: 12/24/2026
license_type_code: AIRREF
original_issue_date: 08/16/1984
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Tdlr
post:
summary: TDLR License
description: 'Fetch one TDLR license by detail id or SearchResultDetail URL, including status, subtype, DBA, and notes.
**Credit cost:** 1 credit per call'
operationId: post-tdlr-license
security:
- ApiKeyAuth: []
parameters:
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: Required. Detail id, example AIRREF00000564, or the SearchResultDetail URL from search.
required:
- query
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
dba:
type: string
url:
type: string
city:
nullable: true
name:
type: string
notes:
type: array
items:
type: string
phone:
nullable: true
county:
type: string
status:
type: string
subtype:
type: string
detail_id:
type: string
postal_code:
nullable: true
license_type:
type: string
business_name:
type: string
license_number:
type: string
expiration_date:
type: string
license_type_code:
type: string
original_issue_date:
type: string
examples:
TACLA00000564E:
value:
dba: JIMMY'S AIR CONDITIONING & HEATING
url: https://www.tdlr.texas.gov/LicenseSearch/SearchResultDetail.asp?1=AIRREF00000564
city: null
name: SMITH, JAMES CHARLES JR
notes:
- No Public Contracting
phone: null
county: FORT BEND
status: Active
subtype: AE
detail_id: AIRREF00000564
postal_code: null
license_type: Air Conditioning/Refrigeration Contractor
business_name: JIMMY'S AIR CONDITIONING & HEATING
license_number: TACLA00000564E
expiration_date: 12/24/2026
license_type_code: AIRREF
original_issue_date: 08/16/1984
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Tdlr
components:
parameters:
fields:
name: fields
in: query
required: false
description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
schema:
type: string
is_async:
name: is_async
in: query
required: false
description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
schema:
type: boolean
default: false
soft_fail:
name: soft_fail
in: query
required: false
description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
schema:
type: boolean
default: false
schemas:
ErrorResponse:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: Your API key. Include it in the x-api-key header for every request.