***

title: search_local
slug: /reference/python/rest/compat/phone-numbers/search-local
description: Search for available local numbers in a country.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Search for available local phone numbers in a specific country.

<EndpointSchemaSnippet endpoint="GET /Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountry}/Local" />

## **Response Example**

<EndpointResponseSnippet endpoint="GET /Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountry}/Local" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

numbers = client.compat.phone_numbers.search_local("US", AreaCode="512")
```