Date created: Thursday, April 13, 2023 11:18:46 AM. Last modified: Thursday, April 13, 2023 11:50:44 AM

IRRd

GraphQL Example Queries

Get all member ASNs of an AS-SET tree, from a specific source:

query {
recursiveSetMembers(setNames: ["AS-VOSTRON"], sources: ["RIPE"], sqlTrace: false) {
rpslPk
rootSource
members
}
}

Get all prefixes of an AS-SET tree, from specific sources:

query {
asSetPrefixes(setNames: ["AS-VOSTRON"], ipVersion:6, sources: ["RIPE"], sqlTrace: false) {
rpslPk
prefixes
}
}

Get all prefixes of an ASN, from specific sources:

query {
asnPrefixes(asns: [41695], ipVersion:6, sources: ["RIPE"]) {
asn
prefixes
}
}