You asked

Which used macro lens gives the closest magnification on the eos r7 under 500 euros?

For the closest magnification on the Canon EOS R7, the guide's list points to the Laowa ultra-macro lenses. The Canon EOS R7 page lists them, and their names state the ratios. The Laowa Aksen 17.5mm f/1.7 is rated 5-10X, the highest on the list, but it is a very close-focusing lens and needs careful lighting and focus. The Laowa 25mm f/2.8 2.5-5X Ultra Macro is also rated 2.5-5X and is a more forgiving choice at a similar magnification. For more working distance, the Laowa Aksen 45mm f/2.8 is rated 1-5X. Its lower top magnification is the trade-off for easier subject distance and framing.

If you want autofocus and simpler use, the Canon RF 35mm f/1.8 Macro IS STM is the native option. It gives up a lot of magnification compared with the Laowa lenses, but it is the easiest to live with on the R7.

I can't confirm which of these fit under 500 euros. The guide's pages here don't give prices, and it doesn't say which lenses are used. Check each lens page's "Price in France" section, which gives the checked date and shop links, and remember prices change. The buying used page explains why a used lens can be a good way to save money on gear like this.

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}.