Get real-time weather forecasts for all regions in Indonesia directly from BMKG (Meteorology, Climatology, and Geophysical Agency). The response is formatted in clean JSON for easy integration with your applications.
BMKG Weather API provides a fast and secure storage solution. You can upload files (such as images, videos, and documents) using the POST method, and retrieve them anytime using the GET method.
All API requests must include your API Key. You can pass the API Key in two ways:
Authorization: Bearer <API_KEY>?apikey=<API_KEY> to the endpoint URL.A simple way to test the API directly from your terminal.
Using the native fetch API and form-data library in Node.js.
A clean implementation using the popular requests library in Python.
Standard cURL implementation for PHP applications.
Uploading multipart form data using Ruby's standard net/http library.
Using Go's standard library to construct and send multipart requests.