How to use the Secretary of State API

Talking about how to use the Secretary of Search business API.

Get a free API key here –

Each state has a department that handles registration for businesses. Most businesses are required to register with these departments in order to file as an LLC or get a business checking account with pretty much any bank. These departments are responsible for displaying the information about the business and a point of contact for the business. This information is a general rule is all public!

This API makes it so that data can be easily accessed programmatically. We build a scraper for each state so that you can plug in a large amount of businesses and let the code do the work for you


Today. Hello Jordan, I’m Jordan Hanson here from cobalt intelligence. Um, I wanted to talk a little bit about the secretary of state business search. Um, the secretary state, API business search, anything like that. I want to talk about what it is and how to use it. So just to start off, like I said, I’m Jordan Cole, wealth intelligence.

Really what I focus on is a web scraping, but I turned that into. Getting data for companies like real estate investors that are looking for a distressed properties. And they’re trying to aggregate a lot of data from what I’ve from public sources, such as tax auctions. I’ve done a lot on tax auctions, distressed auctions, just properties, excuse me.

And, um, this right here is an API that queries. Secretary of states to get the owner information for businesses. This comes into work with real estate. Um, other people use it as well, but let’s say real estate, for example, um, they, the owner of a property is AMT transportation, LLC, so that they can come over to do, and they can use this API that they can say they have a thousand properties in like 500 of them are businesses they can go through and query these states for the owner information.

And then from that owner information, they can contact them and say, Hey, that’s by this property. So you can see on our website, cobalt intelligence, I just come over here to the secretary of state API, and you can just enter the state. These are the states we support right now, and we’re releasing one almost one every week.

Probably two, two to three a month is how often we’re releasing them. Um, and we’re going to keep releasing them. Some of them are really difficult. Like we have Colorado on this list, but Colorado, it. We need to clean it up. Something’s wrong with it. Um, and then Maryland has like a capture on it. So really what we’re doing is we actually go out there and scrape, we do web scraping on that site.

So if I’m going to Maryland, then what it’s going to happen is it’s going to go over to Maryland and it’s going to like, yeah. So go Maryland. Secretary of state business search, come over here to Maryland. And so what happens is, okay, you have a business, same, you come over here and look up pizza. Well, it searches it and then it picks the pizza corporation or whatever.

And there is business business right here. But, um, you, I don’t know if you’ve noticed, but there was a cap shot in here. So it takes a little bit longer for us to solve, captures. Um, and the goal of this, obviously, if you’re just searching individually, it’s going to be faster probably to go. I don’t know.

Maybe it would be faster to just go directly to the state, but if you have a bunch, if you have 500, you can just plug this all into code is what I’m saying. And then you can just run the code. And the code we’ll just go through and call our API and then get the information for it. Um, and it will go through and we’re adding additional fields in here and it depends on the state where we can get, but we can only find all these different information.

Like, you know, you can go to this one right here, American Eagle logistics from Michigan over here, bam, Michigan, like that. Try it. And it takes a little bit. Now this varies. Right, right now it’s actually scraping the site on Michigan. So this is going to vary based on what’s site, we scraped somewhere very fast because we’re able to scrape that site really quickly and some take a little bit longer.

Bam. There we go. So now I’m going to talk a little bit about how to use it. Um, it’s pretty simple. You just need to send me an and say right now it’s, it’s mostly in beta. Um, but we have a few customers using it and say, Hey, we really want to use this. Um, This API, and I’ll give you a free trial API key.

I’ll give you a hundred requests a month. And if you find you need to use it more than we can get you out of pay plan, um, and we can, you know, kind of customize what you’re looking for. If you need more states or whatever. So here, for example, it’s he we’re searching. Um, we want to know pizza. This is not really a feature, but this is what handles.

If we, right now we’re exact match only. So if you search for pizza or we don’t know what pizza place you’re talking about. If I took this Nighthawk, look, there’s like this mini. Pizza factor all this different stuff. So right now we’re not exactly sure how to handle this. Which one did we turn if we’re going to do it, you know, but right now we only are exact match.

So if you just do something generic, you put it in here and you request is going to go to this place. API gateway dot cobalt, I would expect you to have some kind of coding knowledge to be able to do this. You want to put this in your code? This is the URL you’re going to call right here.

I’m using postman. Just to show the example, your search query right here will be your business name. So in this case, it’s going to be pizza angel. So it’s just going to be query parameter pizza angel, LLC. Your state will be Idaho search query right there. Pizza AGLC your state will be Idaho right there.

And then you hit send, oh yeah. Also you’re gonna need an API or an API key. There it is. So you have your API key, you know, put it in your headers. That’s the X dash API key and you’ll have it right here. This will be your API key. And so it needs to be in your headers. You’ll include it as X API key and set it over the cobalt intelligence.

And then we go to, it, sends it over there, gets all the information and returns it. And you can try this for other states, you know, like we just include just added people, Pennsylvania. So we got this Pennsylvania. And so you can write code that just looping through hundreds of businesses and then it’ll return the data you need based on that.

Okay. Rolling through here, bam. Okay. So I was like, okay, well we don’t know what’s going on. So I like pizza and cream

pizza and cream. How are we going to do pizza and cream? See what we get.

Okay. Apparently pay not, oh, it didn’t even update it. I don’t know, I didn’t do that when I would have expected it. Oh, oh look. And this needs to be coded. So we’re not gonna use that one. Uh,

because it thinks is a new parameter. Normally this wouldn’t happen if you were they doing this in code? I don’t know how you encode this in here, so we’re not going to do it. Or if we just say, uh, um, planet. There’s gotta be some businesses on the planet in Pennsylvania. This is just whatever. So there we go.

What the, it actually found a business exactly. Named planet under fictitious names. Okay, cool. Probably because, um, it’s a DBA. That’s interesting. Okay. Anyway, so that’s how you use it. The important things are you need a search query and your career parameters you need to state, and then your heteros, you need your X, your API key, and that what tool will provide you.

And there it is. Um, it’s a pretty cool tool right there. And, uh, that’s it.