You asked
Which used lens gives a pentax k 500 the most reach for under 300 euros?
The Pentax K-500 is an APS-C body, so every lens below frames about 1.5 times its focal length on full frame. This site doesn't give prices for these lenses, so it can't say which fit under 300 euros. It can say which give the most reach. The guide suggests buying used for long lenses, since they hold their value and used savings are large.
For the most reach, the Pentax HD DA 560mm f/5.6 ED AW frames like 840mm on full frame. It's the longest option, but it's a heavy prime with a slow maximum aperture, so it needs bright light or a high ISO for fast birds.
The Pentax HD D FA 150-450mm f/4.5-5.6 ED DC AW gives 225-675mm equivalent. It's the most reach you can zoom through, and it's close to the 150-600mm class the guide calls the usual answer for wildlife. The [Pentax smc DA* 300mm f/4 ED [IF] SDM](/gear/lenses/pentax-smc-da-300mm-f-4-ed-if-sdm/) frames like 450mm and is faster than the zooms, which helps in dim light. The Tamron AF 70-300mm f/4-5.6 Di LD Macro 1:2 gives 105-450mm equivalent and is the lightest way to get reach.
For birds in flight, the guide suggests shutter speeds of 1/2000s or faster, which pushes ISO up. A faster lens like the 300mm f/4 helps more there than extra stabilisation, which steadies the camera rather than the subject.
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}.