You asked

Is the sony e 15mm f 1 4 g good for astrophotography?

The site doesn't have a page on astrophotography, so it can't give a verdict on this lens for night-sky work. It does have the lens's specs, and those point in a useful direction.

The Sony E 15mm f/1.4 G page describes a prime for APS-C cameras with a maximum aperture of f/1.4. On an APS-C body it frames like a 22mm lens on full frame. Wide framing suits a night sky, and a wide aperture lets in much more light than a typical kit zoom. The page also says the lens is not stabilised. For stars, that matters less than the aperture, because the site's general rule is that stabilisation steadies the camera, not the subject, and the aperture and sensor size decide how much light you get. The page lists many Sony bodies it fits, including full-frame models that run it in APS-C crop mode at fewer megapixels.

The site's guide to a first lens explains why a fast prime earns its place for dim scenes, and the portraits page covers how wide apertures behave at close range. Neither covers stars, so treat the reasoning as general rather than a tested recommendation for this lens.

For a firm answer on star photography, check sample images and noise performance from a source that covers night-sky shooting.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.