{"uid":"cap_Dyvrfw7VLM0h_plJEPERc","slug":"transit402-dev-subway-service-alerts-47e58f5d","name":"transit402.dev Subway Service Alerts","description":"Active subway service alerts with direction, severity, and estimated delay minutes","url":"https://transit402.dev/subway/alerts","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","default":20,"maximum":50,"minimum":1,"description":"Optional maximum number of alerts to return (1–50, default 20)."},"lines":{"type":"array","items":{"type":"string"},"maxItems":26,"description":"Optional list of subway line letters/numbers to filter by (e.g. [\"L\", \"G\"]). Omit or pass an empty array to get all currently active alerts. GET clients may pass a comma-separated string."}}},"responseSchema":{"type":"json","example":{}},"example":{"request":{"limit":10,"lines":["L","G"]},"response":{"results":[]}},"exampleRequest":{"limit":10,"lines":["L","G"]},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QE5J4ODc20WHYgyCFy1sZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns active subway service alerts filtered by line, including direction, severity, and estimated delay minutes","exampleAgentPrompt":"Are there any active service alerts on the L or G trains right now? Show me up to 10 alerts with their severity and estimated delays.","exampleUseCases":null,"resultDescription":"A list of active subway service alert objects, each containing the affected line(s), direction (uptown/downtown/both), severity level, and estimated delay in minutes — up to the requested limit (default 20, max 50).","failureModes":["Invalid line identifier returns empty results or validation error","limit value outside 1–50 range returns a 400 error","No active alerts returns an empty array","Service unavailable or data feed outage returns a 5xx error","Payment not included or insufficient returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need real-time, structured subway alert data including delay duration and severity for one or more specific lines, especially in an agentic workflow that needs to advise commuters or route around disruptions. Prefer over generic transit APIs when you need delay minutes and directional context in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:55.932Z","isFirstParty":false}