Python
import requests
response = requests.post(
"https://n8n.value8.dev/webhook/scoring-api.ratex.ai",
headers={
"X-API-Key": "your_key",
"Content-Type": "application/json"
},
json={
"type": "posttge",
"project": "LayerZero",
"project_url": "https://layerzero.network",
"output_format": "standard"
},
timeout=300
)
result = response.json()
print(f"Rating: {result['rating']['band']} ({result['rating']['score']}/100)")
print(f"VFR: {result['vfr']['value']} ({result['vfr']['zone']})")
cURL
curl -X POST https://n8n.value8.dev/webhook/scoring-api.ratex.ai \
-H "X-API-Key: your_key" \
-H "Content-Type: application/json" \
-d '{
"type": "posttge",
"project": "LayerZero",
"project_url": "https://layerzero.network",
"output_format": "minimal"
}'
JavaScript
const response = await fetch('https://n8n.value8.dev/webhook/scoring-api.ratex.ai', {
method: 'POST',
headers: {
'X-API-Key': 'your_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
type: 'posttge',
project: 'LayerZero',
project_url: 'https://layerzero.network',
output_format: 'minimal'
})
});
const data = await response.json();
console.log(`Rating: ${data.rating.band} (${data.rating.score}/100)`);