← Back to Company Enrich
POST/geo/states
Search states
Search for states or provinces by name or country. Returns up to 100 per page. Use this to get valid state IDs for search filters.
Company Enrich·Free
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "company-enrich",
path: "/geo/states"
});
console.log(output);Body parameters
query
string
countryCodes
array
page
integer
Response
page
number
items.0.id
number
items.0.code
string
items.0.name
string
items.0.latitude
number
items.0.longitude
number
totalItems
number
totalPages
number