Skip to main content
POST
/
locations
Get the location id of a specific location
curl --request POST \
  --url https://app.prontohq.com/api/v2/locations \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "name": "San Francisco",
  "hiring": false
}
'
[
  {
    "name": "San Francisco Bay Area",
    "id": "90000084"
  },
  {
    "name": "San Francisco, California, United States",
    "id": "102277331"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.prontohq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json
name
string
required

The name of the location to get the id of

Example:

"San Francisco"

hiring
boolean
default:false

If true, search hiring location data instead of LinkedIn Sales Navigator (no LinkedIn credentials required for this request). If false or omitted, LinkedIn Sales Navigator is used.

Example:

false

Response

200 - application/json

Location ID retrieved successfully

name
string

The full name of the location

id
string

The ID of the location