API Endpoints

Complete reference for all available endpoints

Base URL

https://workers.akyatbundok.com/api/public
GET/mountains/search

Search for mountains by name and location

💡 Tip:

You can use the 'c:' filter to narrow your results by country using the ISO 3166-1 alpha-2 code. Example: 'apo c:ph'

Parameters

query(string)required

Search query

Example Response

{
  "success": true,
  "data": [
    {
      "id": "75c0632e-3e8a-4283-8e23-bb7f201cca72",
      "name": "Mount Pulag",
      "elevation_ft": null,
      "elevation_m": 2926,
      "latitude": 16.59772,
      "longitude": 120.89875,
      "prominence_ft": null,
      "prominence_m": 2926,
      "description": "",
      "highlights": null,
      "canonical_url": "pulag",
      "difficulty_level": null,
      "banner_path": "",
      "country_name": "Philippines",
      "province_name": "Benguet",
      "region_name": "Cordillera Administrative Region"
    }
  ]
}
GET/mountains/:canonicalUrl

Get detailed information about a specific mountain

Parameters

canonicalUrl(string)required

URL-friendly mountain identifier

Example Response

{
  "success": true,
  "data": {
    "mountain": {
      "id": "ab58d8f7-d9ac-4092-b680-8ac2ad1d3f0d",
      "created_at": "2025-06-13T00:55:00.148779+00:00",
      "name": "Mount Rainier",
      "elevation_ft": null,
      "elevation_m": 4390,
      "latitude": 46.8528267,
      "longitude": -121.7604408,
      "prominence_ft": null,
      "prominence_m": null,
      "description": null,
      "highlights": null,
      "canonical_url": "mount-rainier-washington",
      "difficulty_level": null,
      "other_name": null,
      "created_by": null,
      "banner_path": null
    },
    "countries": [
      {
        "id": 2,
        "name": "United States",
        "iso_code": "US"
      }
    ],
    "islands": [],
    "ranges": [],
    "regions": [
      {
        "id": 65,
        "name": "Washington"
      }
    ],
    "provinces": []
  }
}