---
title: "Search purchasable organization phone numbers"
method: POST
path: "/phone-numbers/search"
tags: ["PhoneNumbers"]
---

# Search purchasable organization phone numbers

`POST /phone-numbers/search`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/phone-numbers/search`
- Auth: HTTP bearer

Searches available phone numbers for purchase, applying country, area, and capability filters for lead communication setup.

## Request body

- PhoneNumberSearchRequest: Defines the fields clients can send when working with phone number search.
  - `phoneNumber` string, nullable: Phone number used by this phone number search request for calls, SMS, lookup, or routing.
  - `location` PhoneNumberLocation, nullable: Public Leadping API schema for phone number location data.
    - `resolvedAt` string, date-time, nullable: When local geography resolution completed, including when no geographic match exists. Prevents repeated resolution until an explicit rebuild or new carrier lookup.
    - `location` string, nullable: Geographic location metadata for the phone number, lead, or lookup result.
    - `state` string, nullable: State, province, or region for the lead or organization postal address.
    - `canonicalCity` string, nullable: Canonical city resolved by Leadping from its ZIP-code geography data.
    - `canonicalState` string, nullable: Canonical state or territory abbreviation resolved by Leadping.
    - `countryCode` string, nullable: Country code for the phone number or location represented by this phone number location.
    - `coordinate` Coordinate, nullable: Latitude and longitude coordinate for this lead contact profile.
      - `latitude` number, double, required: Latitude of the geographic coordinate in decimal degrees, from -90 through 90.
      - `longitude` number, double, required: Longitude of the geographic coordinate in decimal degrees, from -180 through 180.
    - `isCoordinateApproximate` boolean: Whether the coordinates represent an approximate phone-number region rather than a resolved city.
    - `coordinateSource` PhoneLocationSource, nullable: Describes how a phone location value was resolved.
      - `method` string: The resolution method, such as Telnyx-city-state, coordinates, phone-number, or state-default.
      - `query` string, nullable: The city, state, coordinates, phone number, or representative ZIP used by the method.
    - `timeZoneId` string, nullable: IANA or Windows time zone identifier used for local scheduling and reporting.
    - `timeZoneSource` PhoneLocationSource, nullable: Describes how a phone location value was resolved.
      - `method` string: The resolution method, such as Telnyx-city-state, coordinates, phone-number, or state-default.
      - `query` string, nullable: The city, state, coordinates, phone number, or representative ZIP used by the method.

## Response `200`

Returns the phone number search response.

- PhoneNumberSearchResponse: Describes phone number search data returned by Leadping.
  - `numbers` PhoneNumberSearchResult[]: Phone numbers returned or evaluated by this phone number search response.
    - `number` string: E.164 phone number exposed by this phone number search result.
    - `location` PhoneNumberLocation, nullable: Public Leadping API schema for phone number location data.
      - `resolvedAt` string, date-time, nullable: When local geography resolution completed, including when no geographic match exists. Prevents repeated resolution until an explicit rebuild or new carrier lookup.
      - `location` string, nullable: Geographic location metadata for the phone number, lead, or lookup result.
      - `state` string, nullable: State, province, or region for the lead or organization postal address.
      - `canonicalCity` string, nullable: Canonical city resolved by Leadping from its ZIP-code geography data.
      - `canonicalState` string, nullable: Canonical state or territory abbreviation resolved by Leadping.
      - `countryCode` string, nullable: Country code for the phone number or location represented by this phone number location.
      - `coordinate` Coordinate, nullable: Latitude and longitude coordinate for this lead contact profile.
        - `latitude` number, double, required: Latitude of the geographic coordinate in decimal degrees, from -90 through 90.
        - `longitude` number, double, required: Longitude of the geographic coordinate in decimal degrees, from -180 through 180.
      - `isCoordinateApproximate` boolean: Whether the coordinates represent an approximate phone-number region rather than a resolved city.
      - `coordinateSource` PhoneLocationSource, nullable: Describes how a phone location value was resolved.
        - `method` string: The resolution method, such as Telnyx-city-state, coordinates, phone-number, or state-default.
        - `query` string, nullable: The city, state, coordinates, phone number, or representative ZIP used by the method.
      - `timeZoneId` string, nullable: IANA or Windows time zone identifier used for local scheduling and reporting.
      - `timeZoneSource` PhoneLocationSource, nullable: Describes how a phone location value was resolved.
        - `method` string: The resolution method, such as Telnyx-city-state, coordinates, phone-number, or state-default.
        - `query` string, nullable: The city, state, coordinates, phone number, or representative ZIP used by the method.

## Other responses

- `400`: The request was invalid or failed validation.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `415`: The request content type is not supported by this endpoint.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected server error occurred.

## Changes

- **2026-11-17** `e372ccaad0a8`: 3 info
  - added the new optional request property `allOf[#/components/schemas/PhoneNumberSearchRequest]/location/allOf[#/components/schemas/PhoneNumberLocation]/resolvedAt` (media type: application/json)
  - added the new optional request property `allOf[#/components/schemas/PhoneNumberSearchRequest]/location/allOf[#/components/schemas/PhoneNumberLocation]/resolvedAt` (media type: application/*+json)
  - added the optional property `allOf[#/components/schemas/PhoneNumberSearchResponse]/numbers/items/allOf[#/components/schemas/PhoneNumberSearchResult]/location/allOf[#/components/schemas/PhoneNumberLocation]/resolvedAt` to the response with the `200` status
- **2026-11-11** `81aed8c9afb7`: 1 info
  - added the non-success response with the status `415`
- …earlier changes not shown

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/phone-numbers/search/post.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
