This API is similar with the
IP addresses [FLAT] however have some advantages and disadvantages in respect:
IP addresses [FLAT]
You can call the API
/api/v1/ipv4/:min_score?format=csv in order to receive a plain text list (CSV) of IPv4 based on Min Score.
GET /api/v1/ipv4/:min_score?format=CSV&page=BASE64String HTTP/1.1 Host: app.onefirewall.com Authorization: Bearer PLACE_YOUR_OWN_TOKEN_HERE next_page: BASE_64_NEXT_PAGE_CURSOR
|min_score||1 to 1000 (Integer)||Minimum WCF Crime Score Feeds|
|format||CSV or LIST (String)||CSV=the output is CSV, LIST=the output is a list of IPs separated by ‘,’|
|page||String||A cursor that indicates the next page ID to access the next batch of data|
If the response header contains a variable with name
next_page, use the value with the new request on the API in order to retreive the next batch of data for the same Score. If the header is not presented, means there no more data to return.
The possible HTTP Code responses are:
200 OK: The request was received and processed successfully
400 Bad Request: The request was malformed (body contains further explanations)
401 Unauthorized: The request not authorized (body contains further explanations)
402 Payment Required: Not enogh OneFirewall Coins to perform the request
5XX Internal Server Error: The service is momentarily unavailable
In case of an 200 response the body will be presented as the below examples:
X.Y.Z.W X.Y.Z.W X.Y.Z.W X.Y.Z.W .....