Maine Secretary of State business data via API – 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 Maine.

Reach out for an API key.

Example of calling by business name:

const url = `${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 = `${encodeURIComponent(sosId)}&state=${state}`; 

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

Test and get API key here –

SDK and examples here –


Hello. Good morning today. We’re talking about the secretary of state I’m Jordan, Jordan Hansen, by the way, we’re talking about the secretary of state API and with the state of Maine. So if you need to get business data from the state of Maine, we’re going to go over how to do that. Here’s the secretary of state right now, here, right there.

And this I’m just looking for pizza search over here, and then bam. We have a bunch of stuff here. Let’s click this one. Well, we did this, I’ve done this one before. Let’s put this one. How about that? And first one, I’m gonna use toy. We have an SDK in JavaScript. I’m gonna show how to use that. Am I from Maine Amy?

Oh, I can’t remember the whole thing. They’ll stay at name right here. Oh, not clear start. Okay. And here’s the, if use the AI or the SDK and JavaScript in Porter right here, and then you initialize it with new and you say a wait, so CPI dot, get business details. Um, business name and state and you pass them a nugget to the details.

You can also do it with, by SSAB there. Come over here like this. Nice. I put that in there. Okay. And then this is going to remain. What was it is M E K. So you get D did, uh, get details. Bass basketball, say D you import SSAP. Yes. Cobalt intelligence, API key. You’ll wait so SAP. I cannot talk. So as API that give business details by SOS ID, you pass your ID state.

There we go. Let’s click this by late, better baked pizza. That sounds good. There we go. State of formation, Minnesota, look right there. It’s got cool. Huh? Status merged. All that is taken care of and you don’t have to use this decay. You can come over here and we’ll show how to use it with that. Um, right here, you can just call it to the URL API dot cobalt, sorry, APEC gateway dot cobalt, and tells search query.

And you pass in your business name and your state. You want to encode the URL component just in case there’s any ampersands and your business name, you pass in the header or the API key and the hitters who go ex API key and the study PI key. And that’s it, pass it in there for Maine and you’ll get their data.

Do the same thing for SOS ID looks the same thing, except for you’ll change your queer parameter SQS ID, the cobalt intelligence STK. It shows examples of how to use it also, how to use SDK. And you can look at the examples. It shows how you use the URL as well. Okay. That’s it. Thanks everyone. Um, and that’s main.