{"id":77503,"title":"Dataherald - NL-to-SQL API for developers","tagline":"Embed NL-to-SQL into your product","body":"**TL;DR**\n\nDataherald enables you to embed Natural Language to SQL (“NL-to-SQL”) into your product. The NL-to-SQL API, built with an LLM (such as GPT), allows users to conduct no-code data analytics, pull reports, and conduct complex data queries using just natural language.\n\nHi, we’re [Amir](https://www.linkedin.com/in/amir-zohrenejad-72a517184/) and [Anuj](https://www.linkedin.com/in/anujsaigal/) from [Dataherald](https://www.dataherald.com/contact). There have been countless game-changing applications of AI, but one area that has remained uncharted is NL-to-SQL. But fear not - we’re changing that. We’ve built a cutting-edge NL-to-SQL engine, meticulously crafted to be the fastest and most accurate in the market, delivering an unmatched developer experience!\n\n**The Problem**\n\nDevelopers struggle to build NL-to-SQL into products because LLMs do not work out-of-the-box. LLMs do not:\n\n1. Utilize metadata and business definitions since they are not already stored in the relational database\n2. Conduct **complex** SQL queries, such as self joins, multiple sub-queries, or rarer operations like windowing, partitioning, lags, temporal calculations, etc.\n3. Create NL-to-SQL training dataset(s) for fine-tuned models\n4. Assess the accuracy of AI-generated SQL\n\n**The Solution**\n\nDataherald’s API solves these challenges by allowing developers to:\n\n* Add business context from various sources (data dictionaries, DBT, Confluence docs, Google docs, etc.)\n\n![](https://lh7-us.googleusercontent.com/kwye-PT4ors7WmWLdm5AjZN5oprn0XXX2v4i_PkCIYwRvilZ-fixK_9wJGHJo9PU1rjv99kBgEVCB1YX58DYO3HCeNoQlHqLcdURUilLhsYcdiDTVEVcd8DZCrt_1EeHYd-zkjWUukA6I8Ka8epVBCc)\n\n* Identify relevant data tables\n* Fine-tune NL-to-SQL LLMs **(including GPT-4!)** specific to their data\n* Assess confidence levels in AI-generated SQL\n\nAll this happens with a few simple API calls.\n\n![](https://lh7-us.googleusercontent.com/6LVhL2Hbyga7oQ7mGDNORds_IMhmA5oBbrjNjKl4Y3L3rECk4WozWzJQY8jS16X6j9ZGgW-5p1fVqt6flbiZfR138EpYhUmcH9btyJL1ky_y7EIlQ5lEQUYVVVzfzDkjlfDU88y_0mJwDRbMgXWug9M)\n\nDataherald’s NL-to-SQL API unlocks data access wherever needed:\n\n1. Enabling Complex Data Queries in SaaS Apps: For example a large payroll software company uses Dataherald to embed NL-to-SQL into their front end so that users can ask questions like “How much did I spend on full stack engineers in our European offices in Q2 2023 and how is that trending?”\n2. Democratizing Data Insights: Companies integrate our API into Slack, enabling self-serve data requests, and freeing up valuable time for data analysts.\n3. Automate Customer Support with Chatbots: Customer support teams dealing with data-heavy queries leverage Dataherald in chatbots, automating inquiries regarding user data.\n\n![](https://lh7-us.googleusercontent.com/rsI_mjIShLSNZBuwGtOKk8k8Fv0f8rUEjItn0w17y-_rps3jWcWNgvQ6C9Ly9EFxszG7jE3c5DLS_T9lcEiHwYD0Z1nvXNgHB3-qFRAOJM6XL6B0w19JQt_esYJm7qqp6Tg2U1Jh9QvHlWGdohmzUZ4)\n\n**The ASK**\n\n* **Start using today** - send me an email [anuj@dataherald.com](https://mailto:anuj@dataherald.com) to get your API key and start using it today!\n* **Share** - tell your colleagues and friends about [Dataherald](https://dataherald.com/)\n* **YC Companies** - skip the wait list and claim the [YC deal](https://bookface.ycombinator.com/deals/2135) \n* **Open-source engine** is available on [Github](https://github.com/Dataherald)","slug":"KA3-dataherald-nl-to-sql-api-for-developers","created_at":"2024-01-15T22:29:20.249Z","updated_at":"2026-04-19T16:02:06.190Z","total_vote_count":21,"url":"https://www.ycombinator.com/launches/KA3-dataherald-nl-to-sql-api-for-developers","share_image_url":"//bookface-static.ycombinator.com/assets/ycdc/yc-og-image-c440a0ad1dacfb86eeeb343717479cc54d256614449b4ef719977a0a451f8bc8.png","company":{"id":23303,"name":"Dataherald","slug":"dataherald","url":"http://dataherald.com/","logo":"https://bookface-images.s3.amazonaws.com/small_logos/5c93e96c934069a8ed8555602a5fa1924663bdd0.png","batch":"Winter 2021","industry":"B2B","tags":["AI-Enhanced Learning","Artificial Intelligence","SaaS","B2B"],"search_path":"https://bookface.ycombinator.com/company/23303"}}