Brazilian Area Code (DDD) Lookup
gov.brasilapi.dddLook up a Brazilian DDD (area code) to retrieve the corresponding state and cities.
Instructions
Look up Brazilian area code (DDD, 2 digits) → state and cities. BrasilAPI MIT
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ddd | Yes | Brazilian area code (DDD) — 2 digits (e.g. 11 for São Paulo, 21 for Rio de Janeiro). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |