GET /location/search

Location Search

Search and browse all Crunchbase locations with optional faceting by city, region, or country. Returns location hierarchies, parent regions, and geographic groups.

Crunchbase Data API

Search the full Crunchbase location taxonomy (300K+ entries). Filter by facet to narrow results to cities, regions, or countries. Each result includes parent locations and geographic groups (e.g., EMEA, Middle East) for hierarchical filtering in company and person searches.

HTTP Request

1
GET /location/search

Parameters

ParameterTypeRequiredDefaultDescription
qstringNoFind locations whose name contains this text (case-insensitive)
facetstringNoanyRestrict to one tier: any, city, region, country, continent, group
parentstringNoReverse lookup: every location contained by this parent. Slug, UUID, or name
per_pageintegerNo5Results per page (max 15)
sortstringNoascasc for A→Z

Response

Example Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "status": true,
  "request_id": "b1036dad-9f5d-c795-fbce-6feb063e",
  "data": {
    "total": 304848,
    "page": 1,
    "has_next_page": false,
    "results": [
      {
        "name": "'ayanot",
        "slug": "ayanot-hamerkaz",
        "uuid": "0cf11f8a-e223-c8b8-fd25-c76bb68fe76e",
        "image": null,
        "type": "location",
        "short_description": "'ayanot, HaMerkaz, Israel, Asia",
        "location_type": [],
        "groups": [
          {
            "uuid": "4e8be435-c63a-4aff-8a2f-44a880d9c341",
            "slug": "europe-middle-east-africa-emea",
            "name": "Europe, Middle East, and Africa (EMEA)",
            "type": "location",
            "image": null
          }
          // ... more items
        ],
        "parents": [
          {
            "uuid": "0cf11f8a-e223-c8b8-fd25-c76bb68fe76e",
            "slug": "ayanot-hamerkaz",
            "name": "'ayanot",
            "type": "location",
            "image": null
          }
          // ... more items
        ]
      }
      // ... more items
    ],
    "resolved_filters": {}
  },
  "request_params": {
    "facet": "city",
    "sort": "asc",
    "per_page": "2"
  }
}

Response Fields

FieldTypeDescription
statusbooleanWhether the request was successful
request_idstringUnique identifier for the request
data.totalintegerTotal number of matching locations
data.pageintegerCurrent page number
data.has_next_pagebooleanWhether more pages of results are available
data.resultsarrayList of location objects
data.results[].namestringDisplay name of the location
data.results[].slugstringURL-safe identifier for the location
data.results[].uuidstringUnique UUID for the location
data.results[].imagestring|nullImage URL for the location (typically null)
data.results[].typestringEntity type (always "location")
data.results[].short_descriptionstringHuman-readable location path (e.g., “City, Region, Country, Continent”)
data.results[].location_typearrayLocation type tags (e.g., city, region, country)
data.results[].groupsarrayGeographic groups this location belongs to
data.results[].groups[].uuidstringUUID of the geographic group
data.results[].groups[].slugstringSlug of the geographic group
data.results[].groups[].namestringName of the geographic group (e.g., “Middle East”)
data.results[].groups[].typestringEntity type (always "location")
data.results[].groups[].imagestring|nullImage URL for the group
data.results[].parentsarrayParent locations in the hierarchy (city > region > country)
data.results[].parents[].uuidstringUUID of the parent location
data.results[].parents[].slugstringSlug of the parent location
data.results[].parents[].namestringName of the parent location
data.results[].parents[].typestringEntity type (always "location")
data.results[].parents[].imagestring|nullImage URL for the parent location
data.resolved_filtersobjectResolved filter values (empty for this endpoint)
request_paramsobjectEcho of the request parameters sent
request_params.facetstringThe facet filter applied
request_params.sortstringThe sort direction applied
request_params.per_pagestringThe per_page value applied

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import requests

url = "https://crunchbase-extractor-full-api3.p.rapidapi.com/location/search"

querystring = {
    "facet": "city",
    "per_page": "50",
    "sort": "asc"
}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "crunchbase-extractor-full-api3.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=querystring)
data = response.json()["data"]

print(f"Total locations: {data['total']}")
for location in data["results"]:
    print(f"{location['name']} ({location['slug']})")
    print(f"  Path: {location['short_description']}")
    groups = [g['name'] for g in location['groups']]
    print(f"  Groups: {', '.join(groups)}\n")
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const url = "https://crunchbase-extractor-full-api3.p.rapidapi.com/location/search";

const params = new URLSearchParams({
  facet: "city",
  per_page: "50",
  sort: "asc",
});

const response = await fetch(`${url}?${params}`, {
  method: "GET",
  headers: {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "crunchbase-extractor-full-api3.p.rapidapi.com",
  },
});

const { data } = await response.json();

console.log(`Total locations: ${data.total}`);
data.results.forEach((location) => {
  console.log(`${location.name} (${location.slug})`);
  console.log(`  Path: ${location.short_description}`);
  const groups = location.groups.map((g) => g.name).join(", ");
  console.log(`  Groups: ${groups}\n`);
});
1
2
3
4
5
6
curl -G "https://crunchbase-extractor-full-api3.p.rapidapi.com/location/search" \
  --data-urlencode "facet=city" \
  --data-urlencode "per_page=50" \
  --data-urlencode "sort=asc" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: crunchbase-extractor-full-api3.p.rapidapi.com"
Start building today

Get your API key and make your first request in under a minute.

Get Your API Key on RapidAPI