> Markdown version of [/videos/100710-100-apis-1000-headaches-overcoming-data-transformation-challenges-in-api-integration](https://www.wearedevelopers.com/videos/100710-100-apis-1000-headaches-overcoming-data-transformation-challenges-in-api-integration). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # 100 APIs, 1000 Headaches: Overcoming Data Transformation Challenges in API Integration To manage 200 API integrations, RudderStack built a custom DSL, and accidentally reinvented a worse version of JavaScript. Discover how switching to TypeScript, Zod, and JSONata solved their scaling nightmares. - **Speakers:** [Pradeep Sharma](https://www.wearedevelopers.com/@pradeep-sharma) - **Event:** Conference India 2026 - **Published:** November 25, 2026 - **Duration:** 27:37 - **URL:** https://www.wearedevelopers.com/videos/100710-100-apis-1000-headaches-overcoming-data-transformation-challenges-in-api-integration - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/16fabb2fa57bc4e6ed283bc34c44c36c/thumbnails/thumbnail.jpg?time=30000ms ## Summary Managing hundreds of third-party API integrations introduces exponential complexity due to varying property mappings, rate limits, authentication methods, batching rules, and inconsistent error handling. Pradeep Sharma from RudderStack shares a six-year evolution of scaling over 200 integrations, detailing why initial approaches using handwritten JavaScript and static YAML configurations failed due to duplicated bugs and inability to handle complex conditional logic. To add programmability, the team built a custom domain-specific language (DSL) for JSON transformation. However, this triggered the "inner-platform effect"—as they added variables, functions, and async support, they inadvertently built a poorly-tooled replica of JavaScript lacking IDE support, linting, and easy debugging. Furthermore, modern AI coding agents struggle with custom DSLs compared to standard languages. Ultimately, RudderStack solved this by separating platform requirements (batching, retries, validation) into a shared TypeScript framework while isolating business logic within individual integrations. By pairing TypeScript with Zod schemas for input validation and the open-source JSONata query language for JSON transformations, they retained full developer tooling, community security updates, and AI agent compatibility. To maintain reliability at scale, they also rely on LLMs to monitor external API changelogs, run automated end-to-end tests with real credentials on every release, and aggregate error monitoring per integration rather than per customer. **Keywords:** API integration at scale, JSON data transformation, domain-specific language, inner-platform effect, JSONata query language, shared integration framework, TypeScript API integration, Zod schema validation, API error handling, event batching, rate limit management, RudderStack architecture, YAML configuration mapping, AI coding agents, LLM changelog monitoring, end-to-end API testing ## Chapters 1. **Common approaches to third-party API integrations** (00:02) — Managing exponential complexity in API integrations begins by evaluating whether teams rely on handwritten code, integration platforms, configurations, or shared frameworks. 1. **Evolution of API integration strategies at scale** (04:18) — Scaling from a few integrations to over two hundred requires evolving from manual code to configuration mappings, custom domain-specific languages, and eventually shared frameworks. 1. **Data mapping and architectural challenges in APIs** (08:30) — Integrating diverse APIs introduces maintenance bottlenecks due to inconsistent property mappings, varied authentication schemes, dynamic rate limits, and bug duplication across copied codebases. 1. **Inconsistent error handling across external APIs** (13:26) — External APIs return inconsistent HTTP status codes for failed and partially failed requests, requiring custom error parsing and retry mechanisms for each destination. 1. **Transitioning from YAML configuration to custom DSLs** (15:07) — Static YAML configurations fail when APIs require conditional logic, often pushing engineering teams to build over-engineered custom domain-specific languages for JSON transformation. 1. **The inner-platform effect and drawbacks of custom DSLs** (18:14) — Adding variables, functions, and async support to a custom DSL recreates a poor replica of JavaScript that lacks standard IDE tooling, linting, and easy debugging. 1. **Separating platform and business logic in shared frameworks** (21:28) — Moving duplicated platform logic like batching and validation into a shared TypeScript framework using Zod and JSONata isolates API-specific business requirements and enables AI agent code generation. 1. **Automated maintenance and testing for API integrations** (25:22) — Maintaining hundreds of integrations reliably requires LLM-monitored changelogs, mandatory end-to-end testing with live credentials on every release, and aggregated error tracking per integration. ## Related Moments - [Evolution of API interfaces toward declarative data fetching](https://www.wearedevelopers.com/videos/1054-graphql-does-it-replace-sql-rest-or-something-else) (from "GraphQL: Does it replace SQL, REST or Something Else?") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/2aa8ab99417d3cc85bd80411cb08b358/thumbnails/thumbnail.jpg?time=43945ms - [Designing outstanding APIs with simplicity, safety, and evolvability](https://www.wearedevelopers.com/videos/942-insights-from-building-the-canva-developers-platform-to-empower-185-million-designers) (from "Insights from building the Canva Developers Platform to empower 185 million designers") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/398914791273cc14029e6cda7b29474f/thumbnails/thumbnail.jpg?time=164425ms - [Reimagining developer platforms for machine readability](https://www.wearedevelopers.com/videos/1270-transforming-software-development-the-role-of-ai-and-developer-tools) (from "Transforming Software Development: The Role of AI and Developer Tools") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/94d0b7069a839dd9f4fc521f7c80df91/thumbnails/thumbnail.jpg?time=162795ms - [Implementing API endpoints with restful modeling languages](https://www.wearedevelopers.com/videos/758-why-make-use-of-an-integration-platform-in-today-s-software-developments-and-infrastructure) (from "Why make use of an integration platform in today's software developments and infrastructure?") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/5ab2393cd9eb5a715ec576a9c3b6d94e/thumbnails/thumbnail.jpg?time=90900ms - [Q&A on pipeline integration and troubleshooting scenarios](https://www.wearedevelopers.com/videos/856-ci-cd-with-github-actions) (from "CI/CD with Github Actions") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/4593aaee9b371ca1d56d640e271a1c1e/thumbnails/thumbnail.jpg?time=54655ms - [Enhancing developer experience with SDK discovery and DSLs](https://www.wearedevelopers.com/videos/128-building-a-friendly-kotlin-sdk-to-connect-to-jetbrains-space) (from "Building a Friendly Kotlin SDK to Connect to JetBrains Space") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/99393878d4c37ab86346639dd2254814/thumbnails/thumbnail.jpg?time=21965ms ## Related Articles - [Dev Digest 131 - AI'm not sure about OSS](https://www.wearedevelopers.com/magazine/472-dev-digest-131-ai-m-not-sure-about-oss) - [Dev Digest 132 - Binging WADFlix?](https://www.wearedevelopers.com/magazine/473-dev-digest-132-binging-wadflix) - [Dev Digest 120 - Apple and peers](https://www.wearedevelopers.com/magazine/455-dev-digest-120-apple-and-peers) - [Dev Digest 159: AI Pipelines, 10x Faster TypeScript, How to Interview](https://www.wearedevelopers.com/magazine/563-dev-digest-159-ai-pipelines-10x-faster-typescript-how-to-interview) ## Related Jobs - [Bank Platform Transformation - Integration Architect-Engineer - Sr Manager](https://www.wearedevelopers.com/jobs/ext/4572090-bank-platform-transformation-integration-architect-engineer-sr-manager) at **PwC** - [Senior Software Engineer - Semantic Data Lake (Open)SDE3](https://www.wearedevelopers.com/jobs/48597-senior-software-engineer-semantic-data-lake-open-sde3) at **WEX** - [Principal Software Engineer, Copilot Code Review](https://www.wearedevelopers.com/jobs/ext/4667602-principal-software-engineer-copilot-code-review) at **GitHub** - [Bank Platform Transformation - Integration Architect-Engineer - Sr Manager](https://www.wearedevelopers.com/jobs/ext/4546830-bank-platform-transformation-integration-architect-engineer-sr-manager) at **PwC** - [Senior Software Engineer](https://www.wearedevelopers.com/jobs/ext/4786821-senior-software-engineer) at **GitHub** - [Principal Software Engineer, Front End Web UI Platform](https://www.wearedevelopers.com/jobs/ext/4835126-principal-software-engineer-front-end-web-ui-platform) at **GitHub**