Skip to content

Hotel safety scores, street-level crime and strike alerts

Egor KarpovichCEO & Founder, Travel Code ·

A country score tells you whether Belgium or Brazil needs extra care. It does not tell you whether the hotel your traveller just booked sits on a quiet street or two blocks from the busiest robbery hotspot in the city. It also does not warn you that the airport they fly into on Monday will cancel every departure because of a national strike. This release closes both gaps. Travel Risk API now scores locations and hotels, adds street-level crime for the UK and seven major US cities, benchmarks nightly rates against official lodging limits, and sends strike alerts before the strike starts.

Everything below is live on every API key, including free keys. Full reference: Locations, hotels and lodging limits.

1. Area risk: a score for a point, not just a country

GET /api/v1/areas/risk?lat=…&lon=… returns a score on the same 0–5 scale as the country score. It lists every component that built it, so a booking tool or a duty-of-care dashboard can show the traveller why:

  • Country risk at that point: government advisories plus active alerts, the same number /risk-score returns.
  • Alerts at the location: warnings whose area covers the point, events within your radius, and natural hazards within 100 km. Flight-disruption and strike alerts are listed too, but they do not inflate a safety score.
  • Serious incidents nearby: reports of mass violence within 10 km in the last week.
  • Street-level crime, where police publish it (next section).
  • Help nearby: the nearest hospital and police station with distances, and the number of embassies and consulates within 10 km. A location more than 10 km from a hospital scores higher.

2. Street-level crime: why one neighbourhood differs from the next

The same city can hold very different streets. Area risk now uses the last 12 months of police-recorded crime for England, Wales and Northern Ireland and for New York City, Chicago, San Francisco, Seattle, Los Angeles, Philadelphia and Boston. The data is refreshed every month. Each location is ranked against the rest of its own city or police force area, so the answer reads like a local would say it: "serious violent crime around here is in the 99th percentile for San Francisco".

LocationArea scoreLevel
San Francisco, Tenderloin2.38Moderate (upper end)
San Francisco, Sea Cliff1.52Moderate
Los Angeles, Skid Row1.98Moderate
Los Angeles, Brentwood1.38Low
New York, Upper East Side1.48Low

One design decision matters for how you read these numbers. Police data counts crimes, not crimes per resident. A busy shopping street ranks high on theft because that is where visitors are. That is real exposure for a traveller, but it is not the same as danger. So serious violence drives the score: homicide, shootings, aggravated assault, robbery, rape and weapons offences. Theft only nudges it, and a genuinely quiet area lowers it. The response gives all three percentiles (serious violent, all violent, property) plus yearly counts, so you can apply your own policy.

3. Hotel risk: the property and its surroundings

POST /api/v1/hotels/risk takes a hotel's coordinates, or just its name and city, and we find it among about one million hotels worldwide. It returns the area risk within 1 km of the property, adjusted for what is known about the hotel: chain brand, star rating, a 24-hour front desk and on-site security. Send check_in and check_out and only the alerts in effect during the stay count.

The property adjustments are deliberately small, at most a quarter of a point. A hotel's location matters far more than its amenities, which is also how corporate security teams assess hotels. If you only need coordinates, GET /api/v1/hotels/search finds a hotel by name.

curl -X POST -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  https://api.travelriskapi.com/api/v1/hotels/risk \
  -d '{"name": "Hotel Amigo", "city": "Brussels", "stars": 5,
       "check_in": "2026-12-01T15:00:00Z", "check_out": "2026-12-03T11:00:00Z"}'

4. Is this nightly rate within policy? Official lodging limits

Travel policies need a defensible reference for "too expensive". GET /api/v1/hotels/benchmark returns the official lodging limits that governments publish for their own travellers:

  • the US government foreign per diem, city by city and updated monthly;
  • US domestic rates by city and season;
  • the UK HMRC benchmark room rates;
  • the German BMF overnight allowances.

Send a nightly rate and currency, and each limit is converted at the day's euro reference rates. You get the difference in percent:

Paris, 260 € per nightLimitDifference
US government (foreign per diem)$511 ≈ 467 €44% below
UK HMRC benchmark199.50 €30% above
German BMF allowance159 €64% above

The three governments set very different levels for the same city, so the endpoint returns all of them and you pick the one your policy follows. These are official limits, not market prices.

5. Strike alerts before the strike

Strikes are the disruption travellers complain about most, and they are announced days in advance. A new alert type, strike, covers announced strikes that will disrupt travel: air traffic control, airports, airlines, rail, city transport and general strikes. We pick them up from local news in more than 20 languages across Europe, North and Latin America, Asia-Pacific, the Middle East and Africa. That includes Japanese, Korean, Chinese, Arabic, Hebrew, Turkish, Russian, Polish and Greek sources, where many strikes are only reported locally.

Each alert names the country and, where it applies, the airport (IATA code) or city. It carries starts_at and ends_at and the local hours when the announcement gives them. It stays active until the strike is over and is switched off when unions call it off. In the week of this release the feed flagged:

  • the Belgian national strike on 23 November, which grounded nearly all flights at Brussels Airport and Charleroi;
  • an air traffic control strike at Milan Malpensa;
  • a two-day transport strike in Metro Manila;
  • a national rail strike in South Korea and a Seoul metro strike threat;
  • a 24-hour rail strike in Spain.

A second new type, aviation_planned_disruption, comes from airport departure boards. It fires when a coming day is already largely cancelled. On the day before the Belgian strike, 76 of 82 departures from Charleroi showed as cancelled.

Both types inform travellers but do not raise country risk scores, because a strike is a disruption, not a danger. Filter them with GET /api/v1/alerts?alert_type=strike. If you watch trips with POST /api/v1/trips, they reach your traveller's channels.

What this does not do (yet)

  • Street-level crime covers the UK (except Greater Manchester, whose police have published no street data since 2019) and seven US cities. Elsewhere the area score is built from country risk, alerts, incidents and hospital access. More cities are next.
  • Crime percentiles reflect exposure where people are, not per-resident rates. A busy downtown can rank above a residential area with more violence per person. Per-resident normalisation is on our list.
  • Hotel data and coordinates come from open sources and are occasionally imprecise. When a match looks wrong, send the hotel's own coordinates.
  • The benchmark uses official limits, not live market rates.

Get started

Every key already has access. Read the Locations, hotels and lodging limits reference for parameters, scoring rules and sample responses, and the Alerts reference for the new alert types. The changelog lists every change. No key yet? Get a free one in one request.

product updatehotel safetyduty of carestrikesapi

Try the data behind this article

Risk and aviation data in one API. Free plan, no card.

Get a free API key