***

title: Lookup
slug: /reference/python/rest/lookup
description: Phone Number Lookup namespace.
max-toc-depth: 3
---------------------

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

[restclient]: /docs/server-sdks/reference/python/rest/client

Look up carrier and CNAM information for a phone number. This is useful for
validating phone numbers, identifying carriers, and checking caller name data
before placing calls.

Access via `client.lookup` on a [`RestClient`][restclient] instance.

## **Methods**

<CardGroup cols={3}>
  <Card title="phone_number" href="/docs/server-sdks/reference/python/rest/lookup/phone-number">
    Look up a phone number.
  </Card>
</CardGroup>

## **Example**

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

client = RestClient()
result = client.lookup.phone_number("+15551234567")
```