Discover/Gov API
live

Gov APIearthquake.phivolcs.dost.gov.ph

Access real-time and historical Philippines earthquake data from PHIVOLCS — latest events, monthly archives, and detailed bulletins with intensities and depth.

Endpoint health
verified 1d ago
get_earthquake_bulletin_url
get_latest_earthquakes
get_monthly_earthquakes
get_earthquake_detail
list_available_archives
5/5 passing latest checkself-healing
Endpoints
5
Updated
2d ago

What is the Gov API?

This API exposes 5 endpoints covering earthquake data from the Philippine Institute of Volcanology and Seismology (PHIVOLCS), returning fields like magnitude, depth, coordinates, tectonic origin, and shaking intensities. Use get_latest_earthquakes to pull current-month seismic events directly from the PHIVOLCS bulletin system, or query any historical month going back through the full archive. Detailed bulletin pages include damage expectations, aftershock outlooks, and epicentral map image URLs.

Try it

No input parameters required.

api.parse.bot/scraper/59541784-c125-412a-a5b4-0b05b4d4e4b9/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/59541784-c125-412a-a5b4-0b05b4d4e4b9/get_latest_earthquakes' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace earthquake-phivolcs-dost-gov-ph-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: PHIVOLCS Earthquake SDK — seismic event queries, bounded and re-runnable."""
from parse_apis.PHIVOLCS_Earthquake_Information_API import (
    Phivolcs, Month, Year, EarthquakeNotFound,
)

client = Phivolcs()

# List the latest earthquakes for the current month (capped at 5).
for eq in client.earthquakes.latest(limit=5):
    print(eq.date_time, eq.magnitude, eq.location)

# Retrieve historical earthquakes for a specific month using enums.
for eq in client.earthquakes.by_month(year=Year._2025, month=Month.FEBRUARY, limit=3):
    print(eq.date_time, eq.magnitude, eq.depth_km)

# Drill into the first recent earthquake's full bulletin detail.
quake = client.earthquakes.latest(limit=1).first()
if quake:
    detail = quake.detail()
    print(detail.magnitude_full, detail.origin, detail.expecting_damage)

# Build a bulletin URL from known event identifiers.
built = client.earthquakes.build_url(date_time_code="2025_0204_2134", bulletin_suffix="B3F")
print(built.url)

# Discover available archive months.
for archive in client.archives.list(limit=3):
    print(archive.year, archive.month, archive.url)

# Typed error handling: catch a not-found when fetching a bad bulletin.
try:
    bad = client.earthquake("https://earthquake.phivolcs.dost.gov.ph/2099_Earthquake_Information/January/2099_0101_0000_B1.html")
    bad.detail()
except EarthquakeNotFound as exc:
    print(f"Not found: {exc}")

print("exercised: earthquakes.latest / earthquakes.by_month / quake.detail / earthquakes.build_url / archives.list / EarthquakeNotFound")
All endpoints · 5 totalmissing one? ·

Fetches the current month's earthquake listings from the PHIVOLCS home page. Returns all recorded seismic events with date/time, coordinates, depth, magnitude, location description, and a link to the full bulletin. The list is ordered most-recent-first and covers the current calendar month only; for older data use get_monthly_earthquakes.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "earthquakes": "array of earthquake summary objects"
  },
  "sample": {
    "data": {
      "earthquakes": [
        {
          "depth_km": "033",
          "latitude": "05.56",
          "location": "030km N 58° W of Balut Island (Municipality Of Sarangani) (Davao Occidental)",
          "date_time": "11 June 2026 - 11:52 AM",
          "longitude": "125.19",
          "magnitude": "1.5",
          "bulletin_url": "https://earthquake.phivolcs.dost.gov.ph/2026_Earthquake_Information/June/2026_0611_0352_B1F.html"
        }
      ]
    },
    "status": "success"
  }
}

About the Gov API

Earthquake Listings and Archives

get_latest_earthquakes returns the current month's seismic events as an array of objects, each carrying date_time, latitude, longitude, depth_km, magnitude, location, and a bulletin_url linking to the full event record. For any past month, get_monthly_earthquakes accepts a year (integer) and a full month name (e.g., "March") and returns the same data shape. To discover which year/month combinations are available in the archive, call list_available_archives, which returns an array of objects with year, month, and url.

Bulletin Detail

get_earthquake_detail takes a bulletin_url from any listing endpoint and returns the full event record: origin (tectonic type), magnitude_full (with scale designation), depth_of_focus_km, location_full (narrative description with coordinates), expecting_damage, date_time, issued_on, bulletin_no, prepared_by initials, and a map_image_url pointing to the epicentral map. The map_image_url field may be null if no map was published with the bulletin.

URL Construction Helper

get_earthquake_bulletin_url is a client-side utility that constructs a bulletin URL from a date_time_code (format YYYY_MMDD_HHMM) and a bulletin_suffix (e.g., "B3F", "B1"). No network request is made — it assembles the standard PHIVOLCS URL pattern and returns the url string, which can then be passed directly to get_earthquake_detail.

Coverage Notes

All data reflects official PHIVOLCS bulletin records for the Philippines region. Event records span multiple years via the archive system. The get_earthquake_detail endpoint surfaces the shaking intensity table where published, covering affected provinces and municipalities at various intensity levels.

Reliability & maintenanceVerified

The Gov API is a managed, monitored endpoint for earthquake.phivolcs.dost.gov.ph — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when earthquake.phivolcs.dost.gov.ph changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official earthquake.phivolcs.dost.gov.ph API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1d ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor real-time seismic activity in the Philippines using magnitude and depth fields from get_latest_earthquakes
  • Build historical earthquake frequency charts for a given province by iterating get_monthly_earthquakes across archived months
  • Trigger damage-assessment workflows when expecting_damage is affirmative in a bulletin detail response
  • Display epicentral maps in a web app by consuming the map_image_url field from get_earthquake_detail
  • Construct time-series datasets of Philippine seismicity by looping through all entries returned by list_available_archives
  • Cross-reference tectonic origin types using the origin field to study fault activity patterns over time
  • Feed bulletin numbers and preparer initials into an audit log for official PHIVOLCS record tracking
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does PHIVOLCS provide an official developer API?+
PHIVOLCS does not publish a documented public REST or data API for earthquake bulletins. Official data is available through their website at earthquake.phivolcs.dost.gov.ph, but there is no supported programmatic interface with endpoints, authentication keys, or documented response schemas.
What does `get_earthquake_detail` return beyond what the listing endpoints provide?+
get_earthquake_detail expands a bare listing record into the full bulletin: tectonic origin, magnitude_full with scale type, depth_of_focus_km, location_full narrative, expecting_damage, shaking intensities by area, bulletin_no, issued_on timestamp, prepared_by initials, and a map_image_url. The listing endpoints (get_latest_earthquakes, get_monthly_earthquakes) only return the summary row fields — coordinates, depth, magnitude, location string, and bulletin URL.
How far back does the archive go?+
The available range depends on what PHIVOLCS exposes through their archive navigation. Call list_available_archives to get the actual set of year/month combinations currently accessible; it reflects only what the bulletin system makes available, not a fixed historical window.
Does the API return raw seismogram data or sensor waveforms?+
No. The API covers bulletin-level records: event metadata, shaking intensities, tectonic origin, depth, and magnitude. Raw waveform data, station readings, and sensor telemetry are not part of the PHIVOLCS bulletin pages these endpoints cover. You can fork this API on Parse and revise it to add an endpoint if PHIVOLCS publishes that data elsewhere in a retrievable form.
Are tsunami warnings or volcanic activity data included?+
Not currently. The API is scoped to earthquake bulletins only — seismic event records with magnitude, depth, intensity, and damage expectation fields. PHIVOLCS also publishes tsunami advisories and volcanic activity bulletins on separate sections of their site. You can fork this API on Parse and revise it to add endpoints targeting those bulletin types.
Page content last updated . Spec covers 5 endpoints from earthquake.phivolcs.dost.gov.ph.
Related APIs in Government PublicSee all →
hailpoint.com API
Retrieve historical hail maps and detailed storm impact data by location, state, city, or date range. Search for hail events by keyword or geographic filters, view damage severity categories, and access hail report markers with geographic coordinates.
zoom.earth API
Search Zoom Earth for places and get live environmental data including weather forecasts by coordinates, satellite imagery timestamps, active tropical storm tracks, active fires, and current platform status.
ph.jobstreet.com API
Search for jobs and explore detailed listings from JobStreet Philippines, including job descriptions, company profiles, and hiring information. Discover employment opportunities by browsing job classifications and viewing all open positions from specific companies.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
dotproperty.com.ph API
Search for residential properties for rent or sale on Dot Property Philippines and retrieve detailed information like pricing, specifications, and agent details from individual listings. Access comprehensive property data to compare options and make informed real estate decisions.
metoffice.gov.uk API
Access detailed UK weather forecasts, real-time lightning tracking, and weather warnings from the Met Office. Search locations to retrieve hourly, daily, regional, and long-range predictions, and monitor storm activity with spot forecasts across any geographic area.
lightningmaps.org API
Track real-time lightning strikes across the globe with precise coordinates, timestamps, and accuracy measurements from the Blitzortung.org network. Query live strike data and access information about detector stations worldwide to monitor weather patterns and atmospheric activity as it happens.
shopee.ph API
Search and browse Shopee Philippines products, view detailed product information with customer reviews, and discover shop details and inventory. Access product search suggestions and explore the full category tree to find what you're looking for on the marketplace.