logo
Get StartedCode Examples

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"

System

Health Check

Check API availability. No authentication required.

curl https://v3-api.texau.com/api/v1/health

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"

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"

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"}'

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"}'

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..."]}'

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"]}'

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
  }'

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"}'

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"}'

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"}'

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"

Email

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"
  }'

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"

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"
  }'

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"

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"}'

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"}'

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"}'

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"}'

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"}'

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"}'

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"}'

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"}'

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"}'

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}'

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"}'

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"}'

YouTube

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"}'

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"}'

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"}'

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"}'

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"}'

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]"
  }'

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": [...]}'