Louisiana Secretary of State business data via API

https://youtu.be/Vz1NhWmW00Y – will embed once it’s public

The Cobalt Intelligence Secretary of State API allows you to get business data all via API!

Today we showcase how to get business data from Louisiana.

Reach out for an API key.

Example of calling by business name:

const url = `https://apigateway.cobaltintelligence.com/search?searchQuery=${encodeURIComponent(businessName)}&state=${state}`;
const axiosResponse = await axios.get(url, { headers: { 'x-api-key': this.apiKey } }); 

Example of calling by entity/secretary of state id:

const url = `https://apigateway.cobaltintelligence.com/search?sosId=${encodeURIComponent(sosId)}&state=${state}`; 

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

Test and get API key here – https://cobaltintelligence.com/secretary-of-state

SDK and examples here – https://github.com/cobalt-intelligence/cobalt-int-sdk


Good morning. I’m Jordan Hanson. I’m with cobalt intelligence. We’re talking about the secretary of state API today and how to use it. Um, if you’re going to Louisiana, if you need business data from Louisiana, um, this is how you use it. We support these states right now. We’re adding states like almost every day until we’re going to done.

So we’re going to have this done a few more weeks and. I can get an API key, click the button. It’s free. You got a hundred trial uses a month. Um, and that’s it. So let’s go over here and try it out. So, uh, we’re going to do Louisiana today, how to do it. So if you’re, this is the secretary of state page I’m going to search for just, I see.

Yeah. Just find a business name for us to test with. How about these bold ones are the active ones. I’m going to pick Garcia summit, LLC. I’m going to put it right here. And then you want to put the business name, it can be abbreviation or lowercase name if you want. And then this is what I’m using. SDK. We have an SDK, you can use it for free it’s JavaScript.

And if you use it, you just NPM install, SOS or cobalt and SDK right there. And you initially that was with SOS API, and then you call API that good business details you pass in the business name. And it’ll automatically return the details and send it to you or, and you can do whatever with it. Now, Louisiana has a captured, as you saw.

So always states with captures, they’re going to take longer. It probably takes 45 to 60 seconds per request. So it’s going to take a lot longer. That’s why it’s taking so long right now. Um, That’s why the STK is really nice. Cause we set up long polling for those states. Um, and they take longer. Right? And we’ll talk about lawn pulling just a second, but the cool thing is the SDK just takes care of it for you.

Now, the STK over here, there’s examples of how to do it. You can install it, whatever, and then it shows examples, examples of how to access it all. Meanwhile, Louisiana’s going out normally takes six minutes. I couldn’t take a hundred seconds from Louisiana, a hundred, hundred 15 seconds. It’s not. Uh, you can also search by SOS.

Hey D right here. Bam finished. Let’s skip that one. I see a cement right here. Do you test?

There we go. Let’s see things. Check out here. How’s our physical address? City. State of formation. Yep. Kynar perfect. That’s it? Good. All right. Now let’s show SOS. ID can search basket would say, do you want to put this in here? We got out of the city and here they call it a charter number. I think. Yeah.

Charter number right there. I’m going to start it. And same kind of thing with SSAB you just import SOS API, initialize it with API here, right there. And then you call it a weight. SOCP I’d give business details by SOS ID and it returns it right here. Well, this is happening. Let’s show what it looks like without using the SDK.

You just call the URL directly. API gateway dot cobalt, intelligence.com/search search. But then Cody, you are a component business name because that handles the ampersands and your name. If you have an ampersand, your business name, it could mess it up. So this will handle that and then passing your state, which is again, lowercase, camel case, or are we viewed as fine?

Because then you’re past your API key in the header. Like this header is X API, key.dot, and then this, this API key, because they’re good. It’s not done already. Um, because again, it just has a retried. You gotta do this. If the response comes back at the re-trade D which a will with Louisiana, and you had to keep trying it, you keep calling it like this and you call URL like this.

We try D and we call every 10 seconds here, but it’s call every five seconds or something until it’s done. And then it’ll return the data to you. And that’s how it worked for the Louisiana. Um, if you want an API key again, come over here. Cobalt intelligence.com/secretary of state and click the get API key button.

Alright, thank you.