I'm not seeing any departures for Union Square or Lechmere stations on the Green line using the /predictions api endpoint.
I'm looking out for these stop ids:
Union Square: 70504, 70503
Lechmere: 70210, 70209, 70502, 70500, 70501
I notice your official schedule page doesn't show realtime departures for these two stops either: