Phone Numbering-Plan Validation

Phone Numbering-Plan Validation

Checks a phone number against its country's numbering plan and returns E.164, national and international formats, the country and the number type the plan assigns (mobile, fixed line, toll free, VoIP and others).

POST/v1/phone
curl -X POST https://YOUR_API_HOST/v1/phone \
  -H "Authorization: Bearer $LOOKVALID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+12025550143"}'
  • 1 credit per valid number
  • Charged only when it finds something
  • Cached 7 days

1 credit per valid number

Charged only when it finds something. A repeat inside 7 days is free.

Every LookValid product draws on one shared balance. See pricing.

From key to answer in three steps

One key, one POST to /v1/phone and a JSON answer back. The same three steps work in any language that can send HTTPS.

  1. 01

    Create a key

    Sign up and copy a key from the dashboard. The same key works for every LookValid product and for the MCP server.

    Terminal
    export LOOKVALID_API_KEY="lv_live_..."
    
  2. 02

    Send the request

    POST a JSON body to /v1/phone. 1 credit per valid number.

    request.sh
    curl -X POST https://YOUR_API_HOST/v1/phone \
      -H "Authorization: Bearer $LOOKVALID_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"phone":"+12025550143"}'
    
  3. 03

    Read the answer

    A real run of this lookup on 2026-10-18. The data object has 14 named fields.

    response.json
    {
      "product": "phone",
      "found": true,
      "data": {
        "valid": true,
        "possible": true,
        "e164": "+12025550143",
        "national_format": "(202) 555-0143",
        "international_format": "+1 202 555 0143",
        "country_calling_code": "1",
        "country": "US",
        "number_type": "fixed_line_or_mobile",
        "line_type_source": "numbering-plan",
        "carrier": null,
        "area_code": "202",
      ...
    

A structured answer, not a page of text

The data object has 14 named fields. Every response also lists the sources behind the result, the credits charged and whether it was served from your cache.

  • Fields returned in data by Phone Numbering-Plan Validation
    FieldType
    validtrue
    possibleboolean
    e164string
    national_formatstring
    international_formatstring

    And 9 more fields in the API reference.

    Named fields. Uses open libphonenumber metadata only: it does not query carriers, so it cannot tell whether a number is active, ported or reachable.

    1. Your requestone API key
    2. Your cache7 daysRepeat: 0 credits
    3. Data sourcefirst lookupFound: 1 credit
    4. ResultJSON

    A repeat lookup is free. Results are cached per account for 7 days. Ask the same question again inside that window and the response comes back with cache_hit: true and no charge.

  • Terminal
    # Sent with every request, for every product
    Authorization: Bearer $LOOKVALID_API_KEY
    

    One key for your code and your agents. Send your API key as a Bearer token. The same key and the same credit balance cover every other LookValid product. AI agents can call it as a tool on the MCP server at https://YOUR_API_HOST/v1/mcp.

14

named fields in every answer

7

days a repeat lookup is free

14

lookups on the same key and balance

Latest from the changelog

All changes

Priced in credits

Every LookValid product draws on one shared balance. Phone Numbering-Plan Validation uses 1 credit per valid number.

Cost

1credit

Per valid number


  • Found1 credit
  • Nothing found0 credits
  • Repeat inside 7 days0 credits
  • Errors and invalid requests0 credits

Questions about Phone Numbering-Plan Validation

01How much does Phone Numbering-Plan Validation cost?

1 credit per valid number. Credits come out of the one balance shared by every LookValid product.

02Am I charged when nothing is found?

No. When the lookup runs and finds nothing, it returns found: false and costs 0 credits. An error costs nothing either.

03How long are results cached?

For 7 days, per account. Repeating the same lookup inside that window returns cache_hit: true and costs 0 credits.

04Which API key do I use?

The same key as every other product. Send it as a Bearer token in the Authorization header. Email hello@lookvalid.com and we set up your account and send the key.