Skip to content

Searchcomplete ​


This endpoint returns example resource that are directly or indirectly related to the given input.

GET /data/searchcomplete/data.json?resource=RIPE
Try it

Parameters ​

KeyValueInfoRequired
resourceterm that should tried to be matched against resources-YES
limitnumberDefines how many suggestions are returned per categoryNO - default: 6

Data Output ​

KeyInfo
categoriesThis contains a list of objects each with a "category" and a "suggestions" property, which contains the suggestions and defines the category they are belonging to.
resourceReflects the query term that the suggestions are based on.
limitThe maximum number of suggestions per category.

Code Examples ​

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

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

Available versions for this endpoint: ​

0.1 (current)