REFUGE Restrooms API

⭐ Beginner's Pick Transportation / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

REFUGE Restrooms API helps users find safe, gender-neutral restrooms for transgender, intersex, and gender nonconforming individuals. It requires no authentication, making it easy to integrate into any app. You can search by location coordinates or a text query to return nearby restroom listings.

💡

Beginner Tip

No API key needed — just call the endpoint with latitude and longitude parameters to get nearby restrooms. The /restrooms/by_location endpoint is the most useful starting point.

Available Data

prediction result with confidence score
input name or text
statistical data

Example Response

JSON Response
{
  "route": "Line 1",
  "origin": "Station A",
  "destination": "Station B",
  "departure": "08:30",
  "arrival": "09:15",
  "status": "On Time",
  "delays_min": 0
}

Field Reference

name Name of the restroom location (e.g., business name or building name)
street Street address of the restroom
city City where the restroom is located
accessible Whether the restroom is ADA accessible for people with disabilities
changing_table Whether a baby changing table is available in the restroom
distance Distance in miles from the queried coordinates to this restroom

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://www.refugerestrooms.org/api/docs/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Empty results array No restrooms listed in the database near the requested coordinates
Try a larger city center or check the website to confirm listings exist in the target area
422 Unprocessable Entity Missing or invalid latitude/longitude parameters
Ensure lat and lng are valid decimal numbers (e.g., lat=37.7749&lng=-122.4194)
SSL or HTTPS errors The site uses HTTPS but may have certificate issues in some environments
If testing locally, use curl with --cacert or disable SSL verification temporarily with -k (for dev only)

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 199ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Transportation
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →