# validatephonenumber: Validate Phone Number – Check and Format

> validatephonenumber (Validate Phone Number – Check and Format) is a 1001fx API function in the group Data & JSON: POST https://api.1001fx.com/data/validatephonenumber, 1 credit per call. It works as a ready-made module in Make or as a plain HTTP call.

Checks whether a phone number is valid and returns it in E.164 (+4930…), international and national format, with country and type (mobile, fixed line, toll free …). Uses the Google libphonenumber metadata.

- Group: Data & JSON
- Endpoint: `POST https://api.1001fx.com/data/validatephonenumber`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 1 credit per call
- Ready-made in: Make
- Docs: https://1001fx.com/functions/validatephonenumber

## Parameters

- `phoneNumber` (string, required) – Phone number: In any notation, e.g. 030 1234567 or +49 30 1234567.
- `defaultCountry` (string, optional) – Default country: ISO country code for numbers without +, e.g. DE.

## Example: Validate Phone Number – Check and Format

```bash
curl -X POST 'https://api.1001fx.com/data/validatephonenumber' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"phoneNumber":"030 1234567","defaultCountry":"DE"}'
```
