FREE XMR Price API for Onion Services - No Login, No Jump Box, Open Source
Description
xmrgateway: the easiest way to get Monero prices on the onion network. No login, no jump box.
Running a hidden service that needs the XMR price? Price APIs live on the clearnet and many of them block Tor. The usual workaround is a separate clearnet server, a "jump box", that fetches prices and relays them to your onion service. That is one more machine to run, secure and pay for.
xmrgateway removes it. It fetches the prices for you and answers directly over Tor. Your onion service never has to touch the clearnet.
Onion: http://7dlezsewiejhayu3sctmzjtbc7x7edrzgvx3tcfz2oxfz5ddoscioiid.onion
No login, no account, no email, no KYC. Instead of signing up, your computer solves a small proof of work once and gets a token that lasts 90 days.
Two commands, over Tor
1. Get a token:
TOKEN=$(go run github.com/RogueTeam/xmrgateway/cmd/xmrgateway@latest token -url http://7dlezsewiejhayu3sctmzjtbc7x7edrzgvx3tcfz2oxfz5ddoscioiid.onion -proxy socks5h://127.0.0.1:9050)
2. Ask for a price, up to once every 30 seconds:
curl --proxy socks5h://127.0.0.1:9050 -H "X-API-Token: $TOKEN" "http://7dlezsewiejhayu3sctmzjtbc7x7edrzgvx3tcfz2oxfz5ddoscioiid.onion/api/v1/price?currency=EUR"
The answer tells you the price and when you may ask again:
{"currency":"EUR","price":"280.00","updated_at":"...","next_request_at":"..."}
That is the whole integration.
What you get
- The XMR price in USD, EUR, GBP, BTC and dozens of other currencies
- Prices from 17 exchanges and price feeds, refreshed every 10 minutes. A source that disagrees with the rest is thrown out, so one bad feed cannot move the price.
- The same API on the clearnet at https://xmrgateway.com if you need it there too
No Go installed? Download the xmrgateway binary for your system from the GitHub releases page and run "xmrgateway token" the same way.
Open source and easy to self-host
One Go binary, no dependencies, no database. It runs as an OpenBSD service locked down with pledge and unveil, or in Docker. Prefer your own gateway? Run it yourself.
Code: https://github.com/RogueTeam/xmrgateway
The service is provided as is, without any guarantee. Feedback, bug reports and ideas are welcome here or on GitHub.
Donations: 83rDwTZSUThZJZtkYqgxf6R49JFo5UPKm6zUybfw1U3MTxigjufcG7g95NpXyUeYZPUqdGuzDX1LGh4BbdRAeDsS3iBFT29
Category: IT
Tags: foss, open-source, free, price, xmr, api
Published on: November 8, 2026
Views: 7
Legal Notice: Buyers and sellers are responsible for complying with all applicable laws in their jurisdictions. XmrBazaar does not verify legality and assumes no liability. Peer-to-peer cash-for-crypto trades are permitted if not conducted as a business and are compliant with local laws; otherwise, sellers must hold any required licenses or registrations. Listings involving fraud, violence, child exploitation, or other clearly illegal goods or services are strictly prohibited and will be removed once identified. Users are encouraged to report unlawful listings.
About the trader
https://xmrgateway.com
-----BEGIN PGP PUBLIC KEY BLOCK----- mDMEAAAAABYJKwYBBAHaRw8BAQdA8Y7za55ADfzF2lK9KbkhBMJEsdoEgDZYO6cr kHsMila0E3htcmd3QHhtcmJhemFhci5jb22IlAQTFgoAPBYhBKeGV7r+oZVQmN4Z jaGItkdUT1MvBQIAAAAAAhsDBQsJCAcCAyICAQYVCgkICwIEFgIDAQIeBwIXgAAK CRChiLZHVE9TL1xkAP0eysziCe05q5ks9qQ6K3K4/yKpLTJUmnTpIv3203e4TQEA n4CS2p1iWq/jx9ndcxx9Ko9XSmL6ZCcOMM+zSedz4w+4OAQAAAAAEgorBgEEAZdV AQUBAQdABKYeey/zSV8UoHAufNop0piULX1yksOhwFJbKcF8BUoDAQgHiHgEGBYK ACAWIQSnhle6/qGVUJjeGY2hiLZHVE9TLwUCAAAAAAIbDAAKCRChiLZHVE9TL2wj AP94YxjVxZGtlbtPynFE1+48O949RztCaA0AJNPqvMMreAD9GyjTQowGbGgPkvW8 811Kxz5100zXeLUkcE7/88ckCAo= =QlXo -----END PGP PUBLIC KEY BLOCK-----