Actions28
- Bank Actions
- Câmbio Actions
- CEP Actions
- CNPJ Actions
- CPF Actions
- DDD Actions
- Fake Actions
- FIPE Actions
- Holiday Actions
- IBGE Actions
- NCM Actions
- PIX Actions
- Taxa Actions
CNPJ → Validate
AI-generatedSummary
Validate a given CNPJ number by sending it to multiple providers with retry on failure, and return the validation result indicating if it's valid along with metadata about the query.
Inputs
- CNPJ (required) — The CNPJ number to validate; can be provided with or without formatting.
- Timeout (Ms) — HTTP request timeout in milliseconds for each provider attempt; defaults to 10000 ms and accepts values from 1000 to 60000.
Output shape
a single JSON object containing validation result fields, including validity status and metadata about the provider query attempt
The operation attempts multiple providers to validate the CNPJ until one succeeds or all fail. The result includes normalized data from the provider and meta information about the request. Errors on all providers will surface as failures.