Treg
One API key to unlock 2,630 endpoints across 47 data providers.
Quick answer
Treg — One API key to unlock 2,630 endpoints across 47 data providers. It's freemium, with paid plans from $0.004 per call. Best for building AI coding agents that need live SEO or web data from providers like Semrush or SerpApi.
Treg is an open-source API gateway that gives developers and AI agents a single credential to access over 2,630 endpoints from 47 paid data providers, including Semrush, Moz, Hunter, Crunchbase, and SerpApi, all billed per call at the provider's own rate with zero markup. It is built for developers who are building coding agents, marketing automation pipelines, or research bots that need rich third-party data without the overhead of managing dozens of separate subscriptions and API keys. Instead of signing up for each provider individually, you authenticate once through Treg and route all your calls through a unified interface, with per-call pricing quoted transparently before each request along with measured latency and success-rate comparisons. Treg is licensed under AGPL and fully self-hostable, meaning you can run the entire gateway on your own infrastructure with no vendor lock-in, and you can also bring your own provider keys to route calls unmetered. The hosted version starts with $1.00 in free credit so you can test real endpoints immediately, making it practical for solo developers and small teams who want to move fast without committing to multiple enterprise contracts.
Key features
- Single API key for 2,630+ endpoints across 47 data providers
- Zero-markup per-call billing at the provider's own rate
- AGPL-licensed and fully self-hostable with no vendor lock-in
- Pre-call price, latency, and success-rate transparency for every endpoint
Pros & cons
- +Genuinely open source under AGPL with self-hosting support, eliminating vendor lock-in
- +One credential replaces dozens of provider signups, simplifying authentication for agent workflows
- +Per-call pricing is shown before each request, giving full cost visibility with no hidden fees
- −Zero-markup pricing depends on Treg maintaining volume deals with providers, which introduces continuity risk
- −Some listed endpoints come from providers whose terms may restrict resale, posing a potential compliance concern
Pricing
$1.00 free credit on hosted; free to self-host under AGPL
$0.004 per call
Bring your own provider keys for unmetered routing
Who is it for
- →Building AI coding agents that need live SEO or web data from providers like Semrush or SerpApi
- →Running marketing automation pipelines that pull contact and company data from Hunter or Crunchbase
- →Prototyping research bots that aggregate data from multiple paid sources without managing separate API keys
Frequently asked questions
Is Treg free?
Treg is free to self-host under the AGPL open-source license. The hosted version includes $1.00 in free credit to start, after which you pay per call at the provider's own rate with no markup.
What is Treg best used for?
Treg is best used for developers building AI agents or automation pipelines that need data from multiple paid providers like Semrush, Hunter, Moz, Crunchbase, or SerpApi. It removes the need to manage dozens of separate API keys and subscriptions.
What are the best alternatives to Treg?
The closest alternative is OpenRouter, which aggregates AI model endpoints rather than data provider endpoints. For data specifically, alternatives include signing up directly with each provider or using a platform like RapidAPI to find and manage multiple APIs in one place.
Is Treg safe to use?
Treg routes API calls through its gateway, but your provider keys never need to touch your machine when using the hosted version. For maximum security, the self-hosted AGPL version lets you run the gateway entirely on your own infrastructure, keeping all credentials under your control.
How much does Treg cost?
Self-hosting is free under the AGPL license. The hosted version charges per call at the provider's rate with zero markup. Example rates include $0.006 per Semrush keyword volume call and $0.004 per Hunter email lookup. New accounts receive $1.00 in free credit.
Reviews
No reviews yet. Be the first to review Treg.
Related AI Developer Tools
Debug AI agents locally with open source precision and speed.
Unlock real-time access to 1.8M+ US job listings instantly.
Build powerful AI apps with Postgres, RAG, and agents fast.
Route, observe, and evaluate every AI call in one place.
Full visibility and control over every AI tool in your organization.
The AI-powered terminal that makes developers dramatically more productive.