Skip to content

Blocklist


This endpoint returns blocklist related data for a queried resource.

GET /data/blocklist/data.json?resource=193/23
Try it

Parameters

KeyValueInfoRequired
resourceprefix or IP rangeStates the prefix or IP range you want to get blocklist information forYES
starttimeISO8601 or Unix timestampDefines the starttime for the queryYES
endtimeISO8601 or Unix timestampDefines the endtime for the queryNO - if not set it falls back to now

Data Output

KeyInfo
sourceEach different data source gets one entry, containing blocklist information for this source.
prefixHolds the prefix of the entry in the blocklist data source.
detailsIf available this holds additional informations about the entry.
timelinesHolds time information for the periods the entry appeared in the blocklist data source.
query_starttimeDefines the starttime the query covers.
query_endtimeDefines the endtime the query covers.
resourceDefines the resource used for the query.

Code Examples

bash
curl --location --request GET "https://stat.ripe.net/data/blocklist/data.json?resource=193/23"
js
const requestOptions = {
	method: 'GET',
};

fetch("https://stat.ripe.net/data/blocklist/data.json?resource=193/23", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Available versions for this endpoint:

1.0 (current)