Phone numbers · PE
Peru phone number format
Peru numbers use the country code +51. A mobile number looks like 912 345 678 at home and +51912345678 in international E.164 format.
| Type | Example (national) | International | E.164 | Digits |
|---|---|---|---|---|
| Mobile | 912 345 678 | +51 912 345 678 | +51912345678 | 9 |
| Landline | (01) 1234567 | +51 1 1234567 | +5111234567 | 8 |
| Toll-free | (0800) 12345 | +51 800 12345 | +5180012345 | 8 |
| Premium-rate | (0805) 12345 | +51 805 12345 | +5180512345 | 8 |
| Shared-cost | (0801) 12345 | +51 801 12345 | +5180112345 | 8 |
| Personal (forwarding) number | (0802) 12345 | +51 802 12345 | +5180212345 | 8 |
- Country calling code
- +51
- National (trunk) prefix
- 0
- International call prefix
- 00|19(?:1[124]|77|90)00
- Separate VoIP range
- No
- Time zones
- America/Lima
Validate in code
Check a Peru number.
Send the number as typed plus country: "PE". You get it back in E.164 with its line type, ready to store.
curl https://veqen-app.com/v1/phone/check \
-H "Authorization: Bearer $VEQEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"country": "PE", "phone": "912 345 678"}'import os, requests
r = requests.post(
"https://veqen-app.com/v1/phone/check",
headers={"Authorization": f"Bearer {os.environ['VEQEN_API_KEY']}"},
json={"country": "PE", "phone": "912 345 678"},
timeout=10,
)
result = r.json()
print(result["risk"]["verdict"], result["risk"]["reasons"])const res = await fetch("https://veqen-app.com/v1/phone/check", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VEQEN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"country": "PE", "phone": "912 345 678"}),
});
const result = await res.json();
console.log(result.risk.verdict, result.risk.reasons);Questions
Peru numbers
What is the country code for Peru?
+51. Dial it after your international access code, or use +51 from a mobile phone.
How do I format a Peru phone number in E.164?
Drop the national prefix (0) and add +51. For example 912 345 678 becomes +51912345678.
How many digits is a Peru mobile number?
9 digits after the country code.
Does Peru have VoIP phone numbers?
There is no separate VoIP range in the numbering plan, so VoIP numbers look like ordinary numbers.