Validate a Brazilian personal tax ID, CPF (free)
Check-digit validation only. Pure arithmetic: nothing is stored or looked up, and the response never echoes the full number, only the masked form.
get/v1/ferramentas/cpf/{valor}
Request
- Base URL: https://api.brazilayer.com
- URL: https://api.brazilayer.com/v1/ferramentas/cpf/{valor}
- Auth: none declared
Path parameters
valorstring required
CPF with or without punctuation
Response
Validation result, with the number masked
Example response
{
"mascarado": "***444777**"
}Changes
No recorded changes to this operation across all 1 revision of this API.