Skip to content

GOV.UK API

GOV.UK (gov.uk) has 3 public methods: get travel advice, list bank holidays and check a name against the UK Sanctions List. Each costs 1 credit per completed run (1¢ with pay as you go); failed runs are free.

Unofficial. Not affiliated with or endorsed by GOV.UK.

Methods

3
  • Returns current UK government (FCDO) travel warnings, entry requirements for British passport holders, safety, health and emergency information for a country. Summaries are shortened; follow the link for full details.

    Returns warning status, entry requirements, safety, terrorism, local laws, health, emergency numbers, update date, link

    Readgov.uk/get_travel_advice
  • Lists GOV.UK bank holidays for a UK region and year, including substitute days and notes, plus the next upcoming holiday. Years GOV.UK does not publish return an empty list and the published years.

    Returns holidays for the year, substitute days, notes, next upcoming bank holiday

    Readgov.uk/list_bank_holidays
  • Checks a name against the current UK Sanctions List and returns possible matches in the site's best-match order, with designation details. Results may include entries that only mention the name in their reasons, so check each entry before identifying anyone.

    Returns possible matches with name, type, regime, designation date, aliases, nationality, date of birth, position, reasons, sanctions imposed and list reference

    Readgov.uk/check_sanctions