Skip to content

REFUGE Restrooms API

by refugerestrooms.org

No authHTTPSTransportation
Open documentation ↗

Overview

Provides safe restroom access for transgender, intersex and gender nonconforming individuals

REFUGE Restrooms is a transportation API from refugerestrooms.org. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 4 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Base URL
https://www.refugerestrooms.org/api
Version
0.0.1
Endpoints
4
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://www.refugerestrooms.org/api/v1/restrooms" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://www.refugerestrooms.org/api/v1/restrooms", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://www.refugerestrooms.org/api/v1/restrooms",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/v1/restroomsGet all restroom records ordered by date descending.
GET/v1/restrooms/by_dateSearch for restroom records updated or created on or after a given date
GET/v1/restrooms/by_locationSearch by location.
GET/v1/restrooms/searchPerform full-text search of restroom records.

Questions

Does the REFUGE Restrooms API need an API key?

No. The REFUGE Restrooms API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the REFUGE Restrooms API support HTTPS?

Yes, the REFUGE Restrooms API is served over HTTPS.

How many endpoints does the REFUGE Restrooms API have?

Its OpenAPI description lists 4 endpoints in version 0.0.1. All of them are shown on this page.

What are alternatives to the REFUGE Restrooms API?

Other Transportation APIs include airportsapi, Transport for London, England, Uber, Transport for Spain, Amadeus for Developers.

Compare alternatives →

Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).