You asked
Is the sony fe 24 50mm f 2 8 g good for astrophotography?
The site doesn't cover astrophotography, so it can't rate the Sony FE 24-50mm f/2.8 G for night sky work. What it can tell you is what the lens offers. The Sony FE 24-50mm f/2.8 G page lists a maximum aperture of f/2.8, autofocus, and full frame coverage. It is not stabilised.
For dim scenes, the guide's aperture section explains that a wider opening lets in more light and allows faster shutter speeds. At f/2.8 this zoom is a reasonable step up from slower zooms, and it keeps the same exposure across its range. Stabilisation steadies the camera, not the subject, so for dim scenes its absence matters less than the aperture.
If you want a faster lens for night work, the site also lists the Sony FE 50mm f/2.5 G. Its f/2.5 opening lets in more light than this zoom's f/2.8, though it covers a narrower view. The guide's first lenses advice points to a fast standard prime for low light, so a prime like this suits that role. The zoom's advantage is its flexibility when framing.
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}.