Brasil Hub icon

Brasil Hub

Query Brazilian public data (CNPJ, CEP, CPF, Banks, Câmbio, DDD, Holidays, FIPE, IBGE, NCM, PIX, Taxas) with multi-provider fallback

Actions28

IBGE → States

AI-generated

Summary

Retrieve a list of Brazilian states from selected public APIs, normalizing the data for workflow consumption.

Inputs

  • Primary Provider — Select which API provider to query first for retrieving state data; options are Auto (tries BrasilAPI first), BrasilAPI, or IBGE API.
  • Include Raw Response — Optionally include the original raw API response alongside the normalized state data in the output.
  • Timeout (Ms) — Configure the HTTP request timeout in milliseconds for each provider attempt; defaults to 10000 ms, minimum 1000 ms, maximum 60000 ms.

Output shape

a list of state records with normalized fields, optionally including raw API response; one output item containing an array of states per input item.

The data is normalized regardless of the provider used. The raw API response is included only if explicitly enabled. The operation supports fallback behavior to try alternative providers if selected as 'Auto'. Errors per item are handled to not fail the entire execution.

Examples

Example 1: Retrieve all Brazilian states using the IBGE API as the primary provider with raw responses included.

Set Primary Provider to 'IBGE API', Include Raw Response to true; Timeout left as default.

Links

Discussion