Generates realistic-looking phone numbers for testing and mockups via `/v1/lorem/phones`. Perfect for populating forms, UI prototypes, and test datasets without using real numbers. Returns formatted phone numbers in various styles (US, international, extensions). Claude Code and other MCP-enabled editors can generate batches instantly for development workflows.
curl "https://tinyfn.io/v1/lorem/phones" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/lorem/phones', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/lorem/phones',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's lorem ipsum tools:
{
"mcpServers": {
"tinyfn-lorem": {
"url": "https://tinyfn.io/mcp/lorem",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Use the Generate Phones tool directly in your editor. Specify count and format preferences, and it returns formatted phone numbers ready for your code or mockups.
Returns US format (555) 123-4567, international +1-555-123-4567, and numbers with extensions. All use safe ranges that won't connect to real phones.
Yes, generated numbers use reserved ranges (555, 800) and fake area codes that won't route to actual phones, making them perfect for development and testing.
The tool focuses on US-style numbers with safe prefixes. For international testing, you can request different format styles within the US numbering system.
You can generate multiple numbers in a single API call. Specify the quantity parameter to get batches for populating large datasets or test fixtures.
Get your free API key and start using Generate Phones in seconds.
Get Free API Key