Warning: bgproutes.io is currently under active development. Infrastructure changes may occur frequently and could lead to data loss. For up-to-date information on available data, please visit the vantage_points page. We do not offer any service level guarantees.

📡 bgproutes.io MRT Archive Documentation


bgproutes.io collects BGP data from its vantage points and stores it in standard MRT files.
These files are publicly available at mrt.bgproutes.io.


💡 In most scenarios, we recommend using our API instead of downloading and parsing MRT files. The API provides faster, more convenient access to data and supports powerful filters. However, in some advanced use cases — such as when you need all raw BGP messages or want to inspect low-level attributes (e.g., the size of the NLRI field) — MRT files may be more appropriate.


📦 Archive Structure


Here are key points about how we structure our MRT archive:

  • MRT files are organized per vantage point, making it easy to isolate data from specific routers.
  • Update files are generated and saved every 5 minutes.
  • RIB (Routing Information Base) snapshots are created every 8 hours.

🔧 Parsing MRT Files


MRT files follow the standard format and can be parsed using tools like bgpdump or other BGP analysis software.

For more flexibility and automation, we also offer a Python library.


🐍 Python Library: pybgproutesmrt


The pybgproutesmrt library provides a simple interface for:

  • Downloading MRT files based on specific time ranges, types (RIB or update), or vantage points;
  • Parsing the content using Python on Linux and macOS.

📚 Full usage instructions and documentation are available in the GitHub repository of the library.


For bug reports or feature requests, feel free to open an issue or submit a pull request on the pybgproutesmrt GitHub repository.

For all other inquiries, contact us at contact@bgproutes.io.

Enjoy querying BGP data! 🌐

© 2025 bgproutes.io. All rights reserved.