← Back to Company Enrich
POST/geo/cities
Search cities
Search for cities by name or country. Returns up to 100 cities per page. Use this to get valid city IDs for company and people 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/cities"
});
console.log(output);Body parameters
query
string
countryCodes
array
page
integer
Response
page
number
items.0.id
number
items.0.name
string
items.0.latitude
number
items.0.longitude
number
totalItems
number
totalPages
number