The Piloterr TDLR License Scraper API lets you extract public data from TDLR License as clean, structured JSON — no proxies, headless browsers or HTML parsing to maintain. Endpoints available in production:
- TDLR License API — Fetch one TDLR license by detail id or SearchResultDetail URL, including status, subtype, DBA, and notes.
- TDLR License Search API — Search Texas TDLR licenses by name, city, county, or ZIP.
Use it for price monitoring, assortment tracking, competitor analysis, product research or catalog enrichment.
| Endpoint | Path | Credits | What you get |
|---|---|---|---|
| TDLR License API | /v2/tdlr/license |
1 | Fetch one TDLR license by detail id or SearchResultDetail URL, including status, subtype, DBA, and notes. |
| TDLR License Search API | /v2/tdlr/search |
1 | 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. |
- How it works
- TDLR License API
- TDLR License Search API
- Code examples in other languages
- Practical use cases
- Why Piloterr?
- FAQ
- Official SDKs
- Related scrapers
- Support
- Create a free Piloterr account and copy your API key from the dashboard.
- Send a
GET(orPOST) request tohttps://api.piloterr.com/v2/...with the headerx-api-key: YOUR_API_KEY. - Receive structured JSON — Piloterr handles rendering, proxies, retries and parsing.
export PILOTERR_API_KEY="your-api-key"
pip install requests # Python
# TypeScript: Node.js 18+ (native fetch), run with `npx tsx file.ts`Every endpoint accepts both
GET(query string) andPOST(JSON body with the same fields).
Fetch one TDLR license by detail id or SearchResultDetail URL, including status, subtype, DBA, and notes.
GET | POST https://api.piloterr.com/v2/tdlr/license · 1 credit per request · Full reference
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | ✅ | Required. Detail id, example AIRREF00000564, or the SearchResultDetail URL from search. |
import json
import os
import requests
response = requests.get(
"https://api.piloterr.com/v2/tdlr/license",
headers={"x-api-key": os.environ["PILOTERR_API_KEY"]},
params={
"query": "https://www.tdlr.texas.gov/LicenseSearch/SearchResultDetail.asp?1=AIRREF00000564",
},
timeout=120,
)
response.raise_for_status()
data = response.json()
print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])type TdlrLicense = {
dba?: string;
url?: string;
city?: unknown;
name?: string;
notes?: string[];
phone?: unknown;
county?: string;
status?: string;
subtype?: string;
detail_id?: string;
postal_code?: unknown;
license_type?: string;
business_name?: string;
license_number?: string;
expiration_date?: string;
license_type_code?: string;
original_issue_date?: string;
};
const params = new URLSearchParams({
"query": "https://www.tdlr.texas.gov/LicenseSearch/SearchResultDetail.asp?1=AIRREF00000564",
});
const response = await fetch(`https://api.piloterr.com/v2/tdlr/license?${params}`, {
headers: { "x-api-key": process.env.PILOTERR_API_KEY! },
});
if (!response.ok) throw new Error(`Piloterr error ${response.status}: ${await response.text()}`);
const data = (await response.json()) as TdlrLicense;
console.log(JSON.stringify(data, null, 2).slice(0, 2000));POST variant
POST https://api.piloterr.com/v2/tdlr/license
x-api-key: YOUR_API_KEY
Content-Type: application/json
{"query": "https://www.tdlr.texas.gov/LicenseSearch/SearchResultDetail.asp?1=AIRREF00000564"}Example response from the API reference, abridged — real values depend on the page you scrape.
{
"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"
}| Field | Type | Description |
|---|---|---|
dba |
string | |
url |
string | |
city |
object | |
name |
string | |
notes |
string[] | |
phone |
object | |
county |
string | |
status |
string | |
subtype |
string | |
detail_id |
string | |
postal_code |
object | |
license_type |
string | |
business_name |
string | |
license_number |
string | |
expiration_date |
string | |
license_type_code |
string | |
original_issue_date |
string |
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.
GET | POST https://api.piloterr.com/v2/tdlr/search · 1 credit per request · Full reference
| Parameter | Type | Required | Description |
|---|---|---|---|
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. |
import json
import os
import requests
response = requests.get(
"https://api.piloterr.com/v2/tdlr/search",
headers={"x-api-key": os.environ["PILOTERR_API_KEY"]},
params={
"city": "Austin. One of query, city, county, or postal_code is required.",
},
timeout=120,
)
response.raise_for_status()
data = response.json()
print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])type TdlrLicenseSearch = {
results?: {
dba?: unknown;
url?: string;
city?: unknown;
name?: string;
notes?: unknown[];
phone?: unknown;
county?: string;
status?: unknown;
subtype?: unknown;
detail_id?: string;
postal_code?: unknown;
license_type?: string;
business_name?: string;
license_number?: string;
expiration_date?: string;
license_type_code?: string;
original_issue_date?: unknown;
}[];
pagination?: {
next?: string;
page?: number;
per_page?: number;
total_pages?: number;
total_results?: number;
};
};
const params = new URLSearchParams({
"city": "Austin. One of query, city, county, or postal_code is required.",
});
const response = await fetch(`https://api.piloterr.com/v2/tdlr/search?${params}`, {
headers: { "x-api-key": process.env.PILOTERR_API_KEY! },
});
if (!response.ok) throw new Error(`Piloterr error ${response.status}: ${await response.text()}`);
const data = (await response.json()) as TdlrLicenseSearch;
console.log(JSON.stringify(data, null, 2).slice(0, 2000));POST variant
POST https://api.piloterr.com/v2/tdlr/search
x-api-key: YOUR_API_KEY
Content-Type: application/json
{"city": "Austin. One of query, city, county, or postal_code is required."}Example response from the API reference, abridged — real values depend on the page you scrape.
{
"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
}
}| Field | Type | Description |
|---|---|---|
results[] |
object[] | |
results[].dba |
object | |
results[].url |
string | |
results[].city |
object | |
results[].name |
string | |
results[].notes |
any[] | |
results[].phone |
object | |
results[].county |
string | |
results[].status |
object | |
results[].subtype |
object | |
results[].detail_id |
string | |
results[].postal_code |
object | |
results[].license_type |
string | |
results[].business_name |
string | |
results[].license_number |
string | |
results[].expiration_date |
string | |
results[].license_type_code |
string | |
results[].original_issue_date |
object | |
pagination |
object | |
pagination.next |
string | |
pagination.page |
integer | |
pagination.per_page |
integer | |
pagination.total_pages |
integer | |
pagination.total_results |
integer |
Ready-to-run examples live in the examples/ folder. Each one reads your key from the PILOTERR_API_KEY environment variable.
| Language | API | Search |
|---|---|---|
| cURL (Bash) | license |
search |
| PHP | license |
search |
| C# | license |
search |
| Go | license |
search |
| Java | license |
search |
| Ruby | license |
search |
| Node.js | license |
search |
- Price monitoring — Track prices, promotions and availability over time to react to competitors.
- Assortment & catalog tracking — Follow new products, delisted items and category changes.
- Competitor analysis — Benchmark ranges, brands and positioning across retailers.
- Product research — Spot best-sellers and trends from search results.
- Catalog enrichment — Pull titles, images and attributes into your PIM or marketplace listings.
- No infrastructure — no proxies, headless browsers or CAPTCHA solving to run yourself.
- Structured JSON — stable, documented fields instead of brittle HTML selectors.
- Pay per request — transparent credit cost per endpoint, failed requests are retried for you.
- One API key, hundreds of sources — TDLR License plus many other e-commerce, search and company data endpoints in the Piloterr library.
- Any language — plain HTTPS + JSON, with examples for Python, TypeScript, cURL, PHP, C#, Go, Java, Ruby and Node.js.
Collecting publicly available data is generally allowed in many jurisdictions, but rules depend on your country, the data you collect and how you use it. Avoid personal data unless you have a lawful basis, respect the website's terms where they apply, and get legal advice for your specific use case. This is not legal advice.
No. Piloterr handles rendering, proxy rotation and retries on its side. You only send an HTTPS request with your x-api-key header and receive JSON.
Credits per call: /v2/tdlr/license 1, /v2/tdlr/search 1. See the Piloterr website for plans.
Each endpoint returns structured JSON: TDLR License — dba, url, city, name, notes, phone; TDLR License Search — results[], results[].dba, results[].url, results[].city, results[].name, results[].notes.
Use the page parameter and keep requesting while the response indicates more results.
Any language that can make an HTTP request. This README shows Python and TypeScript; the examples/ folder contains cURL, PHP, C#, Go, Java, Ruby and Node.js.
Use Piloterr from your own language with a typed client:
| SDK | Package | Install |
|---|---|---|
| Node.js | @piloterr/sdk |
npm install @piloterr/sdk |
| Python | piloterr |
pip install piloterr |
| Go | piloterr-go |
go get github.com/piloterr/piloterr-go |
| .NET | Piloterr |
dotnet add package Piloterr |
| Ruby | piloterr |
gem install piloterr |
| PHP | piloterr/sdk |
composer require piloterr/sdk |
| Java | piloterr-java |
build from source, see its README |
| CLI | @piloterr/cli |
npm install -g @piloterr/cli |
| MCP server | @piloterr/mcp |
npx -y @piloterr/mcp |
- About You Scraper API
- Action Scraper API
- Aldi Scraper API
- Alibaba Scraper API
- AliExpress Scraper API
- Allegro Scraper API
- All Piloterr scrapers on GitHub
- 💬 Join the Piloterr Discord to ask questions and share what you build.
- 📚 Browse the API reference (OpenAPI) and the Piloterr library.
- 🔑 Get your API key.
Built by Piloterr — web scraping APIs for e-commerce, search, real estate and more, one API key.
TDLR License is a trademark of its respective owner. This repository is not affiliated with or endorsed by TDLR License. Examples are released under the MIT license.
