API & MCP

Everything a person can do on ASN Relationship Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

ASN Relationship Explorer

Explains an Autonomous System Number with RIPEstat data: registered holder and country, neighbours observed in RIPE RIS AS paths (left = towards the collectors, typically upstreams/peers; right = towards the origin, typically customers), announced IPv4/IPv6 prefixes with address-space totals, and a neighbour graph.

Inputs of ASN Relationship Explorer
FieldTypeDefaultDescription
modeselect (live, pasted)"live"Mode
asntext—AS number
maxNeighboursinteger25Neighbours in the graph
pastedtextarea—RIPEstat responses (JSON). Pasted mode: {asn, asOverview, asnNeighbours?, announcedPrefixes?, rirStatsCountry?} — full RIPEstat responses or their "data" objects.

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "asn-relationship-explorer": { "type": "http", "url": "https://asnrelationshipexplorer.usefulweb.site/mcp" }
  }
}