The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. πŸ‡§πŸ‡· Brazil States and Cities API
Public

19
47
19
47
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • GraphQL API Playground
    API Playground
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

  1. πŸ‡§πŸ‡· Brazil States and Cities API

Database with all Brazilian states and cities. Developers are able to fetch data using GraphQL or REST API and get started with multiple programming languages (NodeJS, Java, Kotlin, Flutter, and many more).

  • Cities
  • Swift
  • GraphQl
  • Brazil
  • REST
  • API
  • Geography
  • Android
  • Python
  • Javascript
  • Data Source
  • JSON
  • PHP
  • Database
  • Cities by State
  • Flutter
  • States
  • GIS
  • Datasets
  • Open-Source
  • Fetch
  • Developer
  • Objective-C
  • Dart
  • List
  • Kotlin
  • Brazilian States and Cities

Get StartedFetchΒ Data
ClassClassesDescription
ClassStateProvince
Database with all states of Brazil.
ClassCity
Database with more than 5,000 cities in Brazil
ClassCountry
Brazil data including total area, capital, currency, continent, emoji, ISO code, neighboring countries, population, telephone code.
ClassShape
Brazilian border shape coordinates
ClassLanguage
Portuguese language
ClassContinent
South America Continent
NotesNotes

List of States and Cities in Brazil

This is a very detailed database with data about the states and city of Brazil. The database has 6 data sets as follows:

  • Data set with all states of Brazil
  • Data set with all cities in Brazil
  • Data set on geographic data from Brazil
  • Data set with Geo Json of the geographical coordinates of Brazil's borders
  • Data set with the official language of Brazil
  • Dataset with the continent on which Brazil is located

The data sets are structured as follows:

Dataset - States of Brazil

  • State name in String format
  • All cities in a State in Relation format

Dataset - Cities in Brazil

  • City name in String format
  • Pointer to the State

Dataset - Country

  • Name of capital in String format
  • Area in Square Kilometers
  • Relationship with all cities in Brazil
  • Brazilian currency in String format
  • Emoji in String format
  • ISO in String format
  • Border countries in Array format
  • Number format population
  • Relationship with all States

Dataset - Shapes or Borders

  • Country borders in String format

Database made by developers, for developers

The database was specially designed to meet the needs of a developer. A programmer can perform the following actions:

  • Connect any application to the database
  • Perform queries and retrieve data from the database
  • Clone and make changes to the database
  • Find relationships between fields (for example, list of cities by State)
  • Download the database in a JSON format

Advantages for the developer

Here are some ways in which the developer can benefit from using the service:

  • Insert data in autocomplete forms
  • Access / retrieve data from different data sources in a single API key
  • Run multiple queries on multiple data sets and centralize results
  • Receive regular updates from the data sources to which the API Key is connected

Examples of how to use the Brazilian States and Cities database

  • Get the list of cities for each state
  • List all cities that begin with the letter A
  • Count Cities - Count the total number of cities in Brazil

Consume data using different programming languages

  • NodeJS - Consume data with JS Code
  • JavaScript - Consume data with Java Script code
  • Swift - Consume data with Apple Swift code
  • Objective-C - Consume data with Apple Objective code -C
  • Kotlin Android - Consume data with Android Kotlin code
  • Kotlin - Consume data with Kotlin code
  • Java Android - Consume data with Android Java code
  • PHP - Consume data with PHP code
  • Python - Consume data with Python code
  • Java - Consume data with Java code
  • Flutter - Consume data with Flutter code
  • Dart - Consume data with Dart code

Data source

Data obtained from the Geonames website.

Other relevant databases

  • Coronavirus COVID-19
  • Continents, Countries and Cities of the World
  • List of ZIP Codes by Country