---
title: "Search for available numbers"
method: POST
path: "/phone_numbers/search"
---

# Search for available numbers

`POST /phone_numbers/search`

## Request

- Base URL: `https://api.vogent.ai/api`
- URL: `https://api.vogent.ai/api/phone_numbers/search`
- Auth: HTTP bearer

Search for available numbers available to purchase

## Request body

- PhoneNumberSearchInput
  - `prefix` string, required: The phone number prefix, without the country code.
  - `country` string: The 2-letter country code.
  - `limit` integer: The maximum number of candidates to return, maximum 10.

## Response `200`

Successful operation

- PhoneNumberCandidate[]
  - `number` string, required: The phone number that's available for purchase

## Other responses

- `400`: Invalid input
- `422`: Validation exception

---

[API](https://skmtc.dev/vogent/apis/vogent-openapi-3-0.md) - [All operations](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/revisions/a5966cc364ef?raw)
