> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contiguity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Number Details

> Get details about a number, whether leased or available

If the number is leased, Contiguity will return details about your lease – including the lease ID, status, and billing information.

<img
  src="https://fake.img.com/nonexistent.jpg"
  style={{display: 'none'}}
  onError={() => {
    const script = document.createElement('script');
    script.textContent = `
        document.querySelectorAll('a[href*="mintlify.com"][href*="poweredBy"]').forEach(link => {
            link.remove();
        });
    `
    document.head.appendChild(script);
}}
/>


## OpenAPI

````yaml openapi-numbers GET /{number}
openapi: 3.0.0
info:
  version: v2026.3.3
  title: Leasing API
servers:
  - url: https://api.contiguity.com/numbers
security: []
paths:
  /{number}:
    get:
      parameters:
        - schema:
            type: string
            description: Phone number in E.164 format
            example: '+13059478667'
          required: true
          description: Phone number in E.164 format
          name: number
          in: path
      responses:
        '200':
          description: >-
            Get information about a specific phone number. If you lease this
            number, lease-specific fields (lease_id, lease_status, billing) are
            included automatically.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: req_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: response
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Phone number in E.164 format
                        example: '+13059478667'
                      status:
                        type: string
                        enum:
                          - available
                          - g-available
                          - leased
                          - unavailable
                        description: Number status
                        example: available
                      number:
                        type: object
                        properties:
                          e164:
                            type: string
                            description: E.164 format
                            example: '+13059478667'
                          formatted:
                            type: string
                            description: Formatted phone number
                            example: +1 (305) 947-8667
                        required:
                          - e164
                          - formatted
                        description: Number formats
                      location:
                        type: object
                        properties:
                          country:
                            type: string
                            description: 2-letter country code
                            example: US
                          region:
                            type: string
                            description: Region/state
                            example: FL
                          city:
                            type: string
                            description: City
                            example: Miami
                        required:
                          - country
                          - region
                          - city
                        description: Geographic location
                      carrier:
                        type: string
                        enum:
                          - T-Mobile
                          - AT&T
                          - Verizon
                          - Twilio
                          - Contiguity
                          - International Partner
                        description: Carrier name
                        example: T-Mobile
                      capabilities:
                        type: object
                        properties:
                          intl_sms:
                            type: boolean
                            description: International SMS support
                            example: true
                          channels:
                            type: array
                            items:
                              type: string
                              enum:
                                - sms
                                - mms
                                - rcs
                                - imessage
                                - whatsapp
                            description: Supported channels
                            example:
                              - sms
                              - mms
                              - imessage
                        required:
                          - intl_sms
                          - channels
                        description: Number capabilities
                      health:
                        type: object
                        properties:
                          reputation:
                            type: number
                            minimum: 0
                            maximum: 1
                            description: Reputation score 0.00-0.99
                            example: 0.9
                          previous_owners:
                            type: number
                            description: Number of previous lessees
                            example: 1
                        required:
                          - reputation
                          - previous_owners
                        description: Number health metrics
                      data:
                        type: object
                        properties:
                          requirements:
                            type: array
                            items:
                              type: string
                              enum:
                                - imessage_entitlement_required
                                - whatsapp_entitlement_required
                                - enterprise_plan_required
                            description: Entitlements required to lease this number
                            example:
                              - imessage_entitlement_required
                          e911_capable:
                            type: boolean
                            description: E911 capability
                            example: true
                        required:
                          - requirements
                          - e911_capable
                        description: Additional data
                      created_at:
                        type: number
                        description: Date & time of when the number was provisioned
                        example: 1718851200
                      pricing:
                        type: object
                        properties:
                          currency:
                            type: string
                            enum:
                              - USD
                              - EUR
                              - GBP
                              - CAD
                              - AUD
                            description: Currency
                            example: USD
                          upfront_fee:
                            type: number
                            description: One-time fee
                            example: 2.99
                          monthly_rate:
                            type: number
                            description: Monthly rate
                            example: 19.99
                        required:
                          - currency
                          - upfront_fee
                          - monthly_rate
                        description: Pricing information
                      lease_id:
                        type: string
                        description: Lease ID. Present only if you lease this number.
                        example: lease_1234567890
                      lease_status:
                        type: string
                        enum:
                          - active
                          - expired
                          - terminated
                        description: Lease status. Present only if you lease this number.
                        example: active
                      billing:
                        type: object
                        properties:
                          method:
                            type: string
                            enum:
                              - monthly
                              - service_contract
                              - goodwill
                            description: Billing method
                            example: monthly
                          period:
                            type: object
                            properties:
                              start:
                                type: number
                                description: Lease start timestamp
                                example: 1718851200
                              end:
                                type: number
                                nullable: true
                                description: Lease end timestamp. Null if month-to-month
                                example: null
                            required:
                              - start
                              - end
                        required:
                          - method
                          - period
                        description: >-
                          Lease billing information. Present only if you lease
                          this number.
                    required:
                      - id
                      - status
                      - number
                      - location
                      - carrier
                      - capabilities
                      - health
                      - data
                      - created_at
                      - pricing
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Bad Request
                      status:
                        type: number
                        example: 400
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Unauthorized
                      status:
                        type: number
                        example: 401
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Forbidden
                      status:
                        type: number
                        example: 403
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Internal Server Error
                      status:
                        type: number
                        example: 500
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````