Skip to main content
POST
/
validity
Validate multiple routes
curl --request POST \
  --url https://api.hixbe.com/rpki/validity \
  --header 'Content-Type: application/json' \
  --data '
{
  "routes": [
    {
      "asn": "AS64496",
      "prefix": "192.0.2.0/24"
    },
    {
      "asn": "AS64497",
      "prefix": "2001:db8::/32"
    }
  ]
}
'
{
  "validated_routes": [
    {
      "route": {
        "origin_asn": "AS64496",
        "prefix": "192.0.2.0/24"
      },
      "validity": {
        "state": "valid",
        "reason": "<string>",
        "description": "<string>"
      },
      "vrps": {
        "matched": [
          {
            "asn": "AS64496",
            "prefix": "192.0.2.0/24",
            "max_length": 24
          }
        ],
        "unmatched_as": [
          {
            "asn": "AS64496",
            "prefix": "192.0.2.0/24",
            "max_length": 24
          }
        ],
        "unmatched_length": [
          {
            "asn": "AS64496",
            "prefix": "192.0.2.0/24",
            "max_length": 24
          }
        ]
      }
    }
  ]
}
Validates multiple route announcements in a single request. Accepts JSON body with array of routes (limited to 100 kB). Use Cases:
  • Bulk route validation
  • BGP table validation
  • Batch processing
  • Efficient multi-route checks

Body

application/json

Array of routes to validate

routes
object[]
required

Array of routes to validate (limited by 100 kB body size)

Maximum array length: 1000

Response

Successful response with validation results

validated_routes
object[]
required