Refuge Restrooms API
refugerestrooms · Data
REFUGE is a web application that seeks to provide safe restroom access for transgender, intersex, and gender nonconforming individuals.
Authentication
Sample Requests
Get all restroom records ordered by date descending.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms?ada=true&page=1&offset=0&unisex=true&per_page=10"
import requests
params = {
"ada": "true",
"page": "1",
"offset": "0",
"unisex": "true",
"per_page": "10"
}
response = requests.get(
"https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms');
url.searchParams.set('ada', 'true');
url.searchParams.set('page', '1');
url.searchParams.set('offset', '0');
url.searchParams.set('unisex', 'true');
url.searchParams.set('per_page', '10');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms")
q := baseURL.Query()
q.Set("ada", "true")
q.Set("page", "1")
q.Set("offset", "0")
q.Set("unisex", "true")
q.Set("per_page", "10")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms")
uri.query = URI.encode_www_form({
"ada" => "true",
"page" => "1",
"offset" => "0",
"unisex" => "true",
"per_page" => "10"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms?" . http_build_query([
"ada" => "true",
"page" => "1",
"offset" => "0",
"unisex" => "true",
"per_page" => "10"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Search for restroom records updated or created on or after a given date
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_date?ada=true&day=1&page=1&year=2024&month=1&offset=0&unisex=true&updated=true&per_page=10"
import requests
params = {
"ada": "true",
"day": "1",
"page": "1",
"year": "2024",
"month": "1",
"offset": "0",
"unisex": "true",
"updated": "true",
"per_page": "10"
}
response = requests.get(
"https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_date",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_date');
url.searchParams.set('ada', 'true');
url.searchParams.set('day', '1');
url.searchParams.set('page', '1');
url.searchParams.set('year', '2024');
url.searchParams.set('month', '1');
url.searchParams.set('offset', '0');
url.searchParams.set('unisex', 'true');
url.searchParams.set('updated', 'true');
url.searchParams.set('per_page', '10');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_date")
q := baseURL.Query()
q.Set("ada", "true")
q.Set("day", "1")
q.Set("page", "1")
q.Set("year", "2024")
q.Set("month", "1")
q.Set("offset", "0")
q.Set("unisex", "true")
q.Set("updated", "true")
q.Set("per_page", "10")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_date")
uri.query = URI.encode_www_form({
"ada" => "true",
"day" => "1",
"page" => "1",
"year" => "2024",
"month" => "1",
"offset" => "0",
"unisex" => "true",
"updated" => "true",
"per_page" => "10"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_date?" . http_build_query([
"ada" => "true",
"day" => "1",
"page" => "1",
"year" => "2024",
"month" => "1",
"offset" => "0",
"unisex" => "true",
"updated" => "true",
"per_page" => "10"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Search by location.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_location?ada=true&lat=51.5074&lng=1&page=1&offset=0&unisex=true&per_page=10"
import requests
params = {
"ada": "true",
"lat": "51.5074",
"lng": "1",
"page": "1",
"offset": "0",
"unisex": "true",
"per_page": "10"
}
response = requests.get(
"https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_location",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_location');
url.searchParams.set('ada', 'true');
url.searchParams.set('lat', '51.5074');
url.searchParams.set('lng', '1');
url.searchParams.set('page', '1');
url.searchParams.set('offset', '0');
url.searchParams.set('unisex', 'true');
url.searchParams.set('per_page', '10');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_location")
q := baseURL.Query()
q.Set("ada", "true")
q.Set("lat", "51.5074")
q.Set("lng", "1")
q.Set("page", "1")
q.Set("offset", "0")
q.Set("unisex", "true")
q.Set("per_page", "10")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_location")
uri.query = URI.encode_www_form({
"ada" => "true",
"lat" => "51.5074",
"lng" => "1",
"page" => "1",
"offset" => "0",
"unisex" => "true",
"per_page" => "10"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/refugerestrooms.org/0.0.1/v1/restrooms/by_location?" . http_build_query([
"ada" => "true",
"lat" => "51.5074",
"lng" => "1",
"page" => "1",
"offset" => "0",
"unisex" => "true",
"per_page" => "10"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Refuge Restrooms API?
Refuge Restrooms API is a Data API. Developers commonly use data APIs for:
- enriching your app with third-party datasets
- building data pipelines and ETL workflows
- querying and searching large datasets
- powering research, analysis, and reporting tools
- syncing reference data into your own systems
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Refuge Restrooms API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide