<?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: Naraya Developer</title>
    <description>The latest articles on DEV Community by Naraya Developer (@naraya_developer_ac9df3b0).</description>
    <link>https://dev.to/naraya_developer_ac9df3b0</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3947260%2Ff6f45c63-d896-4934-b830-0ca27a7e0202.jpg</url>
      <title>DEV Community: Naraya Developer</title>
      <link>https://dev.to/naraya_developer_ac9df3b0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naraya_developer_ac9df3b0"/>
    <language>en</language>
    <item>
      <title># Building Instagram OSINT Projects with HikerAPI</title>
      <dc:creator>Naraya Developer</dc:creator>
      <pubDate>Sat, 23 May 2026 07:22:54 +0000</pubDate>
      <link>https://dev.to/naraya_developer_ac9df3b0/-building-instagram-osint-projects-with-hikerapi-3fpc</link>
      <guid>https://dev.to/naraya_developer_ac9df3b0/-building-instagram-osint-projects-with-hikerapi-3fpc</guid>
      <description>&lt;p&gt;I recently experimented with building an Instagram OSINT project on Linux using Python and HikerAPI. Originally I tried older scraping libraries and unofficial Instagram API wrappers, but many of them were unreliable because Instagram now aggressively blocks automation attempts.&lt;/p&gt;

&lt;p&gt;After some testing, I found that using an external API service like HikerAPI was much more stable for learning and development purposes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I Switched
&lt;/h2&gt;

&lt;p&gt;At first I used tools based on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;instagram-private-api&lt;/li&gt;
&lt;li&gt;old scraping scripts&lt;/li&gt;
&lt;li&gt;login-based automation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The problem was:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;constant login checkpoints&lt;/li&gt;
&lt;li&gt;“bad_password” errors even with correct credentials&lt;/li&gt;
&lt;li&gt;temporary account locks&lt;/li&gt;
&lt;li&gt;broken endpoints&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Modern Instagram protection systems make direct scraping much harder than before.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Setup
&lt;/h2&gt;

&lt;p&gt;I used:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Arch Linux&lt;/li&gt;
&lt;li&gt;Hyprland&lt;/li&gt;
&lt;li&gt;Python virtual environment&lt;/li&gt;
&lt;li&gt;HikerAPI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Creating the virtual environment:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python &lt;span class="nt"&gt;-m&lt;/span&gt; venv venv
&lt;span class="nb"&gt;source &lt;/span&gt;venv/bin/activate.fish
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Installing dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;requests httpx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Basic HikerAPI Example
&lt;/h2&gt;

&lt;p&gt;Here’s a simple request example:&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="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;headers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;x-access-key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;YOUR_KEY&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&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="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://api.hikerapi.com/v2/user/by/username?username=instagram&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&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;print&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="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;A few things became obvious during testing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Old Instagram scraping methods are becoming unreliable.&lt;/li&gt;
&lt;li&gt;API-based approaches are much easier to maintain.&lt;/li&gt;
&lt;li&gt;Using a Python virtual environment on Linux avoids dependency issues.&lt;/li&gt;
&lt;li&gt;Sherlock and other username OSINT tools are still useful alongside APIs.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Tradeoffs
&lt;/h2&gt;

&lt;p&gt;HikerAPI is convenient, but it’s not fully free. You need credits for larger usage. For hobby projects and learning, that may still be easier than constantly fixing broken scrapers.&lt;/p&gt;

&lt;p&gt;Meanwhile, tools like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sherlock&lt;/li&gt;
&lt;li&gt;Maigret&lt;/li&gt;
&lt;li&gt;Google Dorking&lt;/li&gt;
&lt;li&gt;Wayback Machine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;are still excellent for public OSINT workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;This was a fun experiment for learning Python, Linux tooling, and OSINT workflows. If you’re building similar projects, I’d strongly recommend:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;using virtual environments&lt;/li&gt;
&lt;li&gt;avoiding your main Instagram account&lt;/li&gt;
&lt;li&gt;testing on dummy accounts&lt;/li&gt;
&lt;li&gt;learning public OSINT techniques first&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HikerAPI definitely simplified the process compared to older scraping approaches.&lt;/p&gt;

</description>
      <category>python</category>
      <category>api</category>
      <category>webscraping</category>
    </item>
  </channel>
</rss>
