Phone Number Validator: E.164 Format, Country & Line Type avatar

Phone Number Validator: E.164 Format, Country & Line Type

Pricing

from $0.70 / 1,000 phone number parseds

Go to Apify Store
Phone Number Validator: E.164 Format, Country & Line Type

Phone Number Validator: E.164 Format, Country & Line Type

Validate and format phone numbers in bulk: valid or possible, E.164, national format, country, calling code and line type from the numbering plan. Not a live carrier or WhatsApp lookup.

Pricing

from $0.70 / 1,000 phone number parseds

Rating

0.0

(0)

Developer

Public Records

Public Records

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

11 minutes ago

Last modified

Features

Limited permissions

Share

Validate and extract phone numbers (format, country, E.164 and line type), generate an invoice or receipt PDF, or render a 1D/2D barcode as SVG. Phone checks are syntax and numbering-plan only: this is not a live carrier, TCPA or WhatsApp registration lookup. No outside AI API.

Who it is for: teams that need to parse phone numbers on a lead list, or to generate an invoice or receipt PDF and a barcode, without a live carrier or messaging-network check.

Phone validator: format, country and E.164

In phone_validate mode, paste a number or a list in phones and an optional default country. Each row tells you whether the number is valid and possible, its E.164 and national forms, country, calling code and line type. phone_extract finds numbers in a block of text. This does not query a carrier or a messaging network.

Invoice PDF and receipt PDF

In invoice_pdf or receipt_pdf mode, send seller, buyer and line items and get a PDF (as base64) plus totals. You can add an optional crypto payment block (EVM, Bitcoin or Solana address) that prints a payment URI and QR on the PDF. An invoice example is included below.

After you generate an invoice or receipt PDF, you can convert it to Markdown with PDF to Text & Markdown Extractor.

Barcode generator

In barcode_svg mode, render Code 128, EAN-13 and other common symbologies as SVG. Barcode text can also be sent as data and the type as bcid; send parse: true to read ^NNN character escapes (GS1 types read ^FNC1 by default; send parse: false to turn that off). In pay_uri mode, or in the invoice crypto block, a uri sent with the address is used as-is instead of building one. For QR codes with scan-back, see QR Code Generator and Scanner on the same account once it is listed.

Default input

{
"mode": "phone_validate",
"phones": [
"+1 650-253-0000",
"+44 20 7946 0958",
"+61 2 5550 1234",
"not-a-number"
]
}

Sample output

A real Apify run of the prefilled phones list on 2026-11-25 returned four rows. The first three were valid US, GB and AU numbers; the fourth is the invalid example and is still charged. The first row was:

{
"input": "+1 650-253-0000",
"valid": true,
"possible": true,
"e164": "+16502530000",
"country": "US",
"calling_code": "+1",
"national_number": "6502530000",
"type": "fixed_line_or_mobile",
"international": "+1 650 253 0000",
"national": "(650) 253-0000",
"rfc3966": "tel:+16502530000",
"extension": null,
"non_geographic": false
}

The other valid rows were e164 +442079460958 (GB, fixed_line) and +61255501234 (AU, fixed_line). The invalid row was:

{
"input": "not-a-number",
"valid": false,
"possible": false,
"error": "not a phone number (send country, e.g. \"US\", for national-format numbers)"
}

This sample is from Apify run bmqaUYWbitwcfHGZN (build 0.1.6, 2026-11-25, America/Toronto).

Invoice example

{
"mode": "invoice_pdf",
"number": "INV-1042",
"date": "2026-11-24",
"due_date": "2026-12-08",
"currency": "USD",
"seller": {
"name": "Acme Labs",
"email": "billing@acme.example"
},
"buyer": {
"name": "Client Co"
},
"items": [
{
"description": "Design review",
"quantity": 1,
"unit_price": 250
},
{
"description": "Revisions",
"quantity": 3,
"unit_price": 40
}
],
"tax_rate": 13
}

A real Apify run of this invoice input on 2026-11-25 returned one row:

{
"filename": "invoice-INV-1042.pdf",
"pages": 1,
"totals": {
"subtotal": 370,
"discount": 0,
"tax": 48.1,
"shipping": 0,
"total": 418.1,
"amount_paid": 0,
"balance_due": 418.1,
"currency": "USD"
},
"pay_uri": null,
"bytes": 1915,
"pdf_base64": "(PDF bytes, 2,552 characters of base64)"
}

This invoice sample is from Apify run 59int9Nqql0nLM0hJ (build 0.1.6, 2026-11-25, America/Toronto).

Pricing

Pay per event: one start fee per run, then a charge only for successful rows written to your dataset.

EventPrice
Actor start (per GB of memory; default 256 MB = 1 start event, $0.001)$0.001
Invoice or receipt PDF$0.01
Phone number parsed (one dataset row)$0.001
Barcode SVG$0.002
Payment URI$0.001

Examples: the prefilled phones list costs $0.005 ($0.001 start + $0.001 for each of the four numbers, including the invalid one). The invoice example costs $0.011 ($0.001 start + $0.01 for the PDF). A missing phone (run vZgws9bVRDWTwkuTs) returned 0 rows and was charged the start fee only.

Skipped inputs add no charge; the start fee still applies once per run. A run that returns 0 rows (for example an invoice with no line items, or a missing phone) is not charged per document, number or barcode. An invalid number still returns a row with valid: false and is charged $0.001.

Limits

  • Phone checks are numbering-plan validation only. They do not tell you if a number is in service, ported, or registered on WhatsApp.
  • Invoice and receipt PDFs are generated on the Actor. There is no network source, so there is no source-outage event.
  • Barcode types are those supported by bwip-js (for example code128, ean13). Invalid or empty payloads are skipped with a reason.
  • Up to 200 line items per invoice; barcode text up to 2,000 characters; one number per phone in phones.
  • Skipped inputs add no charge; the start fee still applies.

What each field means

  • Phone rows: input, valid, possible, e164, country, calling_code, national_number, type, international, national, rfc3966, extension, non_geographic (and error when the number cannot be parsed)
  • Invoice or receipt rows: filename, pages, totals, pay_uri, bytes, pdf_base64
  • Barcode rows: format, symbology, text, svg

FAQ

Is this a live phone validator like a carrier or WhatsApp check?

No. It parses format, country and E.164 from the numbering plan. It does not query a carrier, a DNC list, or a messaging network.

What if I leave the line items empty?

The run succeeds with 0 rows and a reason. You are not charged for a document. The start fee still applies.

Can I only validate phones, without making a PDF?

Yes. Set mode to phone_validate or phone_extract.

What if I send a field name this Actor does not use? If none of the fields you send is one listed under Input, the run ends as SUCCEEDED with 0 rows and the status message names the unknown field; only the start fee is charged. An empty input runs the example input shown under Input. Common alternative names are read as the documented field, for example numbers as phones and item as items.

Can I call it from code or an AI agent? Yes. Call it through the Apify API with your Apify token, or add it to an agent through Apify's MCP server (mcp.apify.com), and read the dataset rows.

Licences

libphonenumber-js (MIT), pdf-lib (MIT), bwip-js (MIT), qrcode-generator (MIT), Apify SDK (Apache-2.0).