{"type":"api","title":"Get BGP Route Information for ASN","meta":{"id":"/apps/pubhub/media/legacy-umbrella-api/bf58de618cbb72dda8f39b0414ce94c0a15cd467/f963d12c-70c5-3340-bb7c-d5cff60c643a","info":{"title":"Investigate API","description":"Umbrella Investigate API","version":"1.1.4","contact":{"name":"Cloud Security Developer Community"}},"security":[{"bearerAuth":[]}],"tags":[{"name":"Domain Status and Categorization"},{"name":"Domain Volume"},{"name":"Co-occurrences for a Domain"},{"name":"Passive DNS"},{"name":"Tagging Timeline"},{"name":"Subdomains for a Domain"},{"name":"Related Domains for a Domain"},{"name":"Security Information for a Domain"},{"name":"AS Information for a Domain"},{"name":"WHOIS Information for a Domain"},{"name":"Umbrella Popularity List-Top Million Domains"},{"name":"Search Domain"},{"name":"Cisco Secure Malware Analytics Integration"}],"x-parser-conf":{"overview":{"markdownPath":"investigate/investigate-explorer-overview.md"}},"openapi":"3.0.0","servers":[{"url":"https://investigate.api.umbrella.com"}],"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"spec":{"summary":"Get BGP Route Information for ASN","operationId":"getBgpRoutesAsn","tags":["AS Information for a Domain"],"description":"A response to a valid ASN returns an array of hash references.\nEach hash reference contains two keys: geo and cidr.\nGeo is a hash reference with the country name and country code\n(the code corresponds to the country code list for ISO-3166-1 alpha-2).\nCIDR contains the IP prefix for this ASN.\n","parameters":[{"name":"asn","in":"path","required":true,"description":"Autonomous System Number (ASN) for the AS.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success. Returns an array of hash references.","content":{"application/json":{"schema":{"type":"object","properties":{"cidr":{"type":"array","items":{"type":"string"},"description":"A list of the CIDR Range of IP addresses associated with this AS.\nThe CIDR contains the IP prefix for the ASN."},"geo":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"description":"Geo is a hash reference with the country name and country code\n(the code corresponds to the country code list for ISO-3166-1 alpha-2).\nFor more information, see [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)."}}},"example":{"cidr":["98.143.32.0/20"],"geo":{"name":"United States","id":10}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/400Error"},"401":{"description":"Unauthorized request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/401Error"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/403Error"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/404Error"},"500":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/500Error"}},"__originalOperationId":"getBgpRoutesAsn","security":[{"bearerAuth":[]}],"method":"get","path":"/bgp_routes/asn/{asn}/prefixes_for_asn.json"}}