National Directory Platform
TRT Authority
The largest testosterone replacement therapy clinic directory in the US — 7,600+ clinics across all 50 states, ~9,700 pre-rendered pages, and a SaaS clinic management dashboard.
Overview
TRT Authority pairs a high-performance static directory site with a SaaS clinic management dashboard. The main site at TRTAuthority.com is a fully static Astro site — all data queries run at build time with zero runtime API calls. The pro dashboard at Pro.TRTAuthority.com is a Next.js application with Supabase auth, tiered subscriptions, and a full claim/verify pipeline for clinic owners.
Content is organized into six pillars — Diagnosis, Treatments, Guide, Reviews, Resources, and Directory — plus individual clinic profiles, city pages, state landers, service pages, and editorial content. Every page is pre-rendered, SEO-optimized, and served from Vercel's edge network.
For a deeper technical walkthrough including architecture diagrams and pipeline specifications, request our technical whitepaper.
Three Pillars in Action
TRT Authority is a working example of all three Arcate Labs solutions — combined into a single platform.
Automation Engineering
- Python pipeline: discovery → scraping → classification → scoring → content generation → image creation → data sync
- n8n webhooks for claim verification, lead routing, notifications
- Airtable → Supabase automated sync with crash recovery
- AI agents (Claude, Perplexity, Gemini) handling classification, writing, image gen
SEO Development
- ~9,700 pre-rendered pages with structured data & schema markup
- Six content pillars (Diagnosis, Treatments, Guide, Reviews, Resources, Directory)
- Geo-aware city/state routing for local SEO at scale
- Programmatic page generation from structured data
- GEO-ready: entity-rich content designed for AI citation
Digital Assets
- The site itself IS the digital asset — a national directory platform
- SaaS monetization (4 subscription tiers, $0–$1,199/mo)
- Claim/verify pipeline converting free listings into paying customers
- Lead capture and routing via n8n webhooks
- Compounding value as data and content grow over time
By the Numbers
7,600+
Clinics Indexed
~9,700
Pre-rendered Pages
50
States Covered
35
Service Modalities
Two Systems, One Platform
TRTAuthority.com
Fully static directory and content site. All Supabase queries run during build with 50 concurrent workers — zero runtime API calls. Astro 5 with React islands, Pagefind for client-side full-text search, and geo-aware routing for city/state pages.
Pro.TRTAuthority.com
Next.js SaaS dashboard for clinic owners. Supabase magic-link auth, tiered subscriptions (4 tiers from free to $1,199/mo), feature gating, and a full claim/verify pipeline with n8n webhook automation.
Tech Stacks
Main SiteSEO
| Framework | Astro 5 + TypeScript, React islands |
| UI | Tailwind CSS 4, Radix UI, Lucide icons |
| Search | Pagefind (client-side full-text search) |
| Infrastructure | Supabase PostgreSQL, Vercel static hosting |
| Content | MDX articles, six editorial pillars |
| SEO | Structured data, sitemaps, geo-aware routing |
Pro DashboardDigital Assets
| Framework | Next.js + TypeScript, App Router |
| UI | Tailwind CSS 4, shadcn/ui, Lucide icons |
| Infrastructure | Supabase (shared instance), Vercel SSR |
TRTAuthority PRODigital Assets
A tiered subscription model with feature gating and an automated claim/verify pipeline that converts free listings into paying customers.
| Tier | Description |
|---|---|
| Claimed | Basic listing management and profile control |
| Pro Lite | Enhanced profile, analytics, and visibility features |
| Pro Plus | Priority placement, advanced analytics, and lead tools |
| Elite | Full platform access, dedicated support, and premium positioning |
Claim & Verify
Search
Autocomplete clinic lookup
Verify
Owner verification form
Process
n8n webhook + Airtable + Slack
Activate
Magic link to dashboard
Database Architecture
A shared Supabase PostgreSQL instance powers both the main site and Pro dashboard. Airtable serves as the editorial CMS and pipeline input, syncing to Supabase via Python scripts.
| Table | Records | Purpose |
|---|---|---|
| Businesses | 7,600+ | Clinic profiles with contact info, ratings, grades, and scores |
| Services | 35 | TRT treatment modalities and service types |
| Content Pages | Editorial | AI-generated articles across six content pillars |
| States and Cities | 50 / All US | Geographic routing with lat/long for proximity search |
| Brands | Brand records | Pharmaceutical and clinic brand information |
| Glossary | Term definitions | Medical terminology and TRT-specific glossary |
Junction tables handle the many-to-many relationships: listing-services, FAQ-services, content-service matching, featured businesses, and related content links.
Content & Data PipelineAutomation
A Python-based pipeline handles everything from clinic discovery to content generation to image creation. Each stage uses purpose-built AI models.
| Stage | What It Does |
|---|---|
| Discovery & Classification | Find clinics via GMB data, scrape websites for structured data, grade TRT relevance (A-F), and assign composite quality scores |
| Content Generation | Plan editorial strategy, research with live citations, write and edit articles, generate FAQs from SERP data, and create service page content |
| Image Generation | AI-generated illustrations with WebP optimization and EXIF geodata |
| Data Sync | Airtable → Supabase sync with crash recovery |
AI Models UsedAutomation
Different models are selected for each task based on capability, speed, and cost.
Anthropic Claude
- Opus — strategic content planning
- Sonnet — article writing, service pages
- Haiku — data extraction, classification
Google Gemini
- Pro Image — illustration generation
- Flash — image captioning, alt text
Perplexity Sonar
- Research with live citations for article writing
Infrastructure & Deployment
Vercel
Main site (static) + Pro dashboard (SSR)
Supabase
PostgreSQL + Auth + Storage (shared instance)
Airtable
Editorial CMS, pipeline input, client records
n8n
Claim verification, lead routing, notifications
DataForSEO
Business discovery, SERP research, keywords
Python
Data pipeline, Airtable ↔ Supabase sync
Geo-Aware FeaturesSEO
Proximity-Sorted Results
City coordinates stored in Supabase enable "nearby cities" sections and distance-aware clinic sorting on every city and state page.
Homepage Clinic Finder
Detects user location to surface the nearest clinics immediately on homepage load — no manual location input required.
State Landers
Dedicated pages for all 50 states with clinic counts, top-rated clinics, city breakdowns, and state-specific TRT information.
City Pages
Individual pages for every city with TRT clinics — filterable clinic listings, local context, and nearby city navigation.
Automation LayerAutomation
n8n handles the operational automation — webhook endpoints that process form submissions, route leads, and sync data between systems.
Clinic Claim Webhook
Verification submissions trigger an n8n workflow that writes to Airtable, sends a Slack notification, and fires a confirmation email — all in seconds.
Lead Routing
Contact forms, quiz completions, and callback requests are captured and routed via n8n webhooks with email notifications.
Want the full technical breakdown?
Our technical whitepaper covers architecture diagrams, pipeline specifications, data models, and performance benchmarks in detail.
Request WhitepaperWant us to build something like this for your niche?
TRT Authority combines all three of our solutions — automation, SEO, and digital assets — into a single platform. Tell us about your market.
Start a Conversation