# Locations List (/docs/extra-apis/locations-list)





We use Google Geographical Targeting, that's why you can use it as a data source. Google and Bing have different locations.

Download the CSV files:

* [Google Locations](https://serphouse-space.nyc3.digitaloceanspaces.com/google_locations.csv)
* [Bing Locations](https://serphouse-space.nyc3.digitaloceanspaces.com/bing_locations.csv)

<Callout type="warn">
  Requires authentication → provide your API key as a Bearer token in the
  Authorization header.
</Callout>

## Get a List of Locations [#get-a-list-of-locations]

`GET` `https://api.serphouse.com/location/search`

### Query Parameters [#query-parameters]

| Name                                                  | Type   | Description                                                                                                                                                   |
| ----------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| q <span style="{color: &#x22;red&#x22;}">\*</span>    | String | search in our location database                                                                                                                               |
| type <span style="{color: &#x22;red&#x22;}">\*</span> | String | Type can be `google` and `bing`.<br />Google and Bing have a different locations so if you are targeting on Bing then pass type as `bing` otherwise `google`. |

### Headers [#headers]

| Name                                                           | Type   | Description             |
| -------------------------------------------------------------- | ------ | ----------------------- |
| Authorization <span style="{color: &#x22;red&#x22;}">\*</span> | String | Bearer `<YOUR_API_KEY>` |

## Example Request [#example-request]

<ApiExample endpoint="https://api.serphouse.com/location/search" method="GET" params="{&#x22;q&#x22;: &#x22;texas&#x22;, &#x22;type&#x22;: &#x22;google&#x22;}" />

<ApiExample mode="response" response="locationsListJsonResponse" />

## Related Links [#related-links]

<Cards>
  <Card title="Domains List" href="/extra-apis/domains-list" />

  <Card title="Languages List" href="/extra-apis/languages-list" />

  <Card title="Account Info" href="/extra-apis/account-info" />
</Cards>
