B2B API

Travel Risk API
for Your Business

Real-time risk scores, travel advisories, and safety data for 194 countries. One API call away.

194
Countries
99.9%
Uptime
<200ms
Avg Response
20+
Data Sources

API Endpoints

RESTful JSON API. Simple to integrate, powerful in production.

GET/api/v1/risk?country=DE

Risk score + full details for a single country

Returns: riskLevel, score, advisoryText, health, crime, terrorism, naturalDisasters, lastUpdated
GET/api/v1/countries

All countries with current risk data

Returns: Array of { countryCode, name, riskLevel, score }
GET/api/v1/alerts?severity=high

Active travel alerts and warnings

Returns: Array of { id, country, severity, title, summary, issuedAt }
GET/api/v1/rankings?sort=score&order=asc&limit=20

Country rankings by risk score

Returns: Ranked array with score, trend, and category breakdowns

Example Response

GET /api/v1/risk?country=DE

response.json
{
  "country": "DE",
  "name": "Germany",
  "riskLevel": "low",
  "score": 23,
  "scoreMax": 100,
  "advisory": {
    "text": "Exercise normal precautions",
    "source": "RiskVector Analysis",
    "updated": "2025-05-10T08:00:00Z"
  },
  "categories": {
    "health": { "score": 18, "level": "low" },
    "crime": { "score": 25, "level": "low" },
    "terrorism": { "score": 30, "level": "moderate" },
    "naturalDisasters": { "score": 15, "level": "low" },
    "political": { "score": 12, "level": "minimal" }
  },
  "alerts": [],
  "lastUpdated": "2025-05-10T08:00:00Z"
}

Code Examples

Copy-paste ready. Works with any language.

JavaScript
const res = await fetch(
  'https://riskvector.app/api/v1/risk?country=DE',
  {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  }
);
const data = await res.json();
console.log(data.riskLevel); // "low"
Python
import requests

resp = requests.get(
  "https://riskvector.app/api/v1/risk",
  params={"country": "DE"},
  headers={"Authorization": "Bearer YOUR_API_KEY"}
)
data = resp.json()
print(data["riskLevel"])  # "low"
cURL
curl -G https://riskvector.app/api/v1/risk \
  -d country=DE \
  -H "Authorization: Bearer YOUR_API_KEY"

Simple Pricing

Start free, scale as you grow. No hidden fees.

Starter

€99/month
  • 1,000 API calls / day
  • Risk scores & advisories
  • Country-level data
  • Email support
  • Standard rate limits
Get Started
Most Popular

Professional

€299/month
  • 10,000 API calls / day
  • All endpoints included
  • Alert webhooks
  • Historical data (90 days)
  • Priority support
  • Custom risk thresholds
Most Popular

Enterprise

€499/month
  • Unlimited API calls
  • 99.9% uptime SLA
  • Dedicated support engineer
  • Custom integrations
  • Full historical data
  • On-premise option
  • White-label ready
Contact Sales

Built for Your Industry

Powering travel risk intelligence across sectors.

✈️

Travel Operators

Display real-time risk data in booking flows and itineraries. Automate safety notifications for customers.

🛡️

Insurance Companies

Power dynamic pricing models with live risk scores. Automate claims triage with country-specific risk data.

🏢

Corporate Travel

Fulfil duty-of-care obligations. Auto-flag high-risk destinations before employee trips are booked.

📱

Travel Apps

Enrich your app with safety scores, alerts, and travel advisories for every destination.

Ready to integrate?

Get your API key in minutes. Free sandbox for testing.

API Key anfordern