<?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: Emirhan Güven</title>
    <description>The latest articles on DEV Community by Emirhan Güven (@azorkai).</description>
    <link>https://dev.to/azorkai</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%2F4104121%2F3f1ecced-ea9a-452b-9399-17e5ccffea36.jpg</url>
      <title>DEV Community: Emirhan Güven</title>
      <link>https://dev.to/azorkai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/azorkai"/>
    <language>en</language>
    <item>
      <title>SMM panel API'lerine bağlanmadan önce: /api/v2 standardı, CORS ve anahtarı sunucuya hiç göndermemek</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Thu, 26 Nov 2026 09:00:00 +0000</pubDate>
      <link>https://dev.to/azorkai/smm-panel-apilerine-baglanmadan-once-apiv2-standardi-cors-ve-anahtari-sunucuya-hic-gondermemek-3fhd</link>
      <guid>https://dev.to/azorkai/smm-panel-apilerine-baglanmadan-once-apiv2-standardi-cors-ve-anahtari-sunucuya-hic-gondermemek-3fhd</guid>
      <description>&lt;p&gt;SMM panelleri, yani takipçi, beğeni ve izlenmeyi binlik fiyatla satan toptan mağazalar, neredeyse hep aynı API'yi kullanır. Takip ettiğimiz panellerin &lt;strong&gt;144'ü&lt;/strong&gt; herkese açık bir sipariş API'si yayımlıyor ve bunların çoğu aynı panel yazılımlarının ortak sözleşmesini konuşuyor.&lt;/p&gt;

&lt;p&gt;Bu yazıda o sözleşmeyi, tarayıcıdan denemenin neden çoğu zaman başarısız olduğunu ve bir test aracını kullanıcının API anahtarına hiç dokunmadan nasıl kurduğumuzu anlatıyorum.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ortak sözleşme
&lt;/h2&gt;

&lt;p&gt;Yaygın panel yazılımları API'yi &lt;code&gt;/api/v2&lt;/code&gt; yolunda açar. Ama bu evrensel değil: yolu her zaman panelin kendi API sayfasından okuyun, tahmin etmeyin.&lt;/p&gt;

&lt;p&gt;İstek her zaman aynı biçimde: &lt;code&gt;POST&lt;/code&gt;, gövde &lt;code&gt;application/x-www-form-urlencoded&lt;/code&gt;, içinde &lt;code&gt;key&lt;/code&gt; ve &lt;code&gt;action&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST &lt;span class="s1"&gt;'https://panel-adresi.example/api/v2'&lt;/span&gt; \
  -H &lt;span class="s1"&gt;'Content-Type: application/x-www-form-urlencoded'&lt;/span&gt; \
  --data &lt;span class="s1"&gt;'key=API_ANAHTARINIZ&amp;amp;action=services'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Dört eylem işin büyük kısmını görür:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;code&gt;action&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;Ne yapar&lt;/th&gt;
&lt;th&gt;Para harcar mı&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;services&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Kataloğu listeler: servis numarası, ad, kategori, binlik fiyat, alt ve üst miktar&lt;/td&gt;
&lt;td&gt;Hayır&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;balance&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Hesap bakiyesini okur&lt;/td&gt;
&lt;td&gt;Hayır&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;status&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Bir siparişin durumuna bakar&lt;/td&gt;
&lt;td&gt;Hayır&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;add&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Sipariş verir&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Evet&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Entegrasyondan önce ilk üçüyle başlayın. &lt;code&gt;add&lt;/code&gt; gerçek bakiyeden düşer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tarayıcıdan denemek neden çoğu zaman olmaz
&lt;/h2&gt;

&lt;p&gt;Bir paneli tarayıcıdan, &lt;code&gt;fetch&lt;/code&gt; ile denemek istediğinizde isteğin büyük ihtimalle CORS duvarına çarptığını görürsünüz. Panellerin çoğu başka bir kökenden gelen isteğe izin veren &lt;code&gt;Access-Control-Allow-Origin&lt;/code&gt; başlığını göndermiyor. Bu bir hata değil: API'ler sunucudan sunucuya kullanılmak üzere kurulmuş.&lt;/p&gt;

&lt;p&gt;Kolay çözüm, isteği kendi sunucunuzdan geçiren bir proxy yazmak. Ama o zaman kullanıcının API anahtarı, yani parasına erişen kimlik bilgisi, sizin sunucunuzdan geçer ve sizin loglarınıza düşebilir.&lt;/p&gt;

&lt;h2&gt;
  
  
  Anahtarı hiç görmeyen bir test aracı
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://panelcompare.com/tr/tools/panel-api-tester" rel="noopener noreferrer"&gt;Panel API test aracımızı&lt;/a&gt; tam tersini seçerek kurduk:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;İstek &lt;strong&gt;doğrudan kullanıcının tarayıcısından panele&lt;/strong&gt; gider. Arkada bir proxy rotası yok, hiçbir şey depolamaya yazılmıyor, hiçbir şey loglanmıyor. Tarayıcının ağ panelini açtığınızda tek bir istek görürsünüz: panelin alan adına.&lt;/li&gt;
&lt;li&gt;Panel CORS'u reddederse araç bunu sessizce bir sunucu üzerinden çözmeye çalışmaz; size aynı isteğin &lt;code&gt;curl&lt;/code&gt; karşılığını verir.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;curl&lt;/code&gt; komutunda anahtar bilerek yer tutucu olarak yazılır. Gerçek anahtarı terminalde yerine koyarsınız, böylece ekran görüntüsüne düşmez.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bedeli açık: panellerin çoğunda "tarayıcıdan gönder" düğmesi CORS hatasıyla döner ve işi &lt;code&gt;curl&lt;/code&gt; ile bitirirsiniz. Karşılığında bir kimlik bilgisinin bizim tarafımızda hiç bulunmadığını, kodu okumadan da ağ panelinden doğrulayabilirsiniz.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hangi paneli bağlamalı?
&lt;/h2&gt;

&lt;p&gt;Bir entegrasyon için en önemli ölçü özellik listesi değil, uç noktanın ayakta olması: çalışmayan bir API'nin hiçbir özelliği yoktur. Bu yüzden araç sayfasında, son 30 günün erişilebilirlik ölçümlerine göre sıralı bir liste var; her satırda 30 günlük uptime, medyan yanıt süresi ve güven puanı yazıyor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bağlantılar
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Panel API test aracı: &lt;a href="https://panelcompare.com/tr/tools/panel-api-tester" rel="noopener noreferrer"&gt;panelcompare.com/tr/tools/panel-api-tester&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;API sunan paneller: &lt;a href="https://panelcompare.com/tr/best/smm-panel-with-api" rel="noopener noreferrer"&gt;panelcompare.com/tr/best/smm-panel-with-api&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Günlük fiyat endeksi: &lt;a href="https://panelcompare.com/tr/price-index" rel="noopener noreferrer"&gt;panelcompare.com/tr/price-index&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Bizim kendi API'miz (anahtarsız, CORS açık): &lt;a href="https://panelcompare.com/api-docs" rel="noopener noreferrer"&gt;panelcompare.com/api-docs&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Açıklama: PanelCompare'i ben yürütüyorum. Sitede etiketli bir sponsor alanı ve ortaklık linkleri var; ikisi de fiyat ve erişilebilirlik ölçümlerini değiştirmiyor.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>turkce</category>
      <category>api</category>
      <category>webdev</category>
      <category>security</category>
    </item>
    <item>
      <title>Indeks harga harian dari 90 katalog panel SMM: jadwal, sumber data, dan cara memakainya lewat API atau MCP</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Wed, 25 Nov 2026 01:48:22 +0000</pubDate>
      <link>https://dev.to/azorkai/indeks-harga-harian-dari-90-katalog-panel-smm-jadwal-sumber-data-dan-cara-memakainya-lewat-api-15ka</link>
      <guid>https://dev.to/azorkai/indeks-harga-harian-dari-90-katalog-panel-smm-jadwal-sumber-data-dan-cara-memakainya-lewat-api-15ka</guid>
      <description>&lt;p&gt;Saya mengelola indeks harga harian untuk &lt;strong&gt;panel SMM&lt;/strong&gt;, toko grosir yang menjual followers, likes, dan views per seribu. Setiap hari sistemnya membaca katalog sekitar 90 panel, mengubah setiap penawaran ke dolar AS per 1.000 unit, lalu menghitung median, kuartil, dan rentang harga untuk 182 layanan yang bisa dibandingkan.&lt;/p&gt;

&lt;p&gt;Tulisan ini menjelaskan tiga hal: kapan data dikumpulkan, mengapa jadwalnya berbeda-beda per sumber, dan bagaimana kamu bisa memakai datanya tanpa daftar akun.&lt;/p&gt;

&lt;h2&gt;
  
  
  Angka hari ini (25/11/2026)
&lt;/h2&gt;

&lt;p&gt;TikTok, USD per 1.000 unit:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layanan&lt;/th&gt;
&lt;th&gt;Panel&lt;/th&gt;
&lt;th&gt;P25&lt;/th&gt;
&lt;th&gt;Median&lt;/th&gt;
&lt;th&gt;P75&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Views&lt;/td&gt;
&lt;td&gt;88&lt;/td&gt;
&lt;td&gt;0,04&lt;/td&gt;
&lt;td&gt;0,077&lt;/td&gt;
&lt;td&gt;0,50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Likes&lt;/td&gt;
&lt;td&gt;86&lt;/td&gt;
&lt;td&gt;0,37&lt;/td&gt;
&lt;td&gt;0,63&lt;/td&gt;
&lt;td&gt;1,10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Followers&lt;/td&gt;
&lt;td&gt;86&lt;/td&gt;
&lt;td&gt;1,70&lt;/td&gt;
&lt;td&gt;2,57&lt;/td&gt;
&lt;td&gt;4,75&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Median dipakai, bukan rata-rata, karena pasar ini penuh pencilan: katalog memuat judul kategori berharga simbolis, paket sekali beli, dan baris yang salah kategori. Untuk "termurah" dan "termahal" kami memakai &lt;strong&gt;rentang yang bisa dikutip&lt;/strong&gt;: penawaran termurah dan termahal yang masih berada dalam sepuluh kali median layanan itu, tanpa paket sekali beli. Untuk TikTok followers hari ini: &lt;strong&gt;0,26 sampai 25,60&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Jadwal pengumpulan
&lt;/h2&gt;

&lt;p&gt;Tidak semua data perlu dibaca dengan frekuensi yang sama:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Sumber&lt;/th&gt;
&lt;th&gt;Frekuensi&lt;/th&gt;
&lt;th&gt;Alasan&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Katalog lewat API panel dan cek ketersediaan situs&lt;/td&gt;
&lt;td&gt;setiap 6 jam&lt;/td&gt;
&lt;td&gt;harga berubah beberapa kali sehari, dan panel yang mati harus cepat terlihat&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Daftar harga publik di halaman web&lt;/td&gt;
&lt;td&gt;sekali sehari&lt;/td&gt;
&lt;td&gt;lebih berat dibaca, dan berubah lebih jarang&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Metode pembayaran, fitur, profil&lt;/td&gt;
&lt;td&gt;mingguan&lt;/td&gt;
&lt;td&gt;jarang berubah&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Skor dan indeks hari itu&lt;/td&gt;
&lt;td&gt;dihitung ulang setiap 3 jam&lt;/td&gt;
&lt;td&gt;supaya baris hari ini selalu memakai katalog terbaru&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Satu konsekuensi penting: baris untuk hari ini bisa berubah beberapa kali sampai hari berakhir. Karena itu setiap baris membawa kolom &lt;code&gt;computed_at&lt;/code&gt;, dan kalau kamu mengutip angka, sebutkan tanggalnya.&lt;/p&gt;

&lt;h2&gt;
  
  
  Memakai data: API tanpa kunci
&lt;/h2&gt;

&lt;p&gt;API JSON-nya terbuka tanpa daftar akun dan tanpa kunci, dan CORS-nya terbuka, jadi bisa dipanggil langsung dari browser:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://panelcompare.com/api/v1/price-index?limit=200"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_meta&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;tiktok&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;platform_slug&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"tiktok"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="n"&gt;tiktok&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;service&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;median_price_per_1000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;quotable_min_price_per_1000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;quotable_max_price_per_1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;_meta&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;license&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// CC-BY-4.0&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ada juga CSV harian di &lt;code&gt;https://panelcompare.com/data/price-index.csv&lt;/code&gt; dan deskripsi OpenAPI 3.1 di &lt;code&gt;/openapi.json&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Memakai data: server MCP
&lt;/h2&gt;

&lt;p&gt;Kalau kamu memakai Claude, Cursor, atau klien MCP lain, ada server MCP jarak jauh (Streamable HTTP, tanpa kunci) di &lt;code&gt;https://panelcompare.com/mcp&lt;/code&gt;. Enam alatnya hanya membaca: &lt;code&gt;search_panels&lt;/code&gt;, &lt;code&gt;get_panel&lt;/code&gt;, &lt;code&gt;compare_service_prices&lt;/code&gt;, &lt;code&gt;get_price_index&lt;/code&gt;, &lt;code&gt;list_services&lt;/code&gt;, dan &lt;code&gt;market_stats&lt;/code&gt;. Contoh konfigurasi:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"panelcompare"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://panelcompare.com/mcp"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Setelah itu pertanyaan seperti "berapa median harga 1.000 TikTok views hari ini?" dijawab dari data yang sama dengan halaman indeks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tautan
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Indeks hari ini, dalam bahasa Indonesia: &lt;a href="https://panelcompare.com/id/price-index" rel="noopener noreferrer"&gt;panelcompare.com/id/price-index&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;TikTok followers, penawaran demi penawaran: &lt;a href="https://panelcompare.com/id/services/tiktok/followers" rel="noopener noreferrer"&gt;panelcompare.com/id/services/tiktok/followers&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Metodologi lengkap: &lt;a href="https://panelcompare.com/id/methodology" rel="noopener noreferrer"&gt;panelcompare.com/id/methodology&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Dokumentasi API: &lt;a href="https://panelcompare.com/api-docs" rel="noopener noreferrer"&gt;panelcompare.com/api-docs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Arsip berversi dengan DOI: &lt;a href="https://doi.org/10.5281/zenodo.24519005" rel="noopener noreferrer"&gt;10.5281/zenodo.24519005&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Semua data berlisensi CC BY 4.0.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Pengungkapan: saya mengelola PanelCompare. Situsnya punya satu slot bersponsor yang diberi label dan tautan afiliasi; keduanya tidak masuk ke perhitungan harga.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>indonesia</category>
      <category>opendata</category>
      <category>api</category>
      <category>mcp</category>
    </item>
    <item>
      <title>Comparar precios entre catálogos que no se parecen: la mediana de las razones</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Wed, 25 Nov 2026 01:48:01 +0000</pubDate>
      <link>https://dev.to/azorkai/comparar-precios-entre-catalogos-que-no-se-parecen-la-mediana-de-las-razones-2dgm</link>
      <guid>https://dev.to/azorkai/comparar-precios-entre-catalogos-que-no-se-parecen-la-mediana-de-las-razones-2dgm</guid>
      <description>&lt;p&gt;Mantengo un índice diario de precios de &lt;strong&gt;paneles SMM&lt;/strong&gt;, las tiendas mayoristas que venden seguidores, likes y reproducciones por millar. Hoy el índice suma &lt;strong&gt;279.070 observaciones de precio&lt;/strong&gt; de 93 paneles, repartidas en 182 servicios comparables de 43 plataformas.&lt;/p&gt;

&lt;p&gt;Una pregunta parece trivial y no lo es: &lt;strong&gt;¿qué panel es más barato?&lt;/strong&gt; Este post explica por qué la respuesta obvia falla y qué cálculo usamos en su lugar.&lt;/p&gt;

&lt;h2&gt;
  
  
  La respuesta obvia: el precio medio del catálogo
&lt;/h2&gt;

&lt;p&gt;Si sumas los precios de un panel y divides por el número de servicios, comparas &lt;strong&gt;mezclas&lt;/strong&gt; de productos, no precios. Un panel que vende sobre todo reproducciones de TikTok parecerá baratísimo frente a uno que vende suscriptores de YouTube, aunque cobre más que nadie por cada servicio.&lt;/p&gt;

&lt;p&gt;Para hacerse una idea de la distancia entre servicios, estas son las medianas de hoy (25/11/2026), en dólares por 1.000 unidades:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Servicio&lt;/th&gt;
&lt;th&gt;Paneles&lt;/th&gt;
&lt;th&gt;P25&lt;/th&gt;
&lt;th&gt;Mediana&lt;/th&gt;
&lt;th&gt;P75&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Reproducciones de TikTok&lt;/td&gt;
&lt;td&gt;88&lt;/td&gt;
&lt;td&gt;0,04&lt;/td&gt;
&lt;td&gt;0,077&lt;/td&gt;
&lt;td&gt;0,50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Likes de Instagram&lt;/td&gt;
&lt;td&gt;87&lt;/td&gt;
&lt;td&gt;0,27&lt;/td&gt;
&lt;td&gt;0,56&lt;/td&gt;
&lt;td&gt;1,89&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Seguidores de Instagram&lt;/td&gt;
&lt;td&gt;87&lt;/td&gt;
&lt;td&gt;1,90&lt;/td&gt;
&lt;td&gt;3,80&lt;/td&gt;
&lt;td&gt;9,51&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Suscriptores de YouTube&lt;/td&gt;
&lt;td&gt;83&lt;/td&gt;
&lt;td&gt;7,93&lt;/td&gt;
&lt;td&gt;24,01&lt;/td&gt;
&lt;td&gt;40,00&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Entre el primero y el último hay más de 300 veces. Cualquier promedio de catálogo mide sobre todo qué vende el panel, no cuánto cobra.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 1: cada oferta contra su propio mercado
&lt;/h2&gt;

&lt;p&gt;Primero, cada oferta se asigna a un &lt;strong&gt;servicio canónico&lt;/strong&gt; (plataforma + tipo de servicio: "seguidores de Instagram", "reproducciones de TikTok"). Después, cada oferta se divide por la mediana de mercado de &lt;strong&gt;ese mismo&lt;/strong&gt; servicio ese día:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;razón = precio del panel / mediana del mercado para ese servicio
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Una razón de 0,5 significa "la mitad del precio de mercado"; 2,0, "el doble". Ahora todas las filas hablan la misma unidad, sea cual sea el producto.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paso 2: la mediana de las razones
&lt;/h2&gt;

&lt;p&gt;El precio de un panel es la &lt;strong&gt;mediana&lt;/strong&gt; de sus razones, no la media. Un solo servicio con un precio absurdo (un paquete de pedido único, una fila mal clasificada) no mueve la mediana. Luego la convertimos en una nota:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mediana de razones&lt;/th&gt;
&lt;th&gt;Lectura&lt;/th&gt;
&lt;th&gt;Nota de precio&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0,5&lt;/td&gt;
&lt;td&gt;la mitad del mercado&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1,0&lt;/td&gt;
&lt;td&gt;igual al mercado&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2,0&lt;/td&gt;
&lt;td&gt;el doble del mercado&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Un ejemplo con números inventados, para ver el cálculo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;statistics&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;median&lt;/span&gt;

&lt;span class="c1"&gt;# servicio: (precio del panel, mediana del mercado), USD por 1.000&lt;/span&gt;
&lt;span class="n"&gt;panel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s2"&gt;"tiktok/views"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;       &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.05&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.077&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"instagram/likes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.70&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.56&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"instagram/followers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;2.90&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;3.80&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"youtube/subscribers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;600.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;24.01&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="c1"&gt;# 25x: otro producto con el mismo nombre, se descarta&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;ratios&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;panel&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;values&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="mf"&gt;0.02&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;median&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ratios&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# 0.763: algo más barato que el mercado&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Dos salvaguardas
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Razones fuera de 0,02× y 20× se descartan.&lt;/strong&gt; Un servicio a cien veces el mercado suele ser otro producto con el mismo nombre (geolocalizado, a medida), no una señal de precio.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Con menos de tres servicios comparables, la nota es un 5 neutro&lt;/strong&gt;, no un 10. Tres filas no son una política de precios, y un catálogo diminuto con un solo servicio barato no debería encabezar el ranking.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;La ventaja práctica es que un catálogo estrecho no se premia ni se castiga por lo que no vende: la nota solo se calcula donde el panel compite.&lt;/p&gt;

&lt;h2&gt;
  
  
  Los datos
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Índice de hoy, en español: &lt;a href="https://panelcompare.com/es/price-index" rel="noopener noreferrer"&gt;panelcompare.com/es/price-index&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Reproducciones de TikTok, oferta por oferta: &lt;a href="https://panelcompare.com/es/services/tiktok/views" rel="noopener noreferrer"&gt;panelcompare.com/es/services/tiktok/views&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;La fórmula completa, con todos los pesos: &lt;a href="https://panelcompare.com/es/methodology" rel="noopener noreferrer"&gt;metodología&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;API JSON sin clave y con CORS abierto: &lt;a href="https://panelcompare.com/api-docs" rel="noopener noreferrer"&gt;documentación&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Archivo versionado con DOI: &lt;a href="https://doi.org/10.5281/zenodo.24519005" rel="noopener noreferrer"&gt;10.5281/zenodo.24519005&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Todo bajo CC BY 4.0.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Transparencia: mantengo PanelCompare. El sitio tiene un espacio patrocinado señalado y enlaces de afiliado; ninguno de los dos entra en el cálculo de precios.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>spanish</category>
      <category>opendata</category>
      <category>datascience</category>
      <category>statistics</category>
    </item>
    <item>
      <title>O preço mínimo mente: como citar preços de um mercado cheio de outliers</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Wed, 25 Nov 2026 01:47:43 +0000</pubDate>
      <link>https://dev.to/azorkai/o-preco-minimo-mente-como-citar-precos-de-um-mercado-cheio-de-outliers-3gl0</link>
      <guid>https://dev.to/azorkai/o-preco-minimo-mente-como-citar-precos-de-um-mercado-cheio-de-outliers-3gl0</guid>
      <description>&lt;p&gt;Eu mantenho um índice de preços diário de &lt;strong&gt;painéis SMM&lt;/strong&gt;, as lojas atacadistas que vendem seguidores, curtidas e visualizações por milhar. Todo dia o sistema lê os catálogos de cerca de 90 painéis, converte cada oferta para dólares por 1.000 unidades e calcula, para cada serviço, o mínimo, os quartis, a mediana e o máximo.&lt;/p&gt;

&lt;p&gt;A primeira versão publicava exatamente isso. E o primeiro problema apareceu no primeiro dia: &lt;strong&gt;o mínimo e o máximo eram inúteis.&lt;/strong&gt; Este post é sobre por quê, e sobre a regra que usamos no lugar deles.&lt;/p&gt;

&lt;h2&gt;
  
  
  Os números de hoje (25/11/2026)
&lt;/h2&gt;

&lt;p&gt;Seguidores de Instagram, 87 painéis na amostra:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Estatística&lt;/th&gt;
&lt;th&gt;USD por 1.000&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Mínimo bruto&lt;/td&gt;
&lt;td&gt;0,0001&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P25&lt;/td&gt;
&lt;td&gt;1,90&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Mediana&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;3,80&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P75&lt;/td&gt;
&lt;td&gt;9,51&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Máximo bruto&lt;/td&gt;
&lt;td&gt;100.000&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Curtidas de Instagram, também 87 painéis: mediana de &lt;strong&gt;0,56&lt;/strong&gt;, máximo bruto de &lt;strong&gt;384.000&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Ninguém vende 1.000 seguidores por um centésimo de centavo, e ninguém cobra cem mil dólares por eles. Essas linhas existem nos catálogos, mas não são preços:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Títulos de categoria&lt;/strong&gt; cadastrados como serviço, com preço simbólico (0,0001) só para aparecer na lista.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pacotes de pedido único&lt;/strong&gt;, cujo preço é o do pacote inteiro e não o de cada milhar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linhas mal classificadas&lt;/strong&gt;: um produto de outra categoria cai no serviço errado, e o preço dele vira o "máximo" daquele serviço.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Se um jornalista escreve "seguidores custam de US$ 0,0001 a US$ 100.000", a frase é tecnicamente verdadeira e completamente errada.&lt;/p&gt;

&lt;h2&gt;
  
  
  Por que a mediana, e não a média
&lt;/h2&gt;

&lt;p&gt;Com um máximo de 100.000 numa amostra de 87, a média de seguidores de Instagram passaria de mil dólares. A mediana não se mexe: uma linha absurda a mais ou a menos desloca a posição do meio em no máximo uma oferta.&lt;/p&gt;

&lt;p&gt;O mercado também é &lt;strong&gt;bimodal&lt;/strong&gt; em vários serviços. Inscritos de YouTube têm uma camada de bots, barata e sem reposição, e uma camada com garantia de reposição que custa dezenas de vezes mais. Uma média entre as duas descreve um produto que ninguém vende. Por isso o índice publica a mediana e o intervalo P25–P75, que é onde estão as opções de um comprador normal.&lt;/p&gt;

&lt;h2&gt;
  
  
  A faixa citável
&lt;/h2&gt;

&lt;p&gt;Para o "mais barato" e o "mais caro" usamos uma regra simples:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A faixa citável é a oferta mais barata e a mais cara &lt;strong&gt;dentro de dez vezes a mediana&lt;/strong&gt; do serviço, deixando de fora os pacotes de pedido único.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Para seguidores de Instagram hoje: &lt;strong&gt;US$ 0,38 a US$ 38,00&lt;/strong&gt;, contra o bruto de 0,0001 a 100.000. Para curtidas: &lt;strong&gt;0,057 a 5,60&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Em código, com o CSV público:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pandas&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;pd&lt;/span&gt;

&lt;span class="n"&gt;df&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pd&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;read_csv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://panelcompare.com/data/price-index.csv"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;df&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;df&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;platform_slug&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"instagram"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;df&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;service_slug&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"followers"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;iloc&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;median_price_per_1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;                      &lt;span class="c1"&gt;# 3.8&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;min_price_per_1000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max_price_per_1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# extremos brutos&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;quotable_min_price_per_1000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;quotable_max_price_per_1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;                &lt;span class="c1"&gt;# faixa citável&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;O CSV mantém as duas colunas de propósito. Os extremos brutos ficam para quem quer auditar; a página e a API orientam a citar a mediana, os quartis e a faixa citável.&lt;/p&gt;

&lt;h2&gt;
  
  
  Por que dez vezes
&lt;/h2&gt;

&lt;p&gt;Dez vezes é uma ordem de grandeza. É largo o bastante para manter as ofertas premium que são produtos reais, como seguidores com geolocalização ou com garantia de reposição, e estreito o bastante para deixar de fora os extremos brutos, que erram por fatores muito maiores: numa medição de 7 de novembro, em 89 de 149 serviços o extremo bruto passava de &lt;strong&gt;100 vezes&lt;/strong&gt; a mediana.&lt;/p&gt;

&lt;p&gt;A mesma ideia aparece no ranking de preço dos painéis: cada serviço é comparado com a mediana do seu próprio mercado, e razões fora de 0,02× a 20× são descartadas como erro de dado ou produto diferente com o mesmo nome. A regra completa está na &lt;a href="https://panelcompare.com/pt/methodology" rel="noopener noreferrer"&gt;metodologia&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Os dados
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Índice de hoje, em português: &lt;a href="https://panelcompare.com/pt/price-index" rel="noopener noreferrer"&gt;panelcompare.com/pt/price-index&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Seguidores de Instagram, oferta por oferta: &lt;a href="https://panelcompare.com/pt/services/instagram/followers" rel="noopener noreferrer"&gt;panelcompare.com/pt/services/instagram/followers&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;API JSON sem chave e com CORS aberto: &lt;a href="https://panelcompare.com/api-docs" rel="noopener noreferrer"&gt;documentação&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Arquivo versionado com DOI: &lt;a href="https://doi.org/10.5281/zenodo.24519005" rel="noopener noreferrer"&gt;10.5281/zenodo.24519005&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tudo sob CC BY 4.0. Se você citar um número, cite a mediana e a data.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Transparência: eu mantenho o PanelCompare. O site tem um espaço patrocinado identificado e links de afiliado; nenhum dos dois entra no cálculo dos preços.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>braziliandevs</category>
      <category>opendata</category>
      <category>datascience</category>
      <category>statistics</category>
    </item>
    <item>
      <title>Generate AI videos from Claude, Cursor or Claude Code with the Klakix MCP server</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Fri, 20 Nov 2026 16:07:44 +0000</pubDate>
      <link>https://dev.to/klakix/generate-ai-videos-from-claude-cursor-or-claude-code-with-the-klakix-mcp-server-450m</link>
      <guid>https://dev.to/klakix/generate-ai-videos-from-claude-cursor-or-claude-code-with-the-klakix-mcp-server-450m</guid>
      <description>&lt;p&gt;Claude writes text and code. It does not render video. If you want it to hand you an MP4, it has to call a model somewhere, and the cleanest way to wire that up today is an MCP server.&lt;/p&gt;

&lt;p&gt;This post walks through the &lt;a href="https://klakix.com/mcp" rel="noopener noreferrer"&gt;Klakix&lt;/a&gt; MCP server: how to connect it to Claude, Claude Code, Cursor and a few other clients, what the tools look like, and how to keep an eye on cost before anything is generated. It also covers the open-source packages behind it, in case you want to build a remote MCP server of your own. I work on Klakix, so read this as a hands-on guide from the maintainer's side, not a neutral review.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is
&lt;/h2&gt;

&lt;p&gt;The server lives at one URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://klakix.com/api/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is a remote MCP server (Streamable HTTP, stateless, JSON responses). You add the URL to a client, sign in with your Klakix account through OAuth 2.1, and the client gets 19 tools and 7 ready-made workflows (MCP prompts). Between them they cover video, images, audio, talking-head videos, effects, upscaling and templates.&lt;/p&gt;

&lt;p&gt;The models behind the tools include Seedance 2.5 and 2.0, Kling 4.0 and 3.0, Veo 3.1 Lite, Wan 3.0 and MiniMax H3 Max for video, Nano Banana 2, GPT Image 2.5 and Muse Image for images, HeyGen Avatar IV and OmniHuman 1.5 for talking videos, Topaz Video AI for upscaling, and Klakix's own voice, music and sound effect models. You don't pick these in a settings screen; you ask the assistant, and it can call &lt;code&gt;list_models&lt;/code&gt; to see what is available.&lt;/p&gt;

&lt;p&gt;Credits are shared with the website and are spent at web prices. There is no subscription requirement. One practical detail: a new account can make voiceovers straight away, while the video and image tools unlock after the first credit purchase.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting a client
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Claude (claude.ai, desktop, mobile)
&lt;/h3&gt;

&lt;p&gt;Open &lt;strong&gt;Customize &amp;gt; Connectors&lt;/strong&gt;, choose &lt;strong&gt;+ Add&lt;/strong&gt;, then &lt;strong&gt;Add custom connector&lt;/strong&gt;. Name it &lt;code&gt;Klakix&lt;/code&gt;, paste &lt;code&gt;https://klakix.com/api/mcp&lt;/code&gt; as the URL and continue. Keep the detected authentication settings, add it, then sign in and approve. In a new chat, click &lt;strong&gt;+&lt;/strong&gt;, open &lt;strong&gt;Connectors&lt;/strong&gt; and turn Klakix on. The free Claude plan allows one custom connector.&lt;/p&gt;

&lt;h3&gt;
  
  
  Claude Desktop with a config file
&lt;/h3&gt;

&lt;p&gt;If you prefer a config file, or your client only starts local stdio servers, use the small &lt;code&gt;klakix-mcp&lt;/code&gt; bridge. Create an API key at &lt;a href="https://klakix.com/app/mcp" rel="noopener noreferrer"&gt;klakix.com/app/mcp&lt;/a&gt; (it is shown once) and add this to &lt;code&gt;claude_desktop_config.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"klakix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"npx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"-y"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"klakix-mcp"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"env"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"KLAKIX_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"avy_sk_..."&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The package has no dependencies and needs Node.js 20 or newer. It reads JSON-RPC from stdin, posts each message to the remote server and writes the replies to stdout. The key only goes out as a Bearer token.&lt;/p&gt;

&lt;h3&gt;
  
  
  Claude Code
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http --scope user klakix https://klakix.com/api/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then run &lt;code&gt;/mcp&lt;/code&gt; inside Claude Code and sign in through the browser. If you would rather use a key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http --scope user klakix https://klakix.com/api/mcp \
  --header &lt;span class="s2"&gt;"Authorization: Bearer avy_sk_..."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Cursor
&lt;/h3&gt;

&lt;p&gt;Put this in &lt;code&gt;~/.cursor/mcp.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"klakix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://klakix.com/api/mcp"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  VS Code (Copilot agent mode)
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;.vscode/mcp.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"servers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"klakix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://klakix.com/api/mcp"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Codex and Gemini CLI take one line each:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp add klakix --url https://klakix.com/api/mcp
codex mcp login klakix

gemini mcp add --transport http klakix https://klakix.com/api/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For tools like n8n or Make, create an API key and send it as &lt;code&gt;Authorization: Bearer avy_sk_...&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The tools
&lt;/h2&gt;

&lt;p&gt;The tools split into three groups, and the grouping matters for cost.&lt;/p&gt;

&lt;p&gt;Tools that create something and spend credits: &lt;code&gt;generate_video&lt;/code&gt;, &lt;code&gt;generate_image&lt;/code&gt;, &lt;code&gt;generate_audio&lt;/code&gt;, &lt;code&gt;create_talking_video&lt;/code&gt;, &lt;code&gt;apply_effect&lt;/code&gt;, &lt;code&gt;transfer_motion&lt;/code&gt;, &lt;code&gt;upscale_video&lt;/code&gt;, &lt;code&gt;create_explainer_video&lt;/code&gt; and &lt;code&gt;run_template&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Tools for files and results, which are free: &lt;code&gt;upload_media&lt;/code&gt; (import from a URL or an earlier result), &lt;code&gt;get_generation&lt;/code&gt; (status and file links, and it can wait for completion), &lt;code&gt;list_generations&lt;/code&gt; and &lt;code&gt;cancel_generation&lt;/code&gt;. Cancelling a queued generation refunds its credits.&lt;/p&gt;

&lt;p&gt;Account and catalog tools, also free: &lt;code&gt;get_account&lt;/code&gt;, &lt;code&gt;list_models&lt;/code&gt;, &lt;code&gt;get_model&lt;/code&gt;, &lt;code&gt;estimate_cost&lt;/code&gt;, &lt;code&gt;list_voices&lt;/code&gt; and &lt;code&gt;list_templates&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The seven prompts are workflows you can invoke by name: &lt;code&gt;product_ad&lt;/code&gt;, &lt;code&gt;ugc_ad&lt;/code&gt;, &lt;code&gt;storyboard_film&lt;/code&gt;, &lt;code&gt;photo_to_video&lt;/code&gt;, &lt;code&gt;social_reel&lt;/code&gt;, &lt;code&gt;voiceover_pack&lt;/code&gt; and &lt;code&gt;character_consistency&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three prompts to try
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Check before you spend.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How many credits do I have? Then list the video models, and tell me what a 5-second vertical clip of a paper boat on a rainy street would cost on two of them. Don't generate anything yet.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The assistant calls &lt;code&gt;get_account&lt;/code&gt;, &lt;code&gt;list_models&lt;/code&gt; and &lt;code&gt;estimate_cost&lt;/code&gt;. None of these spend credits. &lt;code&gt;get_model&lt;/code&gt; gives you the settings, limits and example prompts for a single model if you want to see what it accepts before choosing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. A product video from a photo.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Use the product_ad workflow with this photo of my ceramic mug. Vertical, 5 seconds, slow camera move, no text. Show me the estimated cost and wait for my OK before generating.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Telling the assistant to wait for your go-ahead is just a normal instruction in the prompt, and it works well here. After you confirm, &lt;code&gt;generate_video&lt;/code&gt; queues the job and &lt;code&gt;get_generation&lt;/code&gt; returns the status and, when it is done, the file link. Results download as MP4, PNG or MP3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. A voiceover.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Read this script in a calm voice, then suggest three voices from the list first so I can pick.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;list_voices&lt;/code&gt; returns voices with preview links, and &lt;code&gt;generate_audio&lt;/code&gt; produces the voiceover. The same tool also handles multi-voice dialogue, music and sound effects. Voiceovers are the one thing a brand-new account can do before buying credits.&lt;/p&gt;

&lt;h2&gt;
  
  
  A note on cost
&lt;/h2&gt;

&lt;p&gt;Generation can take minutes and costs real credits, so I would build the habit of asking for &lt;code&gt;estimate_cost&lt;/code&gt; first. Credits never expire, and a generation that fails for a technical reason or a safety block is refunded automatically. Parallel generations are limited: 3 without a plan, more on the plans. Clips run from 3 to 30 seconds depending on the model.&lt;/p&gt;

&lt;p&gt;Prompts and uploaded images go through the same checks as the website. Celebrities, public figures, people without their consent and copyrighted characters are blocked, tools that use a photo of a person ask for a consent confirmation, and there is no face swap or voice cloning. That is worth knowing before you plan a workflow around it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The open-source part
&lt;/h2&gt;

&lt;p&gt;The repository at &lt;a href="https://github.com/klakix-ai/klakix-mcp" rel="noopener noreferrer"&gt;github.com/klakix-ai/klakix-mcp&lt;/a&gt; contains the building blocks we run in production, extracted as MIT-licensed packages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;klakix-mcp&lt;/code&gt;, the stdio bridge shown above.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;@klakix/mcp-server&lt;/code&gt;, a stateless Streamable HTTP MCP server for the Web Fetch API. Tools use zod schemas, and there are hooks for scope checks, rate limiting and logging, plus an SSRF-safe media fetcher. It runs on Node, Next.js, Hono, Bun, Deno and Cloudflare Workers.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;@klakix/mcp-oauth&lt;/code&gt;, an OAuth 2.1 authorization server for remote MCP servers: PKCE S256, dynamic client registration (RFC 7591), client ID metadata documents, RFC 8414 and RFC 9728 metadata, refresh token rotation with reuse detection, and revocation. It is storage-agnostic and has no dependencies.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;examples/self-hosted&lt;/code&gt;, a complete server with OAuth sign-in and demo tools that you can run locally.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To be precise about the boundary: the protocol layer, the OAuth server, the bridge and the client configs are open. The generation backend (model routing, pricing, moderation, storage) is part of the hosted service and is not in the repo.&lt;/p&gt;

&lt;p&gt;If you want a server of your own, this is the smallest useful version:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;createMcpHandler&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;defineTool&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;toolOk&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@klakix/mcp-server"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"zod"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;defineTool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"echo"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Echo"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Returns the text you send."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;inputSchema&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;object&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;handler&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;toolOk&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;mcp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;createMcpHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;serverInfo&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"my-server"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1.0.0"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;echo&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;authenticate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
    &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"authorization"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="sb"&gt;`Bearer ${process.env.API_KEY}`&lt;/span&gt;
      &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"me"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// Any Fetch API runtime: export default { fetch: mcp.handle }&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And to try the full example with OAuth locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/klakix-ai/klakix-mcp.git
&lt;span class="nb"&gt;cd&lt;/span&gt; klakix-mcp
npm install
npm run build
npm start -w examples/self-hosted
claude mcp add --transport http demo http://localhost:8787/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Product page and setup guides: &lt;a href="https://klakix.com/mcp" rel="noopener noreferrer"&gt;klakix.com/mcp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source: &lt;a href="https://github.com/klakix-ai/klakix-mcp" rel="noopener noreferrer"&gt;github.com/klakix-ai/klakix-mcp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Model list: &lt;a href="https://klakix.com/models" rel="noopener noreferrer"&gt;klakix.com/models&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If something in the setup does not work for your client, open an issue on the repo. I read them.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>claude</category>
      <category>video</category>
    </item>
    <item>
      <title>How we measured Telegram channel reach across 3.2M public channels (and why the median, not the mean)</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Sat, 19 Sep 2026 01:04:06 +0000</pubDate>
      <link>https://dev.to/azorkai/how-we-measured-telegram-channel-reach-across-32m-public-channels-and-why-the-median-not-the-2878</link>
      <guid>https://dev.to/azorkai/how-we-measured-telegram-channel-reach-across-32m-public-channels-and-why-the-median-not-the-2878</guid>
      <description>&lt;p&gt;Telegram prints a view counter on every public channel post. Put that next to the subscriber count and you get a number no other large platform hands you for free: what share of an audience actually sees a post. We computed it across a catalogue of 3,205,346 public channels and published the result as open data. This note is about how the measurement was built, where it is weak, and why the headline figure is a median.&lt;/p&gt;

&lt;p&gt;The short version of the result: on channels with 1,000 to 5,000 subscribers the median post is seen by 31.4% of subscribers. Above 500,000 subscribers it is 3.3%.&lt;/p&gt;

&lt;h2&gt;
  
  
  The definition
&lt;/h2&gt;

&lt;p&gt;For each channel:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;reach = average views per post / subscribers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, for each size band, the median of that ratio across the channels in the band. That is the whole formula. A channel with 10,000 subscribers whose posts average 1,500 views has a reach of 15%.&lt;/p&gt;

&lt;p&gt;Two implementation details matter more than the formula itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The ratio is computed from the two stored inputs, not from a precomputed engagement column.&lt;/strong&gt; The crawler has its own engagement field, but it is still being backfilled, and reading it would make the score exist for some channels and not others with no visible reason. Dividing two columns that are always present is duller and always answers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Channels under 1,000 subscribers are excluded.&lt;/strong&gt; Below that floor a single forwarded post can put the ratio anywhere, so it is too noisy to rank. The API reports these as &lt;code&gt;below_floor&lt;/code&gt; rather than scoring them zero. The same goes for groups (&lt;code&gt;not_a_channel&lt;/code&gt;: Telegram publishes no per-post views for groups) and for channels the crawler has never seen a view count for (&lt;code&gt;no_view_sample&lt;/code&gt;). None of those is an error, and none of them is silently folded into the statistics.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the median
&lt;/h2&gt;

&lt;p&gt;The obvious summary is the mean. We did not publish it, for two reasons that pull in opposite directions.&lt;/p&gt;

&lt;p&gt;The first is the tail above 1.0. A ratio above 1.0, more views per post than subscribers, is common on Telegram and is not proof of a real audience. Forwards, cross-posts and paid promotion all deliver views from people who are not on the subscriber list. In our scoring those channels get the verdict &lt;code&gt;amplified&lt;/code&gt;, which says out loud that the reach is arriving from outside. A few channels several times above 1.0 move a band mean a long way and tell you nothing about the typical channel in that band. The median does not move.&lt;/p&gt;

&lt;p&gt;The second is the tail at the bottom. Subscriber counts padded with bought or long-dead accounts push the ratio down. A band mean would be dragged by those as well, in the other direction, and the two distortions do not cancel in any way you can rely on.&lt;/p&gt;

&lt;p&gt;The median is also what a benchmark needs. "Half of the channels this size do better than 6.0%" is a sentence you can act on: a 200,000-subscriber channel reaching 12% is doing twice as well as its peers, and one at 2% deserves a closer look before you pay for a post. A mean gives you no such sentence.&lt;/p&gt;

&lt;p&gt;Internally the median is one point of a 101-point percentile ladder per band. The public page shows the medians; the API exposes the ladders with their sample sizes and rebuild timestamps, so a percentile is never a number with an invisible population behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Count everything where you can, sample where you cannot
&lt;/h2&gt;

&lt;p&gt;Five bands, filled two different ways.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Band&lt;/th&gt;
&lt;th&gt;Median reach&lt;/th&gt;
&lt;th&gt;Channels measured&lt;/th&gt;
&lt;th&gt;Basis&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1k-5k&lt;/td&gt;
&lt;td&gt;31.4%&lt;/td&gt;
&lt;td&gt;7,179&lt;/td&gt;
&lt;td&gt;sample&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5k-20k&lt;/td&gt;
&lt;td&gt;15.8%&lt;/td&gt;
&lt;td&gt;2,750&lt;/td&gt;
&lt;td&gt;sample&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;20k-100k&lt;/td&gt;
&lt;td&gt;9.1%&lt;/td&gt;
&lt;td&gt;1,201&lt;/td&gt;
&lt;td&gt;sample&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;100k-500k&lt;/td&gt;
&lt;td&gt;6.0%&lt;/td&gt;
&lt;td&gt;8,380&lt;/td&gt;
&lt;td&gt;every channel&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;500k+&lt;/td&gt;
&lt;td&gt;3.3%&lt;/td&gt;
&lt;td&gt;1,211&lt;/td&gt;
&lt;td&gt;every channel&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The two large bands are exact because they are small: 8,380 and 1,211 channels is nothing to compute over. The small bands are enormous (the 1k to 10k range alone projects to roughly 338,000 channels), so their ladders are built from a &lt;code&gt;TABLESAMPLE&lt;/code&gt; of the band. The shape is sound; a percentile from a sampled band is an estimate, and the &lt;code&gt;exact: false&lt;/code&gt; flag on each band says so. In the CSV the same flag is the &lt;code&gt;basis&lt;/code&gt; column.&lt;/p&gt;

&lt;p&gt;One consequence worth knowing. The size distribution comes from a separate sample of 14,431 channels with a known subscriber count, and it projects roughly 7,900 channels above 100,000 subscribers. The exact reach tables hold 9,591 (8,380 plus 1,211). The projection rests on a few dozen sampled rows in a band that is about a quarter of one percent of the network; a miss of about 20% is what sampling error looks like at that rarity. When an exact count and a projection disagree, trust the exact count.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we left out, and why
&lt;/h2&gt;

&lt;p&gt;Three catalogue fields did not make the report.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Category.&lt;/strong&gt; Most channels carry no category label at all. Of 15,240 sampled channels, 719 had one. Those counts describe who bothers to label a channel, not Telegram. They are in the JSON with that caveat attached; they are not on the page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Country.&lt;/strong&gt; The country facet came back empty on the same sampling pass: not one sampled channel carried a value. There was nothing to publish.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Languages beyond the top four.&lt;/strong&gt; Language is detected automatically from short channel descriptions. For Russian (27.0% of sampled channels), English (12.1%), Arabic (6.0%) and Persian (5.6%) the detector is reliable. Below that it starts confusing related languages, and the long tail ranks some languages in places nobody who has used Telegram would put them. So the page shows four, and the JSON keeps the full tail with its raw sample counts so you can judge the noise yourself.&lt;/p&gt;

&lt;p&gt;The rule we ended up with: a populated field is a claim, not a measurement. Publish the ones you can defend, ship the rest as raw rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits that stay
&lt;/h2&gt;

&lt;p&gt;Telegram's view counter counts every view of a post, including views through forwards and web previews by people who are not subscribers. Reach here can therefore overstate the share of subscribers who saw a post, most of all on channels whose posts travel. Subscriber counts inflated by inactive or bought accounts pull the other way. Bands below 100,000 subscribers are sample estimates. Everything under 1,000 subscribers is outside the reach figures, and by count that is 85.7% of the catalogue.&lt;/p&gt;

&lt;h2&gt;
  
  
  One script, three outputs
&lt;/h2&gt;

&lt;p&gt;The last decision was the boring one. The two API responses (&lt;code&gt;/insights/telegram/reach-bands&lt;/code&gt; and &lt;code&gt;/directory/telegram/facets&lt;/code&gt;, captured on 11 September 2026) sit in the repo as snapshots, and one Python script turns them into the TypeScript constants the page renders, the CSV and the JSON. The page cannot drift from the downloads because none of the numbers is typed by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  The data
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Report and tables: &lt;a href="https://pinlyx.com/research/telegram-channel-reach-2026" rel="noopener noreferrer"&gt;https://pinlyx.com/research/telegram-channel-reach-2026&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;CSV: &lt;a href="https://pinlyx.com/data/telegram-channel-reach-2026.csv" rel="noopener noreferrer"&gt;https://pinlyx.com/data/telegram-channel-reach-2026.csv&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;JSON, including the category rows and the full language tail: &lt;a href="https://pinlyx.com/data/telegram-channel-reach-2026.json" rel="noopener noreferrer"&gt;https://pinlyx.com/data/telegram-channel-reach-2026.json&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CC BY 4.0. Use it, quote it, republish it; the only ask is attribution.&lt;/p&gt;

&lt;p&gt;Disclosure: I work on Pinlyx, the CRM whose catalogue these figures come from.&lt;/p&gt;

&lt;p&gt;If you have measured the same ratio on another platform that exposes per-post views, I would like to know whether the tenfold fall from small channels to large ones holds there too.&lt;/p&gt;

</description>
      <category>telegram</category>
      <category>datascience</category>
      <category>opendata</category>
      <category>analytics</category>
    </item>
    <item>
      <title>Google crawled 230 pages of my site and indexed 2. Here is how I diagnosed it.</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Fri, 04 Sep 2026 15:52:13 +0000</pubDate>
      <link>https://dev.to/azorkai/google-crawled-230-pages-of-my-site-and-indexed-2-here-is-how-i-diagnosed-it-24i6</link>
      <guid>https://dev.to/azorkai/google-crawled-230-pages-of-my-site-and-indexed-2-here-is-how-i-diagnosed-it-24i6</guid>
      <description>&lt;p&gt;My marketing site has 230 URLs in its sitemaps. Google has indexed 2 of them.&lt;/p&gt;

&lt;p&gt;Not "pending". Not "blocked". Crawled, fetched successfully, canonical accepted, and then declined. This post is the diagnostic path I took, the two measurement mistakes I made along the way, and the Search Console API calls that finally produced a straight answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;The site is a Vite + React SPA prerendered at build time by Puppeteer. Every route ships as a static HTML file with the content already in the markup, served by nginx. Not SSR, but for a crawler it is indistinguishable: the body arrives full.&lt;/p&gt;

&lt;p&gt;The obvious hypotheses, in the order everyone tries them:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Google cannot render the JavaScript.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;robots.txt&lt;/code&gt; is blocking something.&lt;/li&gt;
&lt;li&gt;Canonicals point somewhere else.&lt;/li&gt;
&lt;li&gt;The pages are thin or duplicated.&lt;/li&gt;
&lt;li&gt;There is a manual action.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All five were wrong. Here is how each died.&lt;/p&gt;

&lt;h2&gt;
  
  
  Killing the easy hypotheses
&lt;/h2&gt;

&lt;p&gt;Fetch the page as Googlebot and check the markup directly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -sS -A &lt;span class="s2"&gt;"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"&lt;/span&gt; \
  https://example.com/ -o home.html

grep -o &lt;span class="s1"&gt;'&amp;lt;title&amp;gt;[^&amp;lt;]*&amp;lt;/title&amp;gt;'&lt;/span&gt; home.html
grep -o &lt;span class="s1"&gt;'&amp;lt;link rel="canonical"[^&amp;gt;]*&amp;gt;'&lt;/span&gt; home.html
grep -c &lt;span class="s1"&gt;'&amp;lt;h1'&lt;/span&gt; home.html
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;381 KB of HTML, one &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt;, correct canonical, &lt;code&gt;index, follow&lt;/code&gt;. Rendering was never the problem.&lt;/p&gt;

&lt;p&gt;For internal links, count real anchors rather than trusting a framework's router:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;hrefs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;findall&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s1"&gt;'&amp;lt;a\s[^&amp;gt;]*href="([^"]+)"'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;html&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;internal&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;hrefs&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;startswith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;internal&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;html&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;count&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'nofollow'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# 84 unique internal links, 0 nofollow&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That matters because a React app that navigates with &lt;code&gt;onClick&lt;/code&gt; handlers instead of &lt;code&gt;&amp;lt;a href&amp;gt;&lt;/code&gt; is invisible to a crawler's link graph. This one was fine.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Search Console API is the only source of truth
&lt;/h2&gt;

&lt;p&gt;Everything above tells you what &lt;em&gt;you&lt;/em&gt; serve. It says nothing about what Google &lt;em&gt;decided&lt;/em&gt;. For that there are exactly two useful endpoints.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;URL Inspection&lt;/strong&gt; — per-URL verdict, up to 2000 calls/day:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;googleapiclient&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;discovery&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;build&lt;/span&gt;

&lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;build&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'searchconsole'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'v1'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;credentials&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;creds&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;service&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlInspection&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;index&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;inspect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s1"&gt;'inspectionUrl'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'https://example.com/pricing'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'siteUrl'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'sc-domain:example.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;execute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'inspectionResult'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'indexStatusResult'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'verdict'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'|'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'coverageState'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'robotsTxtState'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'pageFetchState'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'lastCrawlTime'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it over a representative sample rather than one URL. Mine came back like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/                      PASS    | Submitted and indexed
/pricing               NEUTRAL | Crawled - currently not indexed
/features              NEUTRAL | Crawled - currently not indexed
/telegram-crm          NEUTRAL | Crawled - currently not indexed
/compare/x-vs-y        NEUTRAL | Crawled - currently not indexed
/guides/some-guide     NEUTRAL | Crawled - currently not indexed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every one of them: &lt;code&gt;robotsTxtState: ALLOWED&lt;/code&gt;, &lt;code&gt;pageFetchState: SUCCESSFUL&lt;/code&gt;, &lt;code&gt;lastCrawlTime&lt;/code&gt; within the last two weeks, &lt;code&gt;googleCanonical&lt;/code&gt; matching &lt;code&gt;userCanonical&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;That combination is unambiguous. Google arrived, fetched a 200, parsed the page, agreed with my canonical, and chose not to index. There is no technical defect to fix, because nothing failed.&lt;/p&gt;

&lt;p&gt;The aggregate view confirmed it: &lt;strong&gt;2 indexed, 185 not indexed&lt;/strong&gt; — 99 "Discovered, currently not indexed" and 86 "Crawled, currently not indexed".&lt;/p&gt;

&lt;h2&gt;
  
  
  Two measurement mistakes worth stealing
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. &lt;code&gt;quick_ratio&lt;/code&gt; will tell you your pages are duplicates when they are not
&lt;/h3&gt;

&lt;p&gt;Template-generated pages (&lt;code&gt;/compare/a-vs-b&lt;/code&gt;, &lt;code&gt;/use-cases/industry&lt;/code&gt;) are the obvious suspects for thin content. So I measured similarity:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;difflib&lt;/span&gt;
&lt;span class="n"&gt;ratio&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;difflib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;SequenceMatcher&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;page_a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;page_b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;quick_ratio&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# 95.9%, 90.9%, 88.5% ...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Damning, apparently. Except &lt;code&gt;quick_ratio()&lt;/code&gt; compares &lt;strong&gt;character frequency multisets&lt;/strong&gt;, not sequences. Two unrelated English documents of similar length score high on it by construction. It is a cheap upper bound designed to skip expensive comparisons, not a similarity metric.&lt;/p&gt;

&lt;p&gt;The honest measurement is to strip the shared chrome and count what survives:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Counter&lt;/span&gt;

&lt;span class="c1"&gt;# how many pages does each line of text appear on?&lt;/span&gt;
&lt;span class="n"&gt;counts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;values&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="kt"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;unique&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;total_w&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;unique_w&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;unique&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{unique_w}/{total_w} = {unique_w*100//total_w}% unique"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Result: &lt;strong&gt;90-95% unique per page&lt;/strong&gt;, 1400-1950 words of it, with only ~35 words of shared boilerplate (nav, CTA strip, footer). The pages were not the problem. Had I stopped at &lt;code&gt;quick_ratio&lt;/code&gt; I would have spent a week rewriting content that was already fine.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. &lt;code&gt;site:&lt;/code&gt; in a search box is not an index count
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;num=100&lt;/code&gt; no longer works on Google. If you count results on the first page you are counting ten. Paginate with &lt;code&gt;start=&lt;/code&gt; and stop when a page returns fewer than a full set, or just read the Page Indexing report, which is authoritative.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the answer actually was
&lt;/h2&gt;

&lt;p&gt;With the technical hypotheses dead, one report explained everything:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;External links: Total 10   (3 domains)
Internal links: Total 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ten inbound links from three domains, all to the homepage. Meanwhile a backlink tool reported 197 links — but more than half came from a single PBN spam network hammering one keyword-stuffed anchor. Google had simply not counted them. The tool's number was noise; Search Console's was the signal.&lt;/p&gt;

&lt;p&gt;So: a site with real content, clean markup, correct canonicals, valid sitemaps, no manual action, and effectively zero independent references, publishing 230 pages into one of the most saturated categories on the web.&lt;/p&gt;

&lt;p&gt;"Crawled, currently not indexed" is not a bug report. It is a verdict. Google read the pages and decided the index did not need them. More crawl budget does not fix that, and neither does resubmitting a sitemap — I have two months of flat data to prove it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that generalises
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;If &lt;code&gt;pageFetchState&lt;/code&gt; is &lt;code&gt;SUCCESSFUL&lt;/code&gt; and &lt;code&gt;robotsTxtState&lt;/code&gt; is &lt;code&gt;ALLOWED&lt;/code&gt;, stop debugging your stack. The answer is not in your code.&lt;/li&gt;
&lt;li&gt;Check the Links report before rewriting content. Zero external links explains more indexing problems than any rendering bug.&lt;/li&gt;
&lt;li&gt;Backlink tools and Search Console disagree, and for "does Google count this link", Search Console wins.&lt;/li&gt;
&lt;li&gt;Verify a claimed fix against production before repeating it. Three broken URLs I was still citing from a month-old crawl had already been redirected; I only found out because I re-checked with &lt;code&gt;curl&lt;/code&gt; instead of trusting my notes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The uncomfortable conclusion is that for a new domain in a crowded category, indexing is downstream of being referenced by someone other than yourself. That is a distribution problem wearing a technical costume.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I work on &lt;a href="https://pinlyx.com" rel="noopener noreferrer"&gt;Pinlyx&lt;/a&gt;, an omnichannel CRM (it was called CRM Solid when this was written). The numbers above are from its marketing site, which is a live and ongoing example of the problem.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>seo</category>
      <category>webdev</category>
      <category>googlecloud</category>
      <category>python</category>
    </item>
    <item>
      <title>Four traps in querying 1.79M Overture Maps records with DuckDB</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Tue, 01 Sep 2026 10:18:27 +0000</pubDate>
      <link>https://dev.to/azorkai/four-traps-in-querying-179m-overture-maps-records-with-duckdb-4231</link>
      <guid>https://dev.to/azorkai/four-traps-in-querying-179m-overture-maps-records-with-duckdb-4231</guid>
      <description>&lt;p&gt;We needed a business directory for Turkey inside our CRM, so we went to&lt;br&gt;
&lt;a href="https://overturemaps.org/" rel="noopener noreferrer"&gt;Overture Maps&lt;/a&gt; places: open, CDLA-Permissive, no API key,&lt;br&gt;
no quota, ~1.8M Turkish records sitting in public GeoParquet on S3.&lt;/p&gt;

&lt;p&gt;Reading it turned out to be the easy part. Here are the four things that actually cost us&lt;br&gt;
time, and the numbers that came out the other end.&lt;/p&gt;
&lt;h2&gt;
  
  
  1. A join against remote parquet does not stream
&lt;/h2&gt;

&lt;p&gt;The obvious query is one statement: read the places theme, read the divisions theme, keep&lt;br&gt;
the rows whose point falls inside a Turkish province.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- Do not do this against S3.&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="nf"&gt;read_parquet&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'s3://.../theme=places/*/*'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;hive_partitioning&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;
&lt;span class="k"&gt;JOIN&lt;/span&gt; &lt;span class="n"&gt;regions&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;ON&lt;/span&gt; &lt;span class="nc"&gt;ST_Within&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;geometry&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;geom&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;country&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'TR'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;DuckDB materialises that join before it emits a single row. Ours sat at &lt;strong&gt;2.5 GB of RAM&lt;br&gt;
and produced nothing after fifteen minutes&lt;/strong&gt;, with no way to tell whether it was making&lt;br&gt;
progress.&lt;/p&gt;

&lt;p&gt;The fix is boring and works: &lt;strong&gt;two stages&lt;/strong&gt;. Stage one pulls the country down with a plain&lt;br&gt;
bounding box and zero spatial work.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TEMP&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt; &lt;span class="n"&gt;places_tr&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;primary&lt;/span&gt;        &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;categories&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;primary&lt;/span&gt;   &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;category&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;websites&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;          &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;website&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;bbox&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ymin&lt;/span&gt;            &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;lat&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;bbox&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xmin&lt;/span&gt;            &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;lon&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;geometry&lt;/span&gt;             &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;geom&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="nf"&gt;read_parquet&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'s3://.../theme=places/*/*'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;hive_partitioning&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;bbox&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xmin&lt;/span&gt; &lt;span class="k"&gt;BETWEEN&lt;/span&gt; &lt;span class="mf"&gt;25.5&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="mf"&gt;45.0&lt;/span&gt;
  &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;bbox&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ymin&lt;/span&gt; &lt;span class="k"&gt;BETWEEN&lt;/span&gt; &lt;span class="mf"&gt;35.7&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="mf"&gt;42.3&lt;/span&gt;
  &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;primary&lt;/span&gt; &lt;span class="k"&gt;IS&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="kc"&gt;NULL&lt;/span&gt;
  &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;operating_status&lt;/span&gt; &lt;span class="k"&gt;IS&lt;/span&gt; &lt;span class="kc"&gt;NULL&lt;/span&gt; &lt;span class="k"&gt;OR&lt;/span&gt; &lt;span class="n"&gt;operating_status&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'closed'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A rectangle over Turkey also sweeps in slivers of Greece, Bulgaria and Georgia. That is&lt;br&gt;
fine, stage two throws them out. Stage two then loops province by province, so each join&lt;br&gt;
touches one polygon and a few thousand candidate rows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;places_tr&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tr_regions&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;region_name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'İzmir'&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="nc"&gt;ST_Within&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;geom&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;geom&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every step is bounded and you can watch it progress. Same result, and the whole run&lt;br&gt;
finishes instead of hanging.&lt;/p&gt;
&lt;h2&gt;
  
  
  2. 81 provinces, 109 polygons
&lt;/h2&gt;

&lt;p&gt;Turkey has 81 provinces. Overture's divisions theme hands you &lt;strong&gt;109&lt;/strong&gt; &lt;code&gt;region&lt;/code&gt; rows for the&lt;br&gt;
country. My first reading was "duplicates": Adana, Antalya and Artvin each arrive twice, so&lt;br&gt;
merge by name and move on. That works, but it hides the real reason, which is in the schema:&lt;br&gt;
every coastal province has a second &lt;code&gt;division_area&lt;/code&gt; row with &lt;code&gt;class = 'maritime'&lt;/code&gt; for its&lt;br&gt;
territorial waters (81 &lt;code&gt;land&lt;/code&gt; + 28 &lt;code&gt;maritime&lt;/code&gt; in release 2026-07-22.0; Antalya's maritime&lt;br&gt;
polygon is larger than its land). If you loop over the raw rows you process those provinces&lt;br&gt;
(and their companies) twice.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TEMP&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt; &lt;span class="n"&gt;tr_regions&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;region_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;ST_Union_Agg&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;geom&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;geom&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;primary&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;region_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;geometry&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;geom&lt;/span&gt;
  &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="nf"&gt;read_parquet&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'.../theme=divisions/*/*'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;hive_partitioning&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;country&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'TR'&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;subtype&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'region'&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;class&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'land'&lt;/span&gt;
    &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;primary&lt;/span&gt; &lt;span class="k"&gt;IS&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="kc"&gt;NULL&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;GROUP&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;region_name&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;class = 'land'&lt;/code&gt; is the fix; the &lt;code&gt;GROUP BY&lt;/code&gt; stays as a guard so downstream code can rely on&lt;br&gt;
exactly one polygon per province name. One line, and it removes a whole class of&lt;br&gt;
double-counting bugs.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The address field will not tell you the province
&lt;/h2&gt;

&lt;p&gt;This is the one worth knowing before you plan anything. Overture's address &lt;code&gt;region&lt;/code&gt; field&lt;br&gt;
is &lt;strong&gt;null on roughly 92% of Turkish records&lt;/strong&gt;, and inconsistent on the rest. There is no&lt;br&gt;
salvaging it. Province has to be assigned geographically, from coordinates.&lt;/p&gt;

&lt;p&gt;And it has to be a real point-in-polygon test, not a bounding box. Province bounding boxes&lt;br&gt;
overlap heavily; picking the smallest containing box puts &lt;strong&gt;central İzmir in Manisa&lt;/strong&gt; and&lt;br&gt;
&lt;strong&gt;central Antalya in Burdur&lt;/strong&gt;. We found that the entertaining way.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Lone surrogates will abort your bulk insert
&lt;/h2&gt;

&lt;p&gt;Loading the results into Postgres with Npgsql's binary &lt;code&gt;COPY&lt;/code&gt;, the batch died on real&lt;br&gt;
company names. The cause: &lt;strong&gt;lone surrogates&lt;/strong&gt;, half of an emoji pair, usually from a&lt;br&gt;
truncated source record. Npgsql's UTF-8 encoder throws on those and takes the whole batch&lt;br&gt;
with it.&lt;/p&gt;

&lt;p&gt;Two details that cost us a second round trip:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Truncating a string to a column width can &lt;em&gt;split&lt;/em&gt; a valid surrogate pair, so sanitising
has to run &lt;strong&gt;after&lt;/strong&gt; truncation, not before.&lt;/li&gt;
&lt;li&gt;Null bytes need dropping outright; Postgres rejects them in text columns.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it bought
&lt;/h2&gt;

&lt;p&gt;Querying Overture's S3 parquet directly from a Turkish host: &lt;strong&gt;277 seconds&lt;/strong&gt; for a single&lt;br&gt;
province. The same query against the local Postgres catalogue: &lt;strong&gt;15 ms&lt;/strong&gt;. That is the&lt;br&gt;
difference between a feature and a batch job.&lt;/p&gt;

&lt;h2&gt;
  
  
  And then the actual finding
&lt;/h2&gt;

&lt;p&gt;With 1,786,700 businesses loaded, we asked how many of them have a website. The field says&lt;br&gt;
&lt;strong&gt;684,496, or 38.3%&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So we requested every one of those addresses. &lt;strong&gt;413,777 answered.&lt;/strong&gt; The rest time out,&lt;br&gt;
refuse the connection, or sit on an expired domain.&lt;/p&gt;

&lt;p&gt;The honest national figure is &lt;strong&gt;23.2%&lt;/strong&gt;: roughly one Turkish business in four can be&lt;br&gt;
reached on the web at all. Meanwhile 542,323 businesses publish a phone number and no&lt;br&gt;
website whatsoever.&lt;/p&gt;

&lt;p&gt;The same gap shows up in the socials array, in the other direction: Overture has Facebook&lt;br&gt;
on 95.3% of Turkish records but Instagram on only ~14k, an artefact of when the source&lt;br&gt;
listings were assembled. Crawling the company websites we could reach found Instagram on&lt;br&gt;
about 36% of them, taking the count to 232,928. &lt;strong&gt;Treat a populated field as a claim, not&lt;br&gt;
a measurement.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The data is open
&lt;/h2&gt;

&lt;p&gt;Everything above is published under CC BY 4.0, province and sector breakdowns included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Report and tables: &lt;a href="https://pinlyx.com/research/turkey-business-digital-report" rel="noopener noreferrer"&gt;pinlyx.com/research/turkey-business-digital-report&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;CSV, JSON and the SQL that produces the figures: &lt;a href="https://github.com/Pinlyx/turkey-business-digital-data" rel="noopener noreferrer"&gt;github.com/Pinlyx/turkey-business-digital-data&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Archived with a DOI: &lt;a href="https://doi.org/10.5281/zenodo.22217770" rel="noopener noreferrer"&gt;10.5281/zenodo.22217770&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are working with Overture in another country, I would genuinely like to know&lt;br&gt;
whether the &lt;code&gt;region&lt;/code&gt; field is as empty there as it is here.&lt;/p&gt;

</description>
      <category>duckdb</category>
      <category>sql</category>
      <category>opendata</category>
      <category>dotnet</category>
    </item>
  </channel>
</rss>
