{"x402Version":2,"resources":[{"url":"https://nyc-subway-x402.vercel.app/arrivals","method":"GET","description":"Real-time NYC subway arrival predictions from the official MTA GTFS-realtime feeds. Given a station name, a route/line (e.g. F, 4, N, L), and a direction (uptown/downtown), returns the next scheduled arrivals with live minutes-until-arrival, destination, and any active service alerts for that line. Use this for questions like 'next F train at 34 St', 'when is the next uptown 6 train', or 'NYC subway arrivals near me'.","mimeType":"application/json","serviceName":"nyc-subway-arrivals","tags":["nyc subway","mta","mta realtime","new york city transit","subway arrivals","transit","gtfs-realtime","next train"],"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xf1AE59673FC799980d9C3735bA200620ccEa619b","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{"station":"34 St-Herald Sq","route":"F","direction":"uptown"}},"output":{"type":"json","example":{"station":{"id":"D17","name":"34 St-Herald Sq"},"route":"F","direction":"uptown","arrivals":[{"minutesUntilArrival":3,"arrivalTime":"2026-09-19T23:41:12.000Z","destination":"Jamaica-179 St","tripId":"091850_F..N"}],"alerts":[{"headerText":"F trains are running with delays in both directions"}],"dataTimestamp":"2026-09-19T23:38:02.000Z","fetchedAt":"2026-09-19T23:38:04.512Z"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","properties":{"station":{"type":"string","description":"NYC subway station name as it appears on MTA signage, e.g. '34 St-Herald Sq', 'Times Sq-42 St', 'Atlantic Av-Barclays Ctr'. Matching is case-insensitive and tolerant of partial names."},"route":{"type":"string","description":"Subway route/line id, e.g. '1','2','3','4','5','6','7','A','B','C','D','E','F','G','J','L','M','N','Q','R','SI','W','Z','GS'."},"direction":{"type":"string","enum":["uptown","downtown","north","south"],"description":"Direction of travel. 'uptown'/'north' and 'downtown'/'south' are equivalent."}},"required":["station","route","direction"]}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}]}