Piloterr

TDLR License Search

GET
/v2/tdlr/search

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

Authentification

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Paramètres de requête

query?string

Optional when city, county, or postal_code is set. Person or business name, example SMITH. A detail URL is rejected.

license_type?string

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?string

Optional. Business city. Example: Austin. One of query, city, county, or postal_code is required.

county?string

Optional. Business county. Example: TRAVIS.

postal_code?string

Optional. Business ZIP. Example: 78701.

page?number

Optional. Page number starting at 1. Example: 2. Defaults to 1. Each page has 25 rows.

Corps de la réponse

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/tdlr/search'
Example Response
{  "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  }}