<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ajey Watson</title>
    <description>The latest articles on DEV Community by Ajey Watson (@ajeywatson).</description>
    <link>https://dev.to/ajeywatson</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4254670%2F0a2b4e67-6fda-4c94-bf7c-82a42d3129fb.jpg</url>
      <title>DEV Community: Ajey Watson</title>
      <link>https://dev.to/ajeywatson</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ajeywatson"/>
    <language>en</language>
    <item>
      <title>How I Built a Real-Time Vehicle Inspection Lookup Tool for Colombia (2026)</title>
      <dc:creator>Ajey Watson</dc:creator>
      <pubDate>Fri, 20 Nov 2026 01:50:16 +0000</pubDate>
      <link>https://dev.to/ajeywatson/how-i-built-a-real-time-vehicle-inspection-lookup-tool-for-colombia-2026-5he4</link>
      <guid>https://dev.to/ajeywatson/how-i-built-a-real-time-vehicle-inspection-lookup-tool-for-colombia-2026-5he4</guid>
      <description>&lt;p&gt;A few months ago, a friend asked me how to check if his car had passed its mandatory technical inspection. I told him to go to the RUNT portal — but the experience was slow, confusing, and nearly unusable on mobile. So I started digging into how the data actually works.&lt;/p&gt;

&lt;p&gt;What I found surprised me. The information is public, it exists, and with a bit of work it can be consumed in a far more useful way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Real Problem
&lt;/h2&gt;

&lt;p&gt;In Colombia, every vehicle must pass a &lt;strong&gt;Revisión Técnico-Mecánica (RTM)&lt;/strong&gt; — a mandatory safety and emissions inspection carried out by authorized Centros de Diagnóstico Automotor (CDA). The government stores this data in the &lt;strong&gt;RUNT&lt;/strong&gt; (Registro Único Nacional de Tránsito).&lt;/p&gt;

&lt;p&gt;The problem isn't that the data doesn't exist. The problem is that querying it is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Slow, with frequent timeouts&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Unintuitive for non-technical users&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Nearly unusable on mobile devices&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Zero alerts, zero reminders&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And the consequences of falling behind are real.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Happens When the RTM Expires?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;$633,111 COP fine&lt;/strong&gt;&amp;nbsp;(Infracción C35, 2026 rates)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Immediate vehicle impoundment&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Additional towing and impound fees depending on the city&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The infraction is registered in SIMIT — visible to traffic authorities nationwide&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a poorly managed 5-vehicle fleet, that can exceed &lt;strong&gt;$3,000,000 COP in a single quarter&lt;/strong&gt; — in entirely avoidable fines.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;A lightweight lookup interface that takes a plate number as input and returns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;RTM expiry date&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Current status (vigente / vencida)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Days remaining or overdue&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Associated SOAT status&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;async function checkRTM(plate) {    const res = await fetch(`/api/runt?placa=${plate}`);    const data = await res.json();    return {      status: data.rtm_vigente ? 'Vigente' : 'Vencida',      expiry: data.rtm_fecha_vencimiento,      daysLeft: calcDaysLeft(data.rtm_fecha_vencimiento)    };  }&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The Node.js proxy handles CORS restrictions from the official portal, and the vanilla JS frontend keeps the bundle minimal — loads in under 1 second even on slow mobile connections.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters for Fleets and Businesses
&lt;/h2&gt;

&lt;p&gt;For fleet managers, delivery companies, or any business running more than one vehicle — manually tracking RTM dates in spreadsheets is an accident waiting to happen.&lt;/p&gt;

&lt;p&gt;One impounded vehicle on a delivery day doesn't just cost the fine. It costs the tow truck, the impound fees, the lost operational day, and the unhappy customer. All at once.&lt;/p&gt;

&lt;p&gt;Automating the lookup and setting alerts 45 days before expiry eliminates that risk entirely.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data Reference Used
&lt;/h2&gt;

&lt;p&gt;To build the validation logic, deadlines by vehicle type, and 2026 fine structure, we used this &lt;a href="https://placaycedula.com.co/tecnomecanica-por-placa/" rel="noopener noreferrer"&gt;tecnomecánica 2026 consulta&lt;/a&gt; guide as our primary reference — it covers CDA costs, deadlines for cars and motorcycles, early payment discounts, and the full step-by-step process.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Frontend:&lt;/strong&gt;&amp;nbsp;Vanilla JavaScript&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Backend:&lt;/strong&gt;&amp;nbsp;Node.js (CORS proxy for RUNT)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Deploy:&lt;/strong&gt;&amp;nbsp;Vercel&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Zero external dependencies&lt;/strong&gt;&amp;nbsp;— no frameworks, no npm bloat&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;WhatsApp or email alerts before expiry&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Multi-plate support for fleet management&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Consultation history dashboard&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy to open source this if there's interest — drop a comment with your use case and I'll publish it on GitHub.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Have you worked with RUNT data or similar vehicle registry systems in other countries? I'd love to hear how you approached it.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>opensource</category>
      <category>api</category>
    </item>
  </channel>
</rss>
