Code Examples
Complete code examples for all 35 TexAu V3 API endpoints in cURL, Python, and TypeScript.
Quick Setup
Set your API key as an environment variable so you can copy-paste examples directly.
export TEXAU_API_KEY="your-api-key-here"
import os
import requests
API_KEY = os.environ["TEXAU_API_KEY"]
BASE = "https://v3-api.texau.com/api/v1"
HEADERS = {
"x-api-key": API_KEY,
"Content-Type": "application/json",
}
const API_KEY = process.env.TEXAU_API_KEY!;
const BASE = "https://v3-api.texau.com/api/v1";
const headers = {
"x-api-key": API_KEY,
"Content-Type": "application/json",
};
System
Health Check
Check API availability. No authentication required.
curl https://v3-api.texau.com/api/v1/health
resp = requests.get(f"{BASE}/health")
print(resp.json())
# {"status": "ok", "apis": 30}
const resp = await fetch(`${BASE}/health`);
const data = await resp.json();
// { status: "ok", apis: 30 }
Usage
Retrieve your credit usage for a given month.
curl "https://v3-api.texau.com/api/v1/usage?month=2026-03" \
-H "x-api-key: $TEXAU_API_KEY"
resp = requests.get(f"{BASE}/usage", headers=HEADERS, params={"month": "2026-03"})
print(resp.json())
# {"month": "2026-03", "total_credits": 42.5, "total_cost": 0.85, ...}
const resp = await fetch(`${BASE}/usage?month=2026-03`, { headers });
const data = await resp.json();
// { month: "2026-03", total_credits: 42.5, total_cost: 0.85, ... }
My Endpoints
List all endpoints available on your plan with credit costs and limits.
curl https://v3-api.texau.com/api/v1/my-endpoints \
-H "x-api-key: $TEXAU_API_KEY"
resp = requests.get(f"{BASE}/my-endpoints", headers=HEADERS)
print(resp.json())
# {"plan": "growth", "endpoints": [...], "total": 30}
const resp = await fetch(`${BASE}/my-endpoints`, { headers });
const data = await resp.json();
// { plan: "growth", endpoints: [...], total: 30 }
LinkedIn Enrichment
Enrich Profile
Enrich a single LinkedIn profile by URL or entityUrn. Returns name, headline, company, education, skills, and more.
curl -X POST https://v3-api.texau.com/api/v1/enrich_profile \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://linkedin.com/in/satyanadella"}'
resp = requests.post(f"{BASE}/enrich_profile", headers=HEADERS, json={
"url": "https://linkedin.com/in/satyanadella"
})
print(resp.json())
const resp = await fetch(`${BASE}/enrich_profile`, {
method: "POST",
headers,
body: JSON.stringify({
url: "https://linkedin.com/in/satyanadella",
}),
});
const data = await resp.json();
You can also pass an entityUrn instead of url:
{ "entityUrn": "ACoAAAGhXV8B..." }
Enrich Company
Enrich a LinkedIn company page. Returns company size, industry, specialties, and more.
curl -X POST https://v3-api.texau.com/api/v1/enrich_company \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://linkedin.com/company/texau"}'
resp = requests.post(f"{BASE}/enrich_company", headers=HEADERS, json={
"url": "https://linkedin.com/company/texau"
})
print(resp.json())
const resp = await fetch(`${BASE}/enrich_company`, {
method: "POST",
headers,
body: JSON.stringify({
url: "https://linkedin.com/company/texau",
}),
});
const data = await resp.json();
Enrich Profiles (Bulk)
Enrich up to 50 LinkedIn profiles in a single request. Billed per result returned.
curl -X POST https://v3-api.texau.com/api/v1/enrich_profiles_bulk \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urns": ["ACoAAAGhXV8B...", "ACoAABbbCCc..."]}'
resp = requests.post(f"{BASE}/enrich_profiles_bulk", headers=HEADERS, json={
"urns": ["ACoAAAGhXV8B...", "ACoAABbbCCc..."]
})
print(resp.json())
const resp = await fetch(`${BASE}/enrich_profiles_bulk`, {
method: "POST",
headers,
body: JSON.stringify({
urns: ["ACoAAAGhXV8B...", "ACoAABbbCCc..."],
}),
});
const data = await resp.json();
Enrich Companies (Bulk)
Enrich up to 50 LinkedIn companies by their numeric company IDs. Billed per result returned.
curl -X POST https://v3-api.texau.com/api/v1/enrich_companies_bulk \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urns": ["1586", "1587"]}'
resp = requests.post(f"{BASE}/enrich_companies_bulk", headers=HEADERS, json={
"urns": ["1586", "1587"]
})
print(resp.json())
const resp = await fetch(`${BASE}/enrich_companies_bulk`, {
method: "POST",
headers,
body: JSON.stringify({
urns: ["1586", "1587"],
}),
});
const data = await resp.json();
People Search
Search for LinkedIn profiles by job title, location, and other filters. Billed at 0.1 credits per result returned.
curl -X POST https://v3-api.texau.com/api/v1/people_search \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contact": {
"jobTitle": ["CTO"],
"location": ["united states"]
},
"page": 0,
"size": 10
}'
resp = requests.post(f"{BASE}/people_search", headers=HEADERS, json={
"contact": {
"jobTitle": ["CTO"],
"location": ["united states"]
},
"page": 0,
"size": 10
})
print(resp.json())
const resp = await fetch(`${BASE}/people_search`, {
method: "POST",
headers,
body: JSON.stringify({
contact: {
jobTitle: ["CTO"],
location: ["united states"],
},
page: 0,
size: 10,
}),
});
const data = await resp.json();
Post Keyword Search
Search LinkedIn posts by keyword with optional date filtering. Costs 6 credits per call.
curl -X POST https://v3-api.texau.com/api/v1/post_keyword_search \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keywords": "AI automation", "dateRange": "past_week"}'
resp = requests.post(f"{BASE}/post_keyword_search", headers=HEADERS, json={
"keywords": "AI automation",
"dateRange": "past_week"
})
print(resp.json())
const resp = await fetch(`${BASE}/post_keyword_search`, {
method: "POST",
headers,
body: JSON.stringify({
keywords: "AI automation",
dateRange: "past_week",
}),
});
const data = await resp.json();
Post Details
Get full details of a LinkedIn post including reactions, comments, and author info. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/post_details \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urn": "urn:li:activity:7253037834318532608"}'
resp = requests.post(f"{BASE}/post_details", headers=HEADERS, json={
"urn": "urn:li:activity:7253037834318532608"
})
print(resp.json())
const resp = await fetch(`${BASE}/post_details`, {
method: "POST",
headers,
body: JSON.stringify({
urn: "urn:li:activity:7253037834318532608",
}),
});
const data = await resp.json();
Profile Activities
Get recent posts, reactions, and comments from a LinkedIn profile. Costs 2 credits.
curl -X POST https://v3-api.texau.com/api/v1/profile_activities \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://linkedin.com/in/satyanadella"}'
resp = requests.post(f"{BASE}/profile_activities", headers=HEADERS, json={
"url": "https://linkedin.com/in/satyanadella"
})
print(resp.json())
const resp = await fetch(`${BASE}/profile_activities`, {
method: "POST",
headers,
body: JSON.stringify({
url: "https://linkedin.com/in/satyanadella",
}),
});
const data = await resp.json();
LinkedIn Profile Search
Search LinkedIn profiles by name, title, company, location, and more. Billed at 0.1 credit per result.
curl -G "https://v3-api.texau.com/api/v1/profile_search" \
-H "x-api-key: $TEXAU_API_KEY" \
--data-urlencode "currentCompany=13018048" \
--data-urlencode "title=Co-Founder" \
--data-urlencode "page=1"
resp = requests.get(f"{BASE}/profile_search", headers=HEADERS, params={
"currentCompany": "13018048",
"title": "Co-Founder",
"page": 1
})
for profile in resp.json()["elements"]:
print(profile["name"], profile["position"])
const params = new URLSearchParams({
currentCompany: "13018048",
title: "Co-Founder",
page: "1",
});
const resp = await fetch(`${BASE}/profile_search?${params}`, { headers });
const { elements, pagination } = await resp.json();
console.log(`${pagination.totalElements} total results`);
Email Finding
Find professional email addresses. This is an async operation — provide a webhook URL to receive results. Costs 2 credits per result.
curl -X POST https://v3-api.texau.com/api/v1/email_finding \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": [
{
"firstName": "Satya",
"lastName": "Nadella",
"companyDomain": "microsoft.com"
}
],
"webhook": "https://your-webhook.com/callback"
}'
resp = requests.post(f"{BASE}/email_finding", headers=HEADERS, json={
"data": [
{
"firstName": "Satya",
"lastName": "Nadella",
"companyDomain": "microsoft.com"
}
],
"webhook": "https://your-webhook.com/callback"
})
batch = resp.json()
print(batch["id"]) # Use this ID to check status
const resp = await fetch(`${BASE}/email_finding`, {
method: "POST",
headers,
body: JSON.stringify({
data: [
{
firstName: "Satya",
lastName: "Nadella",
companyDomain: "microsoft.com",
},
],
webhook: "https://your-webhook.com/callback",
}),
});
const batch = await resp.json();
console.log(batch.id); // Use this ID to check status
Email Finding Inquiry
Check the status of an email finding batch by its ID.
curl "https://v3-api.texau.com/api/v1/email_finding_inquiry/batch_abc123" \
-H "x-api-key: $TEXAU_API_KEY"
batch_id = "batch_abc123"
resp = requests.get(f"{BASE}/email_finding_inquiry/{batch_id}", headers=HEADERS)
print(resp.json())
const batchId = "batch_abc123";
const resp = await fetch(`${BASE}/email_finding_inquiry/${batchId}`, { headers });
const data = await resp.json();
Email Verification
Verify email addresses in bulk. Async via webhook. Costs 0.5 credits per result.
curl -X POST https://v3-api.texau.com/api/v1/email_verification \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": [{"email": "[email protected]"}],
"webhook": "https://your-webhook.com/callback"
}'
resp = requests.post(f"{BASE}/email_verification", headers=HEADERS, json={
"data": [{"email": "[email protected]"}],
"webhook": "https://your-webhook.com/callback"
})
batch = resp.json()
print(batch["id"])
const resp = await fetch(`${BASE}/email_verification`, {
method: "POST",
headers,
body: JSON.stringify({
data: [{ email: "[email protected]" }],
webhook: "https://your-webhook.com/callback",
}),
});
const batch = await resp.json();
console.log(batch.id);
Email Verification Inquiry
Check the status of an email verification batch.
curl "https://v3-api.texau.com/api/v1/email_verification_inquiry/batch_xyz789" \
-H "x-api-key: $TEXAU_API_KEY"
batch_id = "batch_xyz789"
resp = requests.get(f"{BASE}/email_verification_inquiry/{batch_id}", headers=HEADERS)
print(resp.json())
const batchId = "batch_xyz789";
const resp = await fetch(`${BASE}/email_verification_inquiry/${batchId}`, { headers });
const data = await resp.json();
Web Scraping
Web Meta Tags
Extract meta tags (title, description, Open Graph, Twitter Cards) from any URL. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/web_meta_tags \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/web_meta_tags", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/web_meta_tags`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Web JSON-LD
Extract structured JSON-LD data from a webpage. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/web_json_ld \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/web_json_ld", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/web_json_ld`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Web Pixels
Detect tracking pixels and analytics tags on a webpage. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/web_pixels \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/web_pixels", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/web_pixels`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Web Scrape
Scrape the full rendered content of a webpage. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/web_scrape \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/web_scrape", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/web_scrape`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Web Social Links
Extract social media profile links from a webpage. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/web_social_links \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/web_social_links", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/web_social_links`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Web Tech Stack
Identify the technology stack of a website (frameworks, CMS, analytics, etc.). Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/web_tech_stack \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/web_tech_stack", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/web_tech_stack`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Web Emails
Find email addresses published on a webpage. Costs 2 credits.
curl -X POST https://v3-api.texau.com/api/v1/web_emails \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/web_emails", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/web_emails`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Web Sitemap
Retrieve and parse the sitemap of a website. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/web_sitemap \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/web_sitemap", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/web_sitemap`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Website Intelligence
Get a comprehensive intelligence report combining meta tags, tech stack, social links, emails, and more. Costs 5 credits.
curl -X POST https://v3-api.texau.com/api/v1/website_intelligence \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://texau.com"}'
resp = requests.post(f"{BASE}/website_intelligence", headers=HEADERS, json={
"url": "https://texau.com"
})
print(resp.json())
const resp = await fetch(`${BASE}/website_intelligence`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://texau.com" }),
});
const data = await resp.json();
Search
Bing Search
Run a Bing web search and get structured results. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/search_bing \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "TexAu GTM automation", "count": 10}'
resp = requests.post(f"{BASE}/search_bing", headers=HEADERS, json={
"query": "TexAu GTM automation",
"count": 10
})
print(resp.json())
const resp = await fetch(`${BASE}/search_bing`, {
method: "POST",
headers,
body: JSON.stringify({
query: "TexAu GTM automation",
count: 10,
}),
});
const data = await resp.json();
Google Trends
Get Google Trends data for a keyword with optional geographic filtering. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/search_google_trends \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "sales automation", "geo": "US"}'
resp = requests.post(f"{BASE}/search_google_trends", headers=HEADERS, json={
"keyword": "sales automation",
"geo": "US"
})
print(resp.json())
const resp = await fetch(`${BASE}/search_google_trends`, {
method: "POST",
headers,
body: JSON.stringify({
keyword: "sales automation",
geo: "US",
}),
});
const data = await resp.json();
Directory
Yellow Pages
Search the Yellow Pages directory for businesses by query and location. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/directory_yellowpages \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "plumber", "location": "New York"}'
resp = requests.post(f"{BASE}/directory_yellowpages", headers=HEADERS, json={
"query": "plumber",
"location": "New York"
})
print(resp.json())
const resp = await fetch(`${BASE}/directory_yellowpages`, {
method: "POST",
headers,
body: JSON.stringify({
query: "plumber",
location: "New York",
}),
});
const data = await resp.json();
YouTube
YouTube Search
Search YouTube videos by keyword. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/youtube_search \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "sales automation tools"}'
resp = requests.post(f"{BASE}/youtube_search", headers=HEADERS, json={
"query": "sales automation tools"
})
print(resp.json())
const resp = await fetch(`${BASE}/youtube_search`, {
method: "POST",
headers,
body: JSON.stringify({ query: "sales automation tools" }),
});
const data = await resp.json();
YouTube Video
Get details for a single YouTube video including title, description, views, and metadata. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/youtube_video \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://youtube.com/watch?v=dQw4w9WgXcQ"}'
resp = requests.post(f"{BASE}/youtube_video", headers=HEADERS, json={
"url": "https://youtube.com/watch?v=dQw4w9WgXcQ"
})
print(resp.json())
const resp = await fetch(`${BASE}/youtube_video`, {
method: "POST",
headers,
body: JSON.stringify({
url: "https://youtube.com/watch?v=dQw4w9WgXcQ",
}),
});
const data = await resp.json();
YouTube Channel
Get channel details including subscriber count, description, and links. Costs 1 credit.
curl -X POST https://v3-api.texau.com/api/v1/youtube_channel \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://youtube.com/@texau"}'
resp = requests.post(f"{BASE}/youtube_channel", headers=HEADERS, json={
"url": "https://youtube.com/@texau"
})
print(resp.json())
const resp = await fetch(`${BASE}/youtube_channel`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://youtube.com/@texau" }),
});
const data = await resp.json();
YouTube Channel Videos
List videos from a YouTube channel. Costs 2 credits.
curl -X POST https://v3-api.texau.com/api/v1/youtube_channel_videos \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://youtube.com/@texau"}'
resp = requests.post(f"{BASE}/youtube_channel_videos", headers=HEADERS, json={
"url": "https://youtube.com/@texau"
})
print(resp.json())
const resp = await fetch(`${BASE}/youtube_channel_videos`, {
method: "POST",
headers,
body: JSON.stringify({ url: "https://youtube.com/@texau" }),
});
const data = await resp.json();
Social
Slack Channel Members
Extract member information from a public Slack channel. Costs 2 credits.
curl -X POST https://v3-api.texau.com/api/v1/slack_channel_members \
-H "x-api-key: $TEXAU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel_url": "https://slack.com/some-channel"}'
resp = requests.post(f"{BASE}/slack_channel_members", headers=HEADERS, json={
"channel_url": "https://slack.com/some-channel"
})
print(resp.json())
const resp = await fetch(`${BASE}/slack_channel_members`, {
method: "POST",
headers,
body: JSON.stringify({
channel_url: "https://slack.com/some-channel",
}),
});
const data = await resp.json();
Admin (Internal Only)
These endpoints are restricted to TexAu administrators. They are not available on standard API plans.
Create API Key
Create a new API key for a customer. Requires the admin secret.
curl -X POST https://v3-api.texau.com/api/v1/admin/create-key \
-H "Content-Type: application/json" \
-d '{
"admin_secret": "your-admin-secret",
"name": "Acme Corp",
"email": "[email protected]"
}'
resp = requests.post(f"{BASE}/admin/create-key", json={
"admin_secret": "your-admin-secret",
"name": "Acme Corp",
"email": "[email protected]"
})
print(resp.json())
const resp = await fetch(`${BASE}/admin/create-key`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
admin_secret: "your-admin-secret",
name: "Acme Corp",
email: "[email protected]",
}),
});
const data = await resp.json();
Webhooks (Internal)
This endpoint is provider-facing and receives callbacks from internal services. It does not require API key authentication. You do not need to call this endpoint directly.
Webhook Callback
Receives async results from email finding, email verification, and other batch operations. Called automatically by TexAu's internal processing pipeline.
curl -X POST https://v3-api.texau.com/api/v1/webhooks/wh_abc123 \
-H "Content-Type: application/json" \
-d '{"status": "completed", "results": [...]}'
# This endpoint is called by TexAu's internal services.
# You receive data at YOUR webhook URL, not this one.
# Example of what your webhook handler receives:
#
# POST https://your-webhook.com/callback
# {"status": "completed", "results": [...]}
// This endpoint is called by TexAu's internal services.
// You receive data at YOUR webhook URL, not this one.
// Example of what your webhook handler receives:
//
// POST https://your-webhook.com/callback
// { status: "completed", results: [...] }
Last updated 2 weeks ago
Built with Documentation.AI