<?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: Jordan Hansen</title>
    <description>The latest articles on DEV Community by Jordan Hansen (@aarmora).</description>
    <link>https://dev.to/aarmora</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%2F123085%2F7608a1d5-0e2b-4973-99c1-83a9f20ffc13.jpg</url>
      <title>DEV Community: Jordan Hansen</title>
      <link>https://dev.to/aarmora</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aarmora"/>
    <language>en</language>
    <item>
      <title>Idaho Secretary of State Business Search</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Fri, 19 Nov 2021 15:19:41 +0000</pubDate>
      <link>https://dev.to/aarmora/idaho-secretary-of-state-business-search-2gmd</link>
      <guid>https://dev.to/aarmora/idaho-secretary-of-state-business-search-2gmd</guid>
      <description>&lt;p&gt;The Idaho Secretary of State business search is a great search that has many different search options. You can search for any kind of registered business entity, such as LLC, corporations, or partnerships.&lt;/p&gt;

&lt;p&gt;Plus, it’s where I live. Home sweet home!&lt;/p&gt;

&lt;p&gt;Here is the &lt;a href="https://sosbiz.idaho.gov/search/business"&gt;official search page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you want a way to search for a business in any state, please feel free to use our &lt;a href="https://cobaltintelligence.com/verify-a-business"&gt;verify a business tool here&lt;/a&gt;, free of charge. It looks a little like this. It allows you to also easily copy and download the data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-29.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fUEJMb4K--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-29.png%3Fresize%3D640%252C481%26ssl%3D1" alt="Cobalt Intelligence verify a business in Idaho" width="640" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While it is not required to be registered with the ID Secretary of State to do smaller business before you do anything like open a business checking account or get a business loan, you must register with the state. Because it is public you can find business owner information for any business registered in the state of Idaho.&lt;/p&gt;

&lt;h2&gt;
  
  
  I rate it 8 out of 10
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Pros&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search by registered agent&lt;/li&gt;
&lt;li&gt;Search by filing date range&lt;/li&gt;
&lt;li&gt;Can view filed documents&lt;/li&gt;
&lt;li&gt;Can search by active status&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Cons&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One of the few states that doesn’t allow you to search by entity id&lt;/li&gt;
&lt;li&gt;Can’t search by officer&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Idaho Secretary of State Entity Search
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-30.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3-BeVBXG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-30.png%3Fresize%3D640%252C477%26ssl%3D1" alt="Idaho secretary of state business search advanced" width="640" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here it is. Of course, I searched for “pizza”. The results came back very fast at .160 seconds. Here’s what the results look like:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-31.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OAQ7qjMe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-31.png%3Fresize%3D640%252C428%26ssl%3D1" alt="Idaho secretary of state search results" width="640" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All the normal, helpful stuff like Business name, status, filing date, and agent. I’m not sure the different between “Active-Current” and “Active-Good Standing”. Both of those sound good.&lt;/p&gt;

&lt;p&gt;Selecting a business opens a side panel with the details of the business.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-32.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zaxZHAwQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-32.png%3Fresize%3D640%252C481%26ssl%3D1" alt="Details page for Idaho secretary of state business search" width="640" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It doesn’t list officer information but other than that all relevant information is there.&lt;/p&gt;

&lt;p&gt;Now, let’s try the agent search.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-33.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Oztq2ABC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-33.png%3Fresize%3D640%252C520%26ssl%3D1" alt="search by registered agent" width="640" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Okay, it’s the same. The registered agent won’t always be the officer but it’s kind of close if you’re looking to search by owner.&lt;/p&gt;

&lt;p&gt;Document information looks like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-34.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Q-6otFAG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-34.png%3Fresize%3D640%252C261%26ssl%3D1" alt="Document information" width="640" height="261"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you were desperate to find officer information you could get it from the “Initial Filing” or “Annual Report”. Annual reports look like they track owner change.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-35.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6ioM1gtZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-35.png%3Fresize%3D640%252C190%26ssl%3D1" alt="Annual report information" width="640" height="190"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And that’s Idaho’s Secretary of State business search.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extra Credit
&lt;/h2&gt;

&lt;p&gt;For all of my power users out there. You can access any of this business data via API. This can be handy for things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Business verification&lt;/li&gt;
&lt;li&gt;KYC/KYB (know your business) anti-money laundering&lt;/li&gt;
&lt;li&gt;Business credit check&lt;/li&gt;
&lt;li&gt;Finding business owner information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s as simple as this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let url = `https://apigateway.cobaltintelligence.com/v1/search?searchQuery=${encodeURIComponent(businessName)}&amp;amp;state=${state}`;

const axiosResponse = await axios.get(url, {
    headers: {
        'x-api-key': this.apiKey
    }
});

return axiosResponse.data;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://cobaltintelligence.com/secretary-of-state"&gt;Get a free Secretary of State API key here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For more technical Idaho scraping tutorials, check it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://cobaltintelligence.com/blog/idaho-secretary-of-state-business-data-via-api/"&gt;Idaho Secretary of State business data via API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cobaltintelligence.com/blog/jordan-scrapes-secretary-of-states-idaho/"&gt;Jordan Scrapes Secretary of States: Idaho&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The post &lt;a href="https://cobaltintelligence.com/blog/idaho-secretary-of-state-business-search/"&gt;Idaho Secretary of State Business Search&lt;/a&gt; appeared first on &lt;a href="https://cobaltintelligence.com/blog"&gt;Cobalt Intelligence&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>secretaryofstate</category>
      <category>idahosecretaryofstat</category>
    </item>
    <item>
      <title>Indiana Secretary of State Business Search</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Thu, 18 Nov 2021 23:30:26 +0000</pubDate>
      <link>https://dev.to/aarmora/indiana-secretary-of-state-business-search-h4f</link>
      <guid>https://dev.to/aarmora/indiana-secretary-of-state-business-search-h4f</guid>
      <description>&lt;p&gt;The Indiana Secretary of State business search is a great search that has many different search options. You can search for any kind of registered business entity, such as LLC, corporations, or partnerships.&lt;/p&gt;

&lt;p&gt;Here is the &lt;a href="https://bsd.sos.in.gov/publicbusinesssearch"&gt;official search page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you want a way to search for a business in any state, please feel free to use our &lt;a href="https://cobaltintelligence.com/verify-a-business"&gt;verify a business tool here&lt;/a&gt;, free of charge. It looks a little like this. It allows you to also easily copy and download the data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-24.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--K1OUg3qY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-24.png%3Fresize%3D640%252C627%26ssl%3D1" alt="Cobalt intelligence verify an Indiana business" width="640" height="627"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While it is not required to be registered with the IN Secretary of State to do smaller business before you do anything like open a business checking account or get a business loan, you must register with the state. Because it is public you can find business owner information for any business registered in the state of Indiana.&lt;/p&gt;

&lt;h2&gt;
  
  
  I rate it 7 out of 10
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search by officer and registered agent&lt;/li&gt;
&lt;li&gt;Search by other neat things like entity status and entity type&lt;/li&gt;
&lt;li&gt;View officers and documents from details page&lt;/li&gt;
&lt;li&gt;Search UI is pretty&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Cons&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;reCaptcha on every search is a pain&lt;/li&gt;
&lt;li&gt;Some searches can take a LONG time&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Indiana Secretary of State Entity Search
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-23.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GmP2XBlC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-23.png%3Fresize%3D640%252C538%26ssl%3D1" alt="Indiana Secretary of State business search" width="640" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Look how pretty the Indiana Secretary of State business search is! There are quite a few search options, including search by the registered agent and officer/incorporator/governing person.&lt;/p&gt;

&lt;p&gt;Let’s give it a try. The captcha is always kind of a pain but every time I checked this one I didn’t have to select any images. The load time took 2.21 seconds. Here are the results:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-25.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rVYaSmlV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-25.png%3Fresize%3D640%252C398%26ssl%3D1" alt="Indiana search results when searching for pizza" width="640" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is quite a bit of information here. The most important things are probably the business name, type, and status. It’s nice to also have the office address, I guess. Maybe if you wanted to find one close to you?&lt;/p&gt;

&lt;p&gt;Here’s what it looks like when I enter the details page. It has more business detail information, including filing date, and then great information such as officer and registered agent data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eqcK8oKF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-26.png%3Fresize%3D640%252C298%26ssl%3D1" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eqcK8oKF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-26.png%3Fresize%3D640%252C298%26ssl%3D1" alt="Indiana Secretary of State details page" width="640" height="298"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It also has a section here for business documents such as Articles of Organization and what looks like an annual Business Entity Report.&lt;/p&gt;

&lt;p&gt;I did open up an Articles of Organization and it didn’t look like it had any cool information like phone numbers or email addresses.&lt;/p&gt;

&lt;h2&gt;
  
  
  Search by Incorporator
&lt;/h2&gt;

&lt;p&gt;Now to try out the search by incorporator. I searched by “Frank” and it took a lot longer to load at 1.2 minutes!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-27.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nFvdxuG9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-27.png%3Fresize%3D640%252C281%26ssl%3D1" alt="Search results when searching by the organizer/incorporator" width="640" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And…the results look the same. 10k+ results, though! No wonder it took so long to load. The interesting thing is not all of these results are loaded right now. If I hit the next page button it still takes forever to load page two. Ouch.&lt;/p&gt;

&lt;p&gt;And that’s about it for Indiana.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extra Credit
&lt;/h2&gt;

&lt;p&gt;For all of my power users out there. You can access any of this business data via API. This can be handy for things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Business verification&lt;/li&gt;
&lt;li&gt;KYC/KYB (know your business) anti-money laundering&lt;/li&gt;
&lt;li&gt;Business credit check&lt;/li&gt;
&lt;li&gt;Finding business owner information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s as simple as this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let url = `https://apigateway.cobaltintelligence.com/v1/search?searchQuery=${encodeURIComponent(businessName)}&amp;amp;state=${state}`;

const axiosResponse = await axios.get(url, {
    headers: {
        'x-api-key': this.apiKey
    }
});

return axiosResponse.data;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://cobaltintelligence.com/secretary-of-state"&gt;Get a free Secretary of State API key here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Here are some technical posts on how to get information from the Indiana Secretary of State:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://cobaltintelligence.com/blog/getting-officers-and-documents-from-indianas-secretary-of-state/"&gt;Getting officers and documents from Indiana’s Secretary of State&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cobaltintelligence.com/blog/scraping-the-indiana-secretary-of-state-for-business-data/"&gt;Scraping the Indiana Secretary of State for business data&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cobaltintelligence.com/blog/indiana-secretary-of-state-business-data-via-api/"&gt;Indiana Secretary of State business data via API&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The post &lt;a href="https://cobaltintelligence.com/blog/indiana-secretary-of-state-business-search/"&gt;Indiana Secretary of State Business Search&lt;/a&gt; appeared first on &lt;a href="https://cobaltintelligence.com/blog"&gt;Cobalt Intelligence&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>secretaryofstate</category>
      <category>indianasecretaryofst</category>
    </item>
    <item>
      <title>Oklahoma Secretary of State Business Search</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Thu, 18 Nov 2021 14:14:23 +0000</pubDate>
      <link>https://dev.to/aarmora/oklahoma-secretary-of-state-business-search-17a9</link>
      <guid>https://dev.to/aarmora/oklahoma-secretary-of-state-business-search-17a9</guid>
      <description>&lt;p&gt;Welcome to the page that is going to talk all about the Oklahoma Secretary of State business search. First point. Should Secretary of State be capitalized? I do not know.&lt;/p&gt;

&lt;p&gt;The Oklahoma Secretary of State entity search will allow you to search for LLCs, corporations, partnerships, or any other entity that is registered with the state of Oklahoma. Here is the &lt;a href="https://www.sos.ok.gov/corp/corpInquiryFind.aspx"&gt;official search page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you want a way to search for a business in any state, please feel free to use our &lt;a href="https://cobaltintelligence.com/verify-a-business"&gt;verify a business tool here&lt;/a&gt;, free of charge. It looks a little like this. It allows you to also easily copy and download the data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-9.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EIBQfT_M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-9.png%3Fresize%3D640%252C464%26ssl%3D1" alt="cobalt intelligence verify a business free search tool" width="640" height="464"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Oklahoma Secretary of State Entity Search
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-10.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7DVjIQLe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-10.png%3Fresize%3D640%252C459%26ssl%3D1" alt="oklahoma secretary of state business search, advanced" width="640" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using the Oklahoma Secretary of State business search The advanced search may not look as fancy as other states but it does allow to do quite a bit, including search by active status, check business name availability, and search by individual name.&lt;/p&gt;

&lt;p&gt;Making my search for “pizza” with active businesses only took 2.32 seconds. Not too bad. Here’s the list.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-11.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1cA5icss--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-11.png%3Fresize%3D640%252C847%26ssl%3D1" alt="ok secretary of state business search results" width="640" height="847"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Classic information here. Entity type, status, and registered agent. I find it interesting here that it has a “Name Type” field. I’m not sure what that means. I haven’t ever seen it return anything other than “Tradename”.&lt;/p&gt;

&lt;p&gt;Clicking the filing number takes us into the details page. It is one of the more sparse details page.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-12.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A4PKVD8g--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-12.png%3Fresize%3D640%252C478%26ssl%3D1" alt="Oklahoma business details from the Secretary of State" width="640" height="478"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This business is supposedly active but you can see above it has an “OTC Suspension”. I believe this means that the business is currently active and in good status with the Oklahoma Secretary of State but is not in good shape with the Oklahoma Tax Commission.&lt;/p&gt;

&lt;h2&gt;
  
  
  Order Documents?
&lt;/h2&gt;

&lt;p&gt;I clicked in to order documents to see what it would take. It asked for my name and email address and then the documents I wanted. Looks like they charge per document. Ouch.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PDsWqHeq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-13.png%3Fresize%3D640%252C257%26ssl%3D1" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PDsWqHeq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-13.png%3Fresize%3D640%252C257%26ssl%3D1" alt="Oklahoma Secretary of State charges for filed documents" width="640" height="257"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Does something with a charge quality as public under the Freedom of Information Act? I don’t know. I’m sure it started as an administration fee but with this kind of thing being easily fully automated, I wonder how applicable it is.&lt;/p&gt;

&lt;h2&gt;
  
  
  Search by Person Name Weirdness
&lt;/h2&gt;

&lt;p&gt;Searching by person name is an interesting one in Oklahoma. You can do it but the person’s name isn’t visible on the details page. So you end up with a situation like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-14.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t6ZHDcf8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-14.png%3Fresize%3D640%252C283%26ssl%3D1" alt="Oklahoma Secretary of State business search by person name" width="640" height="283"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The owner/officer of this company is “Rosa Anguiano Garcia” but that name doesn’t show up anywhere on the details page. You can see the registered agent name but it is definitely not Rosa.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extra Credit
&lt;/h2&gt;

&lt;p&gt;So you can find out businesses owned by an individual but if you are looking at that same business later, you will not know that they own that business. Registered agent is sometimes the primary officer/owner but it certainly does not have to be.&lt;/p&gt;

&lt;p&gt;For all of my power users out there. You can access any of this business data via API. This can be handy for things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Business verification&lt;/li&gt;
&lt;li&gt;KYC/KYB (know your business) anti-money laundering&lt;/li&gt;
&lt;li&gt;Business credit check&lt;/li&gt;
&lt;li&gt;Finding business owner information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s as simple as this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let url = `https://apigateway.cobaltintelligence.com/v1/search?searchQuery=${encodeURIComponent(businessName)}&amp;amp;state=${state}`;

const axiosResponse = await axios.get(url, {
    headers: {
        'x-api-key': this.apiKey
    }
});

return axiosResponse.data;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://cobaltintelligence.com/secretary-of-state"&gt;Get a free Secretary of State API key here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Want know how to do some web scraping of the Oklahoma Secretary of State, here’s a helpful video.&lt;/p&gt;

&lt;p&gt;And if you are looking to learn how to get newly registered businesses with the state of Oklahoma, here it is:&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://cobaltintelligence.com/blog/oklahoma-secretary-of-state-business-search/"&gt;Oklahoma Secretary of State Business Search&lt;/a&gt; appeared first on &lt;a href="https://cobaltintelligence.com/blog"&gt;Cobalt Intelligence&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>secretaryofstate</category>
      <category>oklahomasecrtaryofst</category>
    </item>
    <item>
      <title>Mississippi Secretary of State Business Search</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Thu, 18 Nov 2021 12:38:19 +0000</pubDate>
      <link>https://dev.to/aarmora/mississippi-secretary-of-state-business-search-417a</link>
      <guid>https://dev.to/aarmora/mississippi-secretary-of-state-business-search-417a</guid>
      <description>&lt;p&gt;The Mississippi Secretary of State business search is a great search that has many different search options. You can search for any kind of registered business entity, such as LLC, corporations, or partnerships.&lt;/p&gt;

&lt;p&gt;Here is the &lt;a href="https://corp.sos.ms.gov/corp/portal/c/page/corpbusinessidsearch/portal.aspx"&gt;official search page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you want a way to search for a business in any state, please feel free to use our &lt;a href="https://cobaltintelligence.com/verify-a-business"&gt;verify a business tool here&lt;/a&gt;, free of charge. It looks a little like this. It allows you to also easily copy and download the data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-5.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HAfoVxcI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-5.png%3Fresize%3D640%252C473%26ssl%3D1" alt="cobalt intelligence verify a business mississippi business search" width="640" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While it is not required to be registered with the MS Secretary of State to do smaller business before you do anything like open a business checking account or get a business loan, you must register with the state. Because it is public you can find business owner information for any business registered in the state of Mississippi.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mississippi Secretary of State Entity Search
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-2.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kmZvPaXc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-2.png%3Fresize%3D640%252C169%26ssl%3D1" alt="picture of mississippi's secretary of state business search" width="640" height="169"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let’s start searching! I started off searching for pizza. The results came back fast, in maybe 1.5 seconds. Check out the list.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-3.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bMNqgBp5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-3.png%3Fresize%3D640%252C467%26ssl%3D1" alt="mississippi secretary of state business search results for pizza query" width="640" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can see that from their results page it lists a lot of helpful information, notably the entity type, status, and its initial filing date. I especially like that last one, “Pizza Doctor, LLC”. Let’s check that one out.&lt;/p&gt;

&lt;p&gt;Clicking the “Details” button opens a modal with additional business information.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-4.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--krrzFyn7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-4.png%3Fresize%3D640%252C566%26ssl%3D1" alt='mississippi business details as a result of a "pizza" search' width="640" height="566"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This has it all. Business address as well as the address of the officers and the registered agent.&lt;/p&gt;

&lt;p&gt;For clarification, a &lt;strong&gt;registered agent is someone who is responsible for receiving legal documents&lt;/strong&gt;. This is often the owner but can also be a third party service, accountant, or lawyer. Officers and directors would be the main decisions makers for the business.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other Cool Stuff
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hn67UM76--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-6.png%3Fresize%3D640%252C199%26ssl%3D1" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hn67UM76--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i1.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-6.png%3Fresize%3D640%252C199%26ssl%3D1" alt="mississippi documents and email notifications" width="640" height="199"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Mississippi also allows you to view all documents that have been filed with the state. This has things like the articles of organization and annual reports.&lt;/p&gt;

&lt;p&gt;Now, let’s real talk. If you open up the filed documents and look for a formation form, you’ll see something interesting in it. A nice, plump business email address for the ower. I blurred it out here. I don’t know why, it’s public information. If you want it, go get it!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-7.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GZYVJzDf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i0.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-7.png%3Fresize%3D640%252C349%26ssl%3D1" alt="business email addresses are available in filed documents" width="640" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One other noteworthy thing is the ability to opt-in to email updates. This is a good way to keep track of when a business has gone delinquent or has become active. Thanks, Mississippi!&lt;/p&gt;

&lt;h2&gt;
  
  
  Find Business Owner Information
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-8.png?ssl=1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3-08xnMc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i2.wp.com/cobaltintelligence.com/blog/wp-content/uploads/2021/11/image-8.png%3Fresize%3D640%252C291%26ssl%3D1" alt='Find business owner information in Mississippi with their "search by officer name" feature.' width="640" height="291"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Mississippi offers some different search options compared to other Secretary of States. Some states have the option to search by date range and entity status (looking at you, &lt;a href="https://cobaltintelligence.com/blog/washington-secretary-of-state-business-data-via-api/"&gt;Washington&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Mississippi has the cool ability to search by both Officer Name and Registered agent. This is a handy feature if you’re looking all of the businesses that an individual might own or be a part of.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extra Credit
&lt;/h2&gt;

&lt;p&gt;For all of my power users out there. You can access any of this business data via API. This can be handy for things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Business verification&lt;/li&gt;
&lt;li&gt;KYC/KYB (know your business) anti-money laundering&lt;/li&gt;
&lt;li&gt;Business credit check&lt;/li&gt;
&lt;li&gt;Finding business owner information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s as simple as this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let url = `https://apigateway.cobaltintelligence.com/v1/search?searchQuery=${encodeURIComponent(businessName)}&amp;amp;state=${state}`;

const axiosResponse = await axios.get(url, {
    headers: {
        'x-api-key': this.apiKey
    }
});

return axiosResponse.data;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://cobaltintelligence.com/secretary-of-state"&gt;Get a free Secretary of State API key here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://cobaltintelligence.com/blog/mississippi-secretary-of-state-business-search/"&gt;Mississippi Secretary of State Business Search&lt;/a&gt; appeared first on &lt;a href="https://cobaltintelligence.com/blog"&gt;Cobalt Intelligence&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>secretaryofstate</category>
      <category>mississippisecretary</category>
      <category>stateexample</category>
    </item>
    <item>
      <title>Getting great New Hampshire business leads</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Thu, 14 Oct 2021 20:00:53 +0000</pubDate>
      <link>https://dev.to/aarmora/getting-great-new-hampshire-business-leads-159k</link>
      <guid>https://dev.to/aarmora/getting-great-new-hampshire-business-leads-159k</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/cobalt-intelligence/nh-sos-and-sos-api"&gt;Demo code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;New Hampshire, today we come to vanquish you (in terms of getting business leads from you).&lt;/p&gt;

&lt;h2&gt;
  
  
  New Hampshire Secretary of State
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-4.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0ButLxhn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-4.png" alt="new hampshire secretary of state business search"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Not a particularly robust search, &lt;a href="https://quickstart.sos.nh.gov/online/BusinessInquire"&gt;New Hampshire’s business search&lt;/a&gt; allows you to search by business name with a “Contains” filter. It also has a captcha, which makes us to have to be a bit more creative with our web scraping.&lt;/p&gt;

&lt;p&gt;Side note. There are tools that you can use to solve captchas in an automated fashion. I use 2captcha and am really happy with it. In fact, I’ve solved 85,516 captchas with them over the last 6 months.  &lt;/p&gt;

&lt;p&gt;Check them out with my shiny affiliate link here – &lt;a href="https://2captcha.com?from=7390140"&gt;https://2captcha.com?from=7390140&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While we’re going to do the first step of this process: seeing how many pages of results we’re going to get.&lt;/p&gt;

&lt;p&gt;So we type in the industry/keyword we are looking to target, select contains, and enter the captcha (remember, it is case sensitive). Hitting search after will give us our results after a short load time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-5.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DdvFhGsK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-5.png" alt="new hampshire business leads results"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There. Searching for pizza returned 2,150 results and, more importantly for our purpose here, &lt;strong&gt;86 pages.&lt;/strong&gt; Make note of that!&lt;/p&gt;

&lt;h2&gt;
  
  
  Code setup
&lt;/h2&gt;

&lt;p&gt;This is the part where it’s going to take a little bit of code. You will need to download &lt;a href="https://git-scm.com/downloads"&gt;git&lt;/a&gt; and &lt;a href="https://nodejs.org/en/download/"&gt;Nodejs&lt;/a&gt; in order to make this work and not be too intimidated by code. It also would be helpful to have some kind of code editor, such as &lt;a href="https://code.visualstudio.com/download"&gt;VS Code&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Once you have those go sign up for a free API key &lt;a href="https://cobaltintelligence.com/secretary-of-state"&gt;here&lt;/a&gt;. Right now Cobalt Intelligence gives 100 free requests per month and after that it’s very inexpensive for additional requests.&lt;/p&gt;

&lt;p&gt;Now, clone the code from the &lt;a href="https://github.com/cobalt-intelligence/nh-sos-and-sos-api"&gt;github respository&lt;/a&gt;, install all dependencies with &lt;code&gt;npm i&lt;/code&gt;, and open the code in VS code.&lt;/p&gt;

&lt;p&gt;Once you’ve signed in you’ll have an API key. Copy it from here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-2.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wWqeIeii--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-2.png" alt="cobalt intelligence api key"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With that API key, we’ll want to open &lt;code&gt;.sample.env&lt;/code&gt; and replace the dummy API key in there with your actual API key.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-3.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SWpgyB7K--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-3.png" alt="renaming .sample.env"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Run that code!
&lt;/h2&gt;

&lt;p&gt;Now our code should be all set. We need to make sure to go and update the number of iterations based on the number of pages that we remembered from above.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-6.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dZ9PT9AX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-6.png" alt=""&gt;&lt;/a&gt;Update this to the number of pages&lt;/p&gt;

&lt;p&gt;With that updated we make sure that &lt;code&gt;await getAllBusinesses(fileName);&lt;/code&gt; is commented in. It should look like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-7.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--j3p3Ok8k--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-7.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Run that baby with &lt;code&gt;npm start&lt;/code&gt;. This will start Puppeteer and open a browser. You have 30 seconds to enter the keyword you are looking for, select “Contains”, do the captcha, and click on search. After that, the code will take over and do the rest. It’ll take a bit of time depending on how many pages your keyword has. So, go get some snickers or take a nap.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2 of code: Getting the business leads
&lt;/h2&gt;

&lt;p&gt;Okay, so the above part of the script will give us a list businesses in New Hampshire that are “Active” or in “Good Standing”. Now we need to run it through the Secretary of State API to get the owner information and contact information.&lt;/p&gt;

&lt;p&gt;All you need to do is comment out the &lt;code&gt;await getAllBusinesses(fileName);&lt;/code&gt; line and comment in the &lt;code&gt;await getBusinessDetails(fileName);&lt;/code&gt; line. It should look like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-8.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IlNkDRQm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-8.png" alt="running getBusinessDetails"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This will run the rest of the code against the Secretary of State API. This could also take some time so let it run. When you get back, you should see a CSV that has the leads you’re looking for. Use it and love it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/cobalt-intelligence/nh-sos-and-sos-api"&gt;Demo code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And here we have the video transcript:&lt;/p&gt;

&lt;p&gt;Hello there. My name is Jordan Hansen. I’m from cobalt intelligence. And today I’m going to talk a little bit more about getting business data from New Hampshire. It’s gonna be a little bit different today. It’s going to be kind of a trick where we’re going to try to see, oh, how many businesses can. From New Hampshire from a specific category or keyword.&lt;/p&gt;

&lt;p&gt;And the cool thing is New Hampshire. We can get through the secretary of state API here that cobalt intelligence provides. And I’m with Coldwell intelligence, you can get email addresses and phone numbers, so you can find the owner of the business and then be able to reach out to them with good contact information.&lt;/p&gt;

&lt;p&gt;So here’s the New Hampshire secretary of state they have. It’s pretty simple. It’s not as cool as robust as some of the other ones we’ve seen to start off with. We want to go over here and. Total. We want to pick a category so we could say something like, um, let’s say we want rush or pizza pizza places or, Hmm, what’s another good one.&lt;/p&gt;

&lt;p&gt;Um, insurance, let’s say insurance agents scare. We go over here like this, we say SDN about this capture hat and case sensitive case in CV matters here. And you hit search. Now it’s going to come over here. This is the first step you have to do. You have to come over and search for what you want, and you have to look at how many pages there are.&lt;/p&gt;

&lt;p&gt;So for this one, there’s 238 pages. So you scroll down here to this part right here, need to update the end of the loop to match the number of pages. What do you say? We make that font even bigger. There we go. Pages. So this one would go the two them. Like that now that’s too many for this demo. Cause that will take hours, maybe hours.&lt;/p&gt;

&lt;p&gt;I dunno a while it take a while. So what we’re going to do is we’re going to just search for something weird. We’ll just say sword, let’s say eight H N V K. We’ll search for it.&lt;/p&gt;

&lt;p&gt;There we go. And our total of two, two pages. Okay. That makes easier. And now, now we’re gonna let the thing do its work. So this code will be, there’s a link to this code in the comments. You can go ahead and clone it and use it. Come over here. Once you update that page, the first thing is to do is update the length of the pages right there, and then you run it and it’s going to pop up.&lt;/p&gt;

&lt;p&gt;I have this browser, it’s going to use puppet here. It’s going to pop up something we’re going to have to type in some stuff like the capture and what we’re searching for. Can we come over here work and we’ve got a sword having a capture eight, you had 30 seconds to do this G to D J search. And then once it gets it, it’ll go ahead and start paginating until the end.&lt;/p&gt;

&lt;p&gt;So right there, bam. So you just got the first businesses. It’s going to the next one. Oh, sorry. It’s going to start in the first one right here. I give it 10 seconds for the page to load. Cause I can’t really tell what each one is. So it’s going to be 10 seconds between each page. And they’ve seen now it’s on the second one and you can see over here, see, it’s collecting the database IDs, all these businesses bam done.&lt;/p&gt;

&lt;p&gt;So we found all these businesses right here. It actually only found eight. Now that may be weird, like, oh, why are there only eight? Well, I’m filtering out by ones that are active or in good state. If you didn’t want that, you could come over here and we move this if statement, um, and then you wouldn’t have a problem, right?&lt;/p&gt;

&lt;p&gt;So you come over here and say, okay, active, good standing, whatever. So now that we have those, now we use the secretary of state EPA. Now you have to get an API K for the, you have to get an API key first, come over here to cobalt intelligence, get a free API key. It costs per request, but you get three requests per month.&lt;/p&gt;

&lt;p&gt;So you can come over and use those if you want. Um, I didn’t want to print like this. You go over to the sample that in file right here. No update your API key in here and you’ll rename this file to dot M right there. So we put the APA API key in there. Then you just run this thing right here. And what that’ll do is that an open up the file that we just created oh, right down here to open the file and then it’s going to loop through them all.&lt;/p&gt;

&lt;p&gt;And it’s going to get the data for those ones, these specific ones. So everything you can find for these active. So, and it’s going to filter them out based on the ones that have email addresses. So if there’s no email address or if it says none, that’s not going to push it into the CSV. So now we go over here, we run this guy.&lt;/p&gt;

&lt;p&gt;Yep. Wait, give business details. Here we go. Ready? It’s going. There’s eight total. That’s correct. Now it should start looping. Bam. We got data, data, data, right? Looking good. Looking. Okay. So that means four businesses because four of them have email addresses. You can look over here, this one, no email address.&lt;/p&gt;

&lt;p&gt;So we didn’t push it in there. We’re not interested. Maybe you are. And then you could change that if condition, no email address on that one, but there is one here. It looks you right there. And there was one here and there is one. So that’s there we go. So we’re getting email addresses now we’re done. So we’ll go here full business information.&lt;/p&gt;

&lt;p&gt;You can see them all here with the email addresses. That’s great. And now you can just, uh, you could market to them however you want it or reach out and do whatever you wanted. And this is a way to get targeted business information in the area of New Hampshire. So you just need, um, this code and the cobalt intelligence API key.&lt;/p&gt;

&lt;p&gt;And there you go. Go from there. That’s it. Thank you.&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://cobaltintelligence.com/blog/getting-great-new-hampshire-business-leads/"&gt;Getting great New Hampshire business leads&lt;/a&gt; appeared first on &lt;a href="https://cobaltintelligence.com/blog"&gt;Cobalt Intelligence&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>secretaryofstateapi</category>
      <category>interestingbusinessd</category>
      <category>secretaryofstate</category>
      <category>sosapi</category>
    </item>
    <item>
      <title>Virginia business leads for pennies</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Mon, 11 Oct 2021 06:31:00 +0000</pubDate>
      <link>https://dev.to/aarmora/virginia-business-leads-for-pennies-19lk</link>
      <guid>https://dev.to/aarmora/virginia-business-leads-for-pennies-19lk</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/cobalt-intelligence/va-sos-and-sos-api"&gt;Demo code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The goal is to get some great, targeted Virginia business leads for pennies.&lt;/p&gt;

&lt;p&gt;Here we gooooooooooooooo!&lt;/p&gt;

&lt;h2&gt;
  
  
  Virginia Secretary of State Search
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7uLQPFjV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-1024x767.png" alt="Virginia secretary of state search" width="880" height="659"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://cis.scc.virginia.gov/EntitySearch/Index#"&gt;Virginia Secretary of State search&lt;/a&gt; is incredibly robust. Look at all of the awesome search options you have.&lt;/p&gt;

&lt;p&gt;The options I tend to use are searching by “Contains”, changing the “Entity Status” to “Active”, and possibly changing the “Date of Formation” range.&lt;/p&gt;

&lt;p&gt;Searching a large amount will bring up a prompt that asks if you want to few all results. You definitely want to say “yes” to this! It will take longer to load but you want all of the results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-1.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--krGJeiHp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-1.png" alt="" width="880" height="412"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you see the results, you’ll want to go down to where the magic happens, &lt;strong&gt;the export to CSV button.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Click it and it will start working on your download. The bigger the list the longer it takes to process and download. But I have downloaded 10s of thousands of businesses without any problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  To the code!
&lt;/h2&gt;

&lt;p&gt;This is the part where it’s going to take a little bit of code. You will need to download &lt;a href="https://git-scm.com/downloads"&gt;git&lt;/a&gt; and &lt;a href="https://nodejs.org/en/download/"&gt;Nodejs&lt;/a&gt; in order to make this work and not be too intimidated by code. It also would be helpful to have some kind of code editor, such as &lt;a href="https://code.visualstudio.com/download"&gt;VS Code&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Once you have those go sign up for a free API key &lt;a href="https://cobaltintelligence.com/secretary-of-state"&gt;here&lt;/a&gt;. Right now Cobalt Intelligence gives 100 free requests per month and after that it’s very inexpensive for additional requests.&lt;/p&gt;

&lt;p&gt;Now, clone the code from the &lt;a href="https://github.com/cobalt-intelligence/va-sos-and-sos-api"&gt;github respository&lt;/a&gt;, install all dependencies with &lt;code&gt;npm i&lt;/code&gt;, and open the code in VS code.&lt;/p&gt;

&lt;p&gt;Once you’ve signed in you’ll have an API key. Copy it from here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-2.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wWqeIeii--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-2.png" alt="" width="681" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With that API key, we’ll want to open &lt;code&gt;.sample.env&lt;/code&gt; and replace the dummy API key in there with your actual API key.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-3.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SWpgyB7K--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cobaltintelligence.com/blog/wp-content/uploads/2021/10/image-3.png" alt="" width="625" height="209"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now copy the file you downloaded from the Virginia Secretary of State into the base folder of the repository we cloned above. Change the file name in &lt;code&gt;src/index.ts&lt;/code&gt; in this line (it’ll be towards the top) &lt;code&gt;const businesses = await csvtojson().fromFile('pizza businesses.csv');&lt;/code&gt; to be whatever your file name is that you downloaded (probably something like “Search Results.csv”).&lt;/p&gt;

&lt;p&gt;If you want to get fancy, you can also change the ouput file name towards the bottom where it says &lt;code&gt;fs.writeFileSync('Full pizza businesses found.csv', csv);&lt;/code&gt; to whatever you want your csv file to be named.&lt;/p&gt;

&lt;p&gt;Now…just run &lt;code&gt;npm start&lt;/code&gt;. It’ll take some time to process the whole file depending on how many results you have. I wouldn’t be surprised if it was 7-10 seconds per business in that list. It will log out it’s progress as it goes with each business it finds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Once it’s complete you’ll have a newly created file full of emails and phone numbers.&lt;/p&gt;

&lt;p&gt;What now?&lt;/p&gt;

&lt;p&gt;Well, reach out to them! Make their lives better with your awesome product!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/Q81NcsY6YxK7jxnr4v/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/Q81NcsY6YxK7jxnr4v/giphy.gif" alt="" width="480" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Video Transcript:&lt;/p&gt;

&lt;p&gt;All right. Good morning. Um, hello, how you doing? I’m Jordan Hanson. I’m from cobalt intelligence. Today. We are going to show some cool tricks of how to get some cool business data from the Virginia secretary of state. And if you combine it with the cobalt intelligence secretary of state API, you can get cool contact information.&lt;/p&gt;

&lt;p&gt;Um, now again, this is where it is. You need API key I’m over here. You will need an API key to be able to do this today. Um, you can get a free API. It comes with a hundred requests per month. Um, so let’s go over here to Virginia and show how this works. Okay. So Virginia is a cool state that allows you to do cool things like their search is really good.&lt;/p&gt;

&lt;p&gt;Um, you can search by all bunch of different things. And today I’m going to search by, let’s say, I’m going to search by contains. I’m going to search by, I would say, really have a product that’s really good for, uh, video games. Let’s see how many businesses have video. You’re gaming, maybe in the title, let’s see, it’s a C and I want them to be active.&lt;/p&gt;

&lt;p&gt;I want these businesses that are active right here. So you can search, you can search word. I want, which by industry now they’re industry, most people it’s, whatever the individual selects. So a lot of times they just put general. Um, but they have other ones too. There’s insurance, other things like that. So that’s what that video gave me.&lt;/p&gt;

&lt;p&gt;We’re going to look for one that has like 10, we’re looking for a small one just for it to show the sample. But like, I’ve done this with thousands before. You can do it without any problems. So it takes a little bit of time for, to search. But what we’re going to do, and I’m going to have the code. I have the code over here, what we’re going to do.&lt;/p&gt;

&lt;p&gt;And, um, we’re going to, uh, this could be public. We’ll have the repository out there so you can really just clone it, put your API key in it and run it. Okay. Well, we have one. I wanted more than that. That’s go a little more. Let’s get more than that. What we’ll do is we’ll go like. Pizza and we’ll do it. We want him to have the word pizza and it’s going to be active and we’re going to formation data of in the last, um, since August 1st of this year.&lt;/p&gt;

&lt;p&gt;So two months and see how big we get. We do have a fair amount. 26. Okay. 26. Now look at the bottom here. This is the cool part. And then here, you can see, you can see the export buttons right here. Now we want to export to a CSV. So this is cool. This will give us a list of all the businesses in a CSV, and you can download all of them.&lt;/p&gt;

&lt;p&gt;Like it says it’s limited to 5,000 records export, obviously for PBS. So I’ve exported thousands. You can have 11,000 records, whatever. Any of that that’s put over here, we’re going to go like this. There’s our results. See. All the cool pizza companies right here. And then what we’re going to do&lt;/p&gt;

&lt;p&gt;is we’re gonna come over here and we’re going to rename it to, um, pizza, pizza businesses&lt;/p&gt;

&lt;p&gt;right there, and then we’re gonna call it what’d I call that yeah. Pizza businesses, all lower case. Uh, businesses. Okay. So then I got my list. So we’re going to come over here. We’re going to use this package called CSP. The J shot. Jason wants me to take the CSV. It’s going to convert it into an array of Jason objects, and then we’re going to come down.&lt;/p&gt;

&lt;p&gt;It’s going to loop through the businesses. Uh, first we’re initialized the API, which we’ve, um, there’s going to be, I have loads of guides of how to use the API, but we’re going to import it from the cobalt and SDK. I’m a pass in my API key. I started here then loop through these businesses and each one I call the API key and I get to get details by SOS ID.&lt;/p&gt;

&lt;p&gt;Now, inside that thing, you can see, we have a entity ID right here, uh, and to ID, right. So we’re looping through we’re passing business entity ID and a state, which is Virginia. Now the cool thing about Virginia, the secretary of state, we can get emails and phone numbers for these items, these places that are really good.&lt;/p&gt;

&lt;p&gt;So let’s run it here and see what we get. So we have 26. It might take a little bit, um, we’ll run it right now. We’ll say, Hey for pizza businesses bound and we’ll go MPM start. Oh, we probably don’t have it. Hold on. Let me read my script here. Yeah, this is a brand new start and we’ll write about TSC and present ampersand node, this index just like that.&lt;/p&gt;

&lt;p&gt;And then we’re going to run it. Now. This will start parsing through this data. Okay. Just kidding. All the time I get it spelled right. I literally spelled it with. How does pizza businesses? I should’ve just left it and we named it cause that style right there, busy misses. All right. So at 26, it’s going to go through a loop through them.&lt;/p&gt;

&lt;p&gt;That’s a whole, we have, now there is some way for advanced people. You can go ahead and do some kind of asynchronous where you can fire up multiple ones, but band looks, you were already going by phone numbers, email addresses right here. There. Email justice. So we can call, you can contact these people and reach out.&lt;/p&gt;

&lt;p&gt;Let’s say we have a really good product for them. Let’s say we want to order pizza from them. We want to check out all these different things with pizza, whatever. Right. So we’ll loop through each one I haven’t set up. So if it has an email and the email is not this N a um, then I’m going to go ahead and push it into my full businesses.&lt;/p&gt;

&lt;p&gt;And then after that, I’m going to put it into this array, but I’m going to convert it to CSV and then put it right into a file. That’s it pretty simple, the very simple way to get in there, get some cool business data for me. What am I doing? Cool business data for Virginia, any industry you’re looking for, insurance, software financing, whatever, what accounting, any of those things, you can get a huge list of them.&lt;/p&gt;

&lt;p&gt;Get email addresses. This is a cool way to do it. So that’s it. This will finish up. It’ll create the CSV. I kinda it’s gotta be close. How many things we’ve done.&lt;/p&gt;

&lt;p&gt;Oh yeah. We’re close to the end. I think we have multiple of these. Oh, maybe let’s see. Sergeant Pepper’s pizza. Oh yeah. We’re close here. 16. So of those 26, we had 16 with good email addresses and now we could talk to them and we doubt and say, Hey, we’ve got this awesome thing we want to talk to you about.&lt;/p&gt;

&lt;p&gt;And we go from there and that, and then we create Lexi right here. Bold pizza businesses. All creative with phone numbers, email addresses. We’re good to go. So that’s it. And this again, this is Jordan Hanson, cobalt intelligence. If you need an API key, go here to cobalt intelligence, get one and, um, uses data.&lt;/p&gt;

&lt;p&gt;Hopefully you can find some really cool stuff. Thanks.&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://cobaltintelligence.com/blog/getting-interesting-business-data-va-and-sos-api/"&gt;Virginia business leads for pennies&lt;/a&gt; appeared first on &lt;a href="https://cobaltintelligence.com/blog"&gt;Cobalt Intelligence&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>secretaryofstateapi</category>
      <category>interestingbusinessd</category>
      <category>secretaryofstate</category>
    </item>
    <item>
      <title>Web scraping the New Hampshire Secretary of State for business leads</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Tue, 07 Sep 2021 12:47:00 +0000</pubDate>
      <link>https://dev.to/aarmora/web-scraping-the-new-hampshire-secretary-of-state-for-business-leads-3feh</link>
      <guid>https://dev.to/aarmora/web-scraping-the-new-hampshire-secretary-of-state-for-business-leads-3feh</guid>
      <description>&lt;p&gt;&lt;a href="https://youtu.be/4z4w5QSE49w"&gt;Full video walkthrough&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This video goes over using Puppeteer to scrape business data from the New Hampshire Secretary of State. New Hampshire has a normal image captcha and we solve this by using 2Captcha.&lt;/p&gt;

&lt;p&gt;This adds getting business data from Nebraska to our Secretary of State API. If you’d like an API key, get one here – &lt;a href="https://cobaltintelligence.com/secretary-of-state"&gt;https://cobaltintelligence.com/secretary-of-state&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’ve used 2Captcha for a few years now and it’s been a great, very affordable service for solving captchas. 2Captcha affiliate link – &lt;a href="https://2captcha.com?from=7390140"&gt;https://2captcha.com?from=7390140&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://cobaltintelligence.com/blog/web-scraping-the-new-hampshire-secretary-of-state-for-business-data/"&gt;Web scraping the New Hampshire Secretary of State for business data&lt;/a&gt; appeared first on &lt;a href="https://cobaltintelligence.com/blog"&gt;Cobalt Intelligence&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webscraping</category>
    </item>
    <item>
      <title>API Key on AWS API Gateway</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Mon, 01 Mar 2021 13:14:00 +0000</pubDate>
      <link>https://dev.to/aarmora/api-key-on-aws-api-gateway-7l3</link>
      <guid>https://dev.to/aarmora/api-key-on-aws-api-gateway-7l3</guid>
      <description>&lt;p&gt;This walks through how to set up an API key on AWS API Gateway. API keys on AWS API Gateway go in tandem with Usage plans. Because of that, I also walk through setting up a Usage plan.&lt;/p&gt;

&lt;p&gt;This all combos with an AWS Lambda function that is called from the AWS API Gateway.&lt;/p&gt;

&lt;p&gt;I am using this on AWS in order to create an API that allows you get business details from Secretary of States around the country.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking for business leads?
&lt;/h2&gt;

&lt;p&gt;Using the techniques talked about here at &lt;a href="https://javascriptwebscrapingguy.com"&gt;javascriptwebscrapingguy.com&lt;/a&gt;, we’ve been able to launch a way to access awesome web data. Learn more at &lt;a href="https://cobaltintelligence.com"&gt;Cobalt Intelligence&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://javascriptwebscrapingguy.com/api-key-on-aws-api-gateway/"&gt;API Key on AWS API Gateway&lt;/a&gt; appeared first on &lt;a href="https://javascriptwebscrapingguy.com"&gt;Javascript Web Scraping Guy&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>aws</category>
    </item>
    <item>
      <title>AWS API Gateway and Lambda</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Mon, 22 Feb 2021 13:21:00 +0000</pubDate>
      <link>https://dev.to/aarmora/aws-api-gateway-and-lambda-52db</link>
      <guid>https://dev.to/aarmora/aws-api-gateway-and-lambda-52db</guid>
      <description>&lt;p&gt;Most of this process is documented really well by AWS here – &lt;a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-as-simple-proxy-for-lambda.html"&gt;https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-as-simple-proxy-for-lambda.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The most important parts that I believe are missed are when it comes to using the custom domain name. You have to set up a CNAME record to the API Gateway domain name shown in the Custom domain names section.&lt;/p&gt;

&lt;p&gt;You do NOT want to point your CNAME to the test URL provided. Also…the stage is only used in the test URL, not the actual one used in your custom domain name API mapping.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking for business leads?
&lt;/h2&gt;

&lt;p&gt;Using the techniques talked about here at &lt;a href="https://javascriptwebscrapingguy.com"&gt;javascriptwebscrapingguy.com&lt;/a&gt;, we’ve been able to launch a way to access awesome web data. Learn more at &lt;a href="https://cobaltintelligence.com"&gt;Cobalt Intelligence&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://javascriptwebscrapingguy.com/aws-api-gateway-and-lambda/"&gt;AWS API Gateway and Lambda&lt;/a&gt; appeared first on &lt;a href="https://javascriptwebscrapingguy.com"&gt;Javascript Web Scraping Guy&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>apigateway</category>
      <category>lambda</category>
    </item>
    <item>
      <title>Puppeteer on Lambda! Updated and better.</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Mon, 15 Feb 2021 13:09:00 +0000</pubDate>
      <link>https://dev.to/aarmora/puppeteer-on-lambda-updated-and-better-3f8m</link>
      <guid>https://dev.to/aarmora/puppeteer-on-lambda-updated-and-better-3f8m</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/aarmora/puppeteer-on-lambda"&gt;Demo code here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Uploading directly to Lambda has a size limit of 50MB.&lt;/p&gt;

&lt;p&gt;This makes it difficult for Puppeteer, which is a very large library. Uploading your code to s3 and then updating your function from there increases this size limit to (I think) 250MB!&lt;/p&gt;

&lt;p&gt;I use 7zip and typescript and here is my scripts that I use to upload to Lambda.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"scripts": {
    "zip": "tsc &amp;amp;&amp;amp; 7z a -r function.zip ./dist/* node_modules/",
    "sendToLambda": "npm run zip &amp;amp;&amp;amp; aws s3 cp function.zip s3://chrome-aws &amp;amp;&amp;amp; aws lambda update-function-code --function-name puppeteer-on-lambda --s3-bucket chrome-aws --s3-key function.zip"
  },
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Looking for business leads?
&lt;/h2&gt;

&lt;p&gt;Using the techniques talked about here at &lt;a href="https://javascriptwebscrapingguy.com"&gt;javascriptwebscrapingguy.com&lt;/a&gt;, we’ve been able to launch a way to access awesome web data. Learn more at &lt;a href="https://cobaltintelligence.com"&gt;Cobalt Intelligence&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://javascriptwebscrapingguy.com/puppeteer-on-lambda/"&gt;Puppeteer on Lambda! Updated and better.&lt;/a&gt; appeared first on &lt;a href="https://javascriptwebscrapingguy.com"&gt;Javascript Web Scraping Guy&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>lambda</category>
      <category>aws</category>
      <category>puppeteer</category>
    </item>
    <item>
      <title>Scraping Utah, Part 2</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Mon, 08 Feb 2021 23:11:00 +0000</pubDate>
      <link>https://dev.to/aarmora/scraping-utah-part-2-2aa7</link>
      <guid>https://dev.to/aarmora/scraping-utah-part-2-2aa7</guid>
      <description>&lt;p&gt;The struggle with Utah secretary of state continues.&lt;/p&gt;

&lt;p&gt;And it seriously is a struggle. I’m having real concerns about the successful completion of this scrape.&lt;/p&gt;

&lt;p&gt;2captcha continues to be a star, though. Here’s my affiliate link if you want a great captcha solver – &lt;a href="https://2captcha.com?from=7390140"&gt;https://2captcha.com?from=7390140&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking for business leads?
&lt;/h2&gt;

&lt;p&gt;Using the techniques talked about here at &lt;a href="https://javascriptwebscrapingguy.com"&gt;javascriptwebscrapingguy.com&lt;/a&gt;, we’ve been able to launch a way to access awesome web data. Learn more at &lt;a href="https://cobaltintelligence.com"&gt;Cobalt Intelligence&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://javascriptwebscrapingguy.com/scraping-utah-part-2/"&gt;Scraping Utah, Part 2&lt;/a&gt; appeared first on &lt;a href="https://javascriptwebscrapingguy.com"&gt;Javascript Web Scraping Guy&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webscraping</category>
      <category>axios</category>
      <category>javascript</category>
      <category>puppeteer</category>
    </item>
    <item>
      <title>How to Handle Puppeteer’s waitFor Deprecation</title>
      <dc:creator>Jordan Hansen</dc:creator>
      <pubDate>Mon, 01 Feb 2021 23:05:00 +0000</pubDate>
      <link>https://dev.to/aarmora/how-to-handle-puppeteer-s-waitfor-deprecation-3ad4</link>
      <guid>https://dev.to/aarmora/how-to-handle-puppeteer-s-waitfor-deprecation-3ad4</guid>
      <description>&lt;p&gt;Puppeteer has deprecated waitFor! But it’s not as terrible as you think.&lt;/p&gt;

&lt;p&gt;There it is! Looking good!&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking for business leads?
&lt;/h2&gt;

&lt;p&gt;Using the techniques talked about here at &lt;a href="https://javascriptwebscrapingguy.com"&gt;javascriptwebscrapingguy.com&lt;/a&gt;, we’ve been able to launch a way to access awesome web data. Learn more at &lt;a href="https://cobaltintelligence.com"&gt;Cobalt Intelligence&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://javascriptwebscrapingguy.com/how-to-handle-puppeteers-waitfor-deprecation/"&gt;How to Handle Puppeteer’s waitFor Deprecation&lt;/a&gt; appeared first on &lt;a href="https://javascriptwebscrapingguy.com"&gt;Javascript Web Scraping Guy&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>puppeteer</category>
    </item>
  </channel>
</rss>
