4 ms·
Show HN: TNX API – Natural Language Interactions with Your Database
Hey HN!
I built TNX API to make working with databases as simple as asking a question in plain English.
What it does:
- You write a natural language prompt (e.g., "List products with price > 20 USD")
- Our system turns it into SQL and runs it
- You get actual results, optionally visualized
- Your data stays private – nothing is stored, the AI doesn‘t see it, and the API forgets immediately after replying
Why I made this:
Writing SQL for routine questions is https://www.tnxapi.com/UI/login.php https://www.tnxapi.com/UI/login.php still a blocker for many teams. I wanted a privacy-first, plug-and-play API that just works with natural language. TNX doesn’t just translate — it executes the queries and returns actual answers (not just SQL).
Examples:
- You ask: “Total sales by product category this year?”
→ TNX replies: [furniture: $43,000, electronics: $12,000] + “Want a chart for this?”
- You ask: “Which customers didn’t order in the last 90 days?”
→ TNX replies with names or IDs and offers follow-up actions
Notes:
- Built on modern AI models (small + fast)
- No need to send full database dumps – just metadata/config + real-time access
- Easy API integration
- (Bonus: If you should be interested, I‘d handle setup + customization for you)
Try it out:
https://www.tnxapi.com/UI/login.php https://www.tnxapi.com/UI/login.php
(user name: „hi@tnxapi.com“, password „1“ (so it's harder to forget))
(example promts:
- „Please give me the name, ShortDescription and price of product with idpk = 20.“ or
- „Please list me all product prices from idpk 10 to 20.“ and then
- „Please list me all product prices from idpk 10 to 20.“ (I copied some of my databases for this test, I am sorry for the data being in German xd))
Cheers,
Lasse Tramann
(Feel free to reach out to hi@tnxapi.com : ) )