---
title: "Validate a Brazilian personal tax ID, CPF (free)"
method: GET
path: "/v1/ferramentas/cpf/{valor}"
---

# Validate a Brazilian personal tax ID, CPF (free)

`GET /v1/ferramentas/cpf/{valor}`

## Request

- Base URL: `https://api.brazilayer.com`
- URL: `https://api.brazilayer.com/v1/ferramentas/cpf/{valor}`
- Auth: none declared

Check-digit validation only. Pure arithmetic: nothing is stored or looked up, and the response never echoes the full number, only the masked form.

## Path parameters

- `valor` string, required

## Response `200`

Validation result, with the number masked

- object
  - `valido` boolean
  - `motivo` 'formato_invalido' | 'digito_verificador_invalido' | 'null', nullable
  - `mascarado` string, nullable

---

[API](https://skmtc.dev/brazilayer/apis/brazilayer-brazilian-company-data-cnpj.md) · [All operations](https://skmtc.dev/brazilayer/apis/brazilayer-brazilian-company-data-cnpj/llms.txt) · [OpenAPI document](https://skmtc.dev/brazilayer/apis/brazilayer-brazilian-company-data-cnpj/revisions/609368003291?raw)
