Skip to content
PSGC Cloud Logo White
  • Home
  • Documentation
  • Contact
PSGC Cloud Logo White
  • Home
  • Documentation
  • Contact

Public API

7
  • PSGC Regions API Documentation
  • PSGC Provinces API Documentation
  • PSGC Cities Municipalities API Documentation
  • PSGC Cities API Documentation
  • PSGC Municipalities API Documentation
  • PSGC Sub-Municipalities API Documentation
  • PSGC Barangays API Documentation
  • Home
  • Docs
  • Public API
  • PSGC Sub-Municipalities API Documentation
View Categories

PSGC Sub-Municipalities API Documentation

1 min read

This API lets you retrieve information about sub-municipalities and their barangays in the Philippines. The API returns data in JSON format, providing a convenient way to access the information programmatically.

Accessing All Sub-Municipalities #

To access all sub-municipalities, you can make a GET request to the following endpoint:

https://psgc.cloud/api/sub-municipalities

This will return a JSON object containing information about all the sub-municipalities in the Philippines.

Accessing a Single Sub-Municipality #

If you want to retrieve information about a specific sub-municipality, you can use either the sub-municipality code or name value. For example, to access the sub-municipality with code “1380602000”, you can make a GET request to the following endpoint:

https://psgc.cloud/api/sub-municipalities/1380602000

This will return a JSON object containing information about the sub-municipality with the specified code.

Accessing Barangays of a Sub-Municipality #

To access the barangays within a sub-municipality, you can append “/barangays” to the sub-municipality endpoint. For example, to retrieve the barangays within the sub-municipality with code “1380602000”, you can make a GET request to the following endpoint:

https://psgc.cloud/api/sub-municipalities/1380602000/barangays

This will return a JSON object containing information about the barangays within the specified sub-municipality.

That’s it! You now have the necessary information to start using the PSGC Cloud Sub-Municipalities API. Feel free to explore the different endpoints and retrieve the data you need for your applications.

What are your Feelings
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on February 10, 2024
PSGC Municipalities API DocumentationPSGC Barangays API Documentation

Powered by BetterDocs

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Accessing All Sub-Municipalities
  • Accessing a Single Sub-Municipality
  • Accessing Barangays of a Sub-Municipality

Copyright © 2025 PSGC Cloud