BGP routes by country


Is anyone offering a service providing BGP routes by country? I’m not looking to buy transit, but rather build policies based on the routes received to allow traffic from certain countries, or disallow traffic from others. Kind of like the the CYMRU bogons list, but, by country.

Thank you in advance.

this might be useful to you

RIR Delegations data is public.

The various RIR delegation statistics can be gotten from:

They do follow the format in the rir-statistics exchange format doc. They are not necessarily located or replicated as described (apparently). Of course, the country code does not necessarily reflect where the resource is used -- I believe it is the CC of the registering org. If it were so simple then all the geolocation companies would be outa business in a flash.