/ssllabs/assessments/endpoints
curl --request POST \
--url https://api.anysite.io/api/ssllabs/assessments/endpoints \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"host": "<string>",
"s": "<string>",
"timeout": 600,
"from_cache": true
}
'import requests
url = "https://api.anysite.io/api/ssllabs/assessments/endpoints"
payload = {
"host": "<string>",
"s": "<string>",
"timeout": 600,
"from_cache": True
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({host: '<string>', s: '<string>', timeout: 600, from_cache: true})
};
fetch('https://api.anysite.io/api/ssllabs/assessments/endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/ssllabs/assessments/endpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'host' => '<string>',
's' => '<string>',
'timeout' => 600,
'from_cache' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/ssllabs/assessments/endpoints"
payload := strings.NewReader("{\n \"host\": \"<string>\",\n \"s\": \"<string>\",\n \"timeout\": 600,\n \"from_cache\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/ssllabs/assessments/endpoints")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"host\": \"<string>\",\n \"s\": \"<string>\",\n \"timeout\": 600,\n \"from_cache\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/ssllabs/assessments/endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"host\": \"<string>\",\n \"s\": \"<string>\",\n \"timeout\": 600,\n \"from_cache\": true\n}"
response = http.request(request)
puts response.read_body[
{
"@type": "SsllabsEndpoint",
"ip_address": "<string>",
"server_name": "<string>",
"status_message": "<string>",
"grade": "<string>",
"grade_trust_ignored": "<string>",
"future_grade": "<string>",
"has_warnings": true,
"is_exceptional": true,
"progress": 123,
"duration": 123,
"delegation": 123,
"details": {
"@type": "SsllabsEndpointDetails",
"protocols": [],
"cipher_suites": [],
"named_groups": [],
"server_signature": "<string>",
"prefix_delegation": true,
"non_prefix_delegation": true,
"reneg_support": 123,
"session_resumption": 123,
"session_tickets": 123,
"compression_methods": 123,
"supports_npn": true,
"supports_alpn": true,
"alpn_protocols": "<string>",
"supports_aead": true,
"supports_cbc": true,
"chacha20_preference": true,
"forward_secrecy": 123,
"protocol_intolerance": 123,
"misc_intolerance": 123,
"has_sct": 123,
"ocsp_stapling": true,
"sni_required": true,
"http_status_code": 123,
"implements_tls13_mandatory_cs": true,
"zero_rtt_enabled": 123,
"hsts_policy": {
"@type": "SsllabsHstsPolicy",
"status": "<string>",
"max_age": 123,
"include_sub_domains": true,
"preload": true,
"header": "<string>"
},
"hpkp_status": "<string>",
"vulnerabilities": {
"@type": "SsllabsVulnerabilities",
"beast": true,
"heartbleed": true,
"heartbeat": true,
"open_ssl_ccs": 123,
"open_ssl_lucky_minus20": 123,
"ticketbleed": 123,
"bleichenbacher": 123,
"zombie_poodle": 123,
"golden_doodle": 123,
"zero_length_padding_oracle": 123,
"sleeping_poodle": 123,
"poodle": true,
"poodle_tls": 123,
"fallback_scsv": true,
"freak": true,
"logjam": true,
"dh_uses_known_primes": 123,
"dh_ys_reuse": true,
"drown_vulnerable": true,
"ecdh_parameter_reuse": true,
"supports_rc4": true,
"rc4_only": true,
"rc4_with_modern": true
},
"sims": [],
"cert_chains": []
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/ssllabs
/ssllabs/assessments/endpoints
Return the SSL Labs assessment detail for a single endpoint IP of a host
Price: 5 credits
⚠️ Common errors: 412: Endpoint not found for this host / IP, or it could not be assessed
POST
/
api
/
ssllabs
/
assessments
/
endpoints
/ssllabs/assessments/endpoints
curl --request POST \
--url https://api.anysite.io/api/ssllabs/assessments/endpoints \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"host": "<string>",
"s": "<string>",
"timeout": 600,
"from_cache": true
}
'import requests
url = "https://api.anysite.io/api/ssllabs/assessments/endpoints"
payload = {
"host": "<string>",
"s": "<string>",
"timeout": 600,
"from_cache": True
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({host: '<string>', s: '<string>', timeout: 600, from_cache: true})
};
fetch('https://api.anysite.io/api/ssllabs/assessments/endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/ssllabs/assessments/endpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'host' => '<string>',
's' => '<string>',
'timeout' => 600,
'from_cache' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/ssllabs/assessments/endpoints"
payload := strings.NewReader("{\n \"host\": \"<string>\",\n \"s\": \"<string>\",\n \"timeout\": 600,\n \"from_cache\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/ssllabs/assessments/endpoints")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"host\": \"<string>\",\n \"s\": \"<string>\",\n \"timeout\": 600,\n \"from_cache\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/ssllabs/assessments/endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"host\": \"<string>\",\n \"s\": \"<string>\",\n \"timeout\": 600,\n \"from_cache\": true\n}"
response = http.request(request)
puts response.read_body[
{
"@type": "SsllabsEndpoint",
"ip_address": "<string>",
"server_name": "<string>",
"status_message": "<string>",
"grade": "<string>",
"grade_trust_ignored": "<string>",
"future_grade": "<string>",
"has_warnings": true,
"is_exceptional": true,
"progress": 123,
"duration": 123,
"delegation": 123,
"details": {
"@type": "SsllabsEndpointDetails",
"protocols": [],
"cipher_suites": [],
"named_groups": [],
"server_signature": "<string>",
"prefix_delegation": true,
"non_prefix_delegation": true,
"reneg_support": 123,
"session_resumption": 123,
"session_tickets": 123,
"compression_methods": 123,
"supports_npn": true,
"supports_alpn": true,
"alpn_protocols": "<string>",
"supports_aead": true,
"supports_cbc": true,
"chacha20_preference": true,
"forward_secrecy": 123,
"protocol_intolerance": 123,
"misc_intolerance": 123,
"has_sct": 123,
"ocsp_stapling": true,
"sni_required": true,
"http_status_code": 123,
"implements_tls13_mandatory_cs": true,
"zero_rtt_enabled": 123,
"hsts_policy": {
"@type": "SsllabsHstsPolicy",
"status": "<string>",
"max_age": 123,
"include_sub_domains": true,
"preload": true,
"header": "<string>"
},
"hpkp_status": "<string>",
"vulnerabilities": {
"@type": "SsllabsVulnerabilities",
"beast": true,
"heartbleed": true,
"heartbeat": true,
"open_ssl_ccs": 123,
"open_ssl_lucky_minus20": 123,
"ticketbleed": 123,
"bleichenbacher": 123,
"zombie_poodle": 123,
"golden_doodle": 123,
"zero_length_padding_oracle": 123,
"sleeping_poodle": 123,
"poodle": true,
"poodle_tls": 123,
"fallback_scsv": true,
"freak": true,
"logjam": true,
"dh_uses_known_primes": 123,
"dh_ys_reuse": true,
"drown_vulnerable": true,
"ecdh_parameter_reuse": true,
"supports_rc4": true,
"rc4_only": true,
"rc4_with_modern": true
},
"sims": [],
"cert_chains": []
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Response
Successful Response
Show child attributes
Show child attributes
⌘I