Find an API

Search public APIs with auth details & Postman guides

← All APIs

Incidents

wmata · Company

Company No Auth Free & Open transport

Rail, bus, and elevator disruptions/outages.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET XML - Bus Incidents

Description Returns a set of reported bus incidents/delays for a given Route. Omit the Route to return all reported items. Note that the Route parameter accepts only base route names and no variations, i.e.: use 10A instead of 10Av1 and 10Av2. <

https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/BusIncidents?Route=90

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/BusIncidents?Route=90"
import requests
params = {
    "Route": "90"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/BusIncidents",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/BusIncidents');
url.searchParams.set('Route', '90');

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/wmata.com/incidents/1.0/BusIncidents")
	q := baseURL.Query()
	q.Set("Route", "90")
	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/wmata.com/incidents/1.0/BusIncidents")
uri.query = URI.encode_www_form({
  "Route" => "90"
})

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/wmata.com/incidents/1.0/BusIncidents?" . http_build_query([
    "Route" => "90"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET XML - Elevator/Escalator Outages

Description Returns a list of reported elevator and escalator outages at a given station. Omit the StationCode parameter to return all reported outages. Note that for stations with multiple platforms and therefore StationCodes (e.g.: Metro Center, L

https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/ElevatorIncidents?StationCode=A03

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/ElevatorIncidents?StationCode=A03"
import requests
params = {
    "StationCode": "A03"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/ElevatorIncidents",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/ElevatorIncidents');
url.searchParams.set('StationCode', 'A03');

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/wmata.com/incidents/1.0/ElevatorIncidents")
	q := baseURL.Query()
	q.Set("StationCode", "A03")
	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/wmata.com/incidents/1.0/ElevatorIncidents")
uri.query = URI.encode_www_form({
  "StationCode" => "A03"
})

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/wmata.com/incidents/1.0/ElevatorIncidents?" . http_build_query([
    "StationCode" => "A03"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET JSON - Bus Incidents

Description Returns a set of reported bus incidents/delays for a given Route. Omit the Route to return all reported items. Note that the Route parameter accepts only base route names and no variations, i.e.: use 10A instead of 10Av1 and 10Av2. <

https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/json/BusIncidents?Route=90

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/json/BusIncidents?Route=90"
import requests
params = {
    "Route": "90"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/json/BusIncidents",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/wmata.com/incidents/1.0/json/BusIncidents');
url.searchParams.set('Route', '90');

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/wmata.com/incidents/1.0/json/BusIncidents")
	q := baseURL.Query()
	q.Set("Route", "90")
	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/wmata.com/incidents/1.0/json/BusIncidents")
uri.query = URI.encode_www_form({
  "Route" => "90"
})

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/wmata.com/incidents/1.0/json/BusIncidents?" . http_build_query([
    "Route" => "90"
]);
$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

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Incidents?

Incidents is a Company API. Developers commonly use company APIs for:

  • enriching CRM records with company firmographics
  • building lead-generation and prospecting tools
  • verifying business identity and registration details
  • monitoring competitors and market intelligence
  • powering B2B data enrichment pipelines

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Incidents is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗