🚨 Emergency Contacts API

Comprehensive emergency and support services database for Indonesia, featuring legal aid, mental health support, and traditional emergency services.

Checking API Status...

📡 API Endpoints

GET

All Emergency Contacts

/api/v1/emergency-contacts.json

Returns all regions and contacts with comprehensive data including filtering options.

GET

Specific Region

/api/v1/regions/{region_id}.json

Get contacts for a specific region (e.g., jakarta.json, bandung.json).

GET

Health Check

/api/v1/health-check.json

API health status and statistics including build time and data counts.

GET

Asset Manifest

/api/v1/assets-manifest.json

Available icons, logos, and assets for CDN optimization.

📊 API Statistics

-
Regions
-
Total Contacts
12+
Service Categories
6+
Languages

🚀 Quick Start

Get started with the Emergency Contacts API in just a few lines of code:

JavaScript (Browser)

// Include the API client <script src="https://your-api.pages.dev/emergency-contacts-api.js"></script> // Initialize and get emergency contacts const api = new EmergencyContactsAPI(); const contacts = await api.getEmergencyContacts(); // Filter for women's services const womensServices = await api.getEmergencyContacts({ manualRegion: 'jakarta', filters: { target_demographic: 'women', free_only: true } }); console.log('Emergency contacts:', contacts);

cURL

# Get all emergency contacts curl -X GET "https://your-api.pages.dev/api/v1/emergency-contacts.json" # Get Jakarta contacts only curl -X GET "https://your-api.pages.dev/api/v1/regions/jakarta.json" # Check API health curl -X GET "https://your-api.pages.dev/api/v1/health-check.json"

Python

import requests # Get emergency contacts response = requests.get('https://your-api.pages.dev/api/v1/emergency-contacts.json') data = response.json() print(f"Found {len(data['regions'])} regions") for region in data['regions']: print(f"- {region['name']}: {len(region['contacts'])} service categories")

🎯 Service Categories

🚨 Emergency Services

  • Police Emergency (110)
  • Medical Emergency (119)
  • Fire Department (113)
  • Search & Rescue (115)

🛡️ Support Services

  • Legal Aid (LBH Network)
  • Mental Health Crisis Lines
  • Women's Rights Organizations
  • Child Protection Services

🤝 Community Support

  • LGBTQ+ Support Groups
  • Disability Advocacy
  • Labor Rights Organizations
  • Social Services

🌍 Languages Supported

  • 🇮🇩 Bahasa Indonesia
  • 🇺🇸 English
  • 🇸🇦 Arabic
  • 🇨🇳 Chinese