bund.dev Travelwarning API

The Travelwarning API from bund.dev — 2 operation(s) for travelwarning.

GitHub OpenAPI

Operations 2

GET /travelwarning Gibt alle Reise- und Sicherheitshinweise zurück #
GET /travelwarning/{contentId} Gibt einen Reise- und Sicherheitshinweis zurück #

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bund-dev:bund-dev-travelwarning-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bund-dev-travelwarning-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bund Dev Travelwarning API
  version: 1.2.6
  termsOfService: https://www.auswaertiges-amt.de/de/open-data-schnittstelle/736118
  description: 'Operations tagged Travelwarning across 2 of this provider''s published API definitions: travelwarning.yaml, bund-dev-travelwarning-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.auswaertiges-amt.de/opendata
tags:
- name: Travelwarning
paths:
  /travelwarning:
    get:
      summary: Gibt alle Reise- und Sicherheitshinweise zurück
      description: ''
      operationId: getTravelwarning
      responses:
        '200':
          description: Erfolgreich
          content:
            text/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/ResponseWarnings'
      tags:
      - Travelwarning
    servers:
    - url: https://www.auswaertiges-amt.de/opendata
  /travelwarning/{contentId}:
    get:
      summary: Gibt einen Reise- und Sicherheitshinweis zurück
      description: Gibt den vollständigen Datensatz eines Reise- und Sicherheitshinweises zurück. Benötigt die jeweilige ID siehe /travelwarning
      operationId: getSingleTravelwarning
      parameters:
      - name: contentId
        description: Die ID des Reise- und Sicherheitshinweises, IDs siehe /travelwarning
        in: path
        required: true
        schema:
          type: integer
          minimum: 1
      responses:
        '200':
          description: Erfolgreich
          content:
            text/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/ResponseWarning'
        '404':
          description: Not Found
      tags:
      - Travelwarning
    servers:
    - url: https://www.auswaertiges-amt.de/opendata
components:
  schemas:
    Reisewarnung:
      type: object
      properties:
        lastModified:
          type: number
          description: Zeitstempel der letzten Änderung
          example: 1499681492000
        effective:
          type: number
          description: Zeitstempel, seit wann der Reisehinweis gilt
          example: 1499681492000
        title:
          type: string
          description: Titel des Landes
          example: 'Deutschland: Reise- und Sicherheitshinweise'
        CountryCode:
          type: string
          description: Zweistelliger Ländercode
          example: DE
        iso3CountryCode:
          type: string
          description: Dreistelliger Ländercode ([*ISO-3166-1 alpha-3*](https://de.wikipedia.org/wiki/ISO-3166-1-Kodierliste))
          example: DEU
        CountryName:
          type: string
          description: (Deutscher) Name des Landes
          example: Deutschland
        warning:
          type: boolean
          description: Ob eine Reisewarnung ausgesprochen wurde
          example: true
        partialWarning:
          type: boolean
          description: Ob eine Teilreisewarnung ausgesprochen wurde
          example: false
        situationWarning:
          type: boolean
          description: Steht aktuell (Januar 2022) für *„COVID-19-bedingte Reisewarnung“* kann sich in Zukunft möglicherweise ändern.
          example: false
        situationPartWarning:
          type: boolean
          description: Steht aktuell (Januar 2022) für *„COVID-19-bedingte Teilreisewarnung“* kann sich in Zukunft möglicherweise ändern.
          example: false
        content:
          type: string
          description: Text der Länderseite
          example: <h3>Titel</h3><div>Inhalt</div>
    ResponseWarning:
      type: object
      title: Antwort mit Reise- und Sicherheitshinweis
      properties:
        response:
          type: object
          properties:
            '12345':
              $ref: '#/components/schemas/Reisewarnung'
            contentList:
              type: array
              description: IDs der Objekte
              items:
                type: string
                example: '12345'
    ResponseWarnings:
      type: object
      title: Antwort mit Reise- und Sicherheitshinweisen
      properties:
        response:
          type: object
          properties:
            '12345':
              $ref: '#/components/schemas/ReisewarnungZusammenfassung'
            '23456':
              $ref: '#/components/schemas/ReisewarnungZusammenfassung'
            contentList:
              type: array
              description: IDs der Objekte
              items:
                type: string
              example:
              - '12345'
              - '23456'
    ReisewarnungZusammenfassung:
      type: object
      properties:
        lastModified:
          type: number
          description: Zeitstempel der letzten Änderung
          example: 1499681492000
        effective:
          type: number
          description: Zeitstempel, seit wann der Reisehinweis gilt
          example: 1499681492000
        title:
          type: string
          description: Titel des Landes
          example: 'Deutschland: Reise- und Sicherheitshinweise'
        CountryCode:
          type: string
          description: Zweistelliger Ländercode
          example: DE
        CountryName:
          type: string
          description: (Deutscher) Name des Landes
          example: Deutschland
        warning:
          type: boolean
          description: Ob eine Reisewarnung ausgesprochen wurde
          example: true
        partialWarning:
          type: boolean
          description: Ob eine Teilreisewarnung ausgesprochen wurde
          example: false
        situationWarning:
          type: boolean
          description: Steht aktuell (Januar 2022) für *„COVID-19-bedingte Reisewarnung“* kann sich in Zukunft möglicherweise ändern.
          example: false
        situationPartWarning:
          type: boolean
          description: Steht aktuell (Januar 2022) für *„COVID-19-bedingte Teilreisewarnung“* kann sich in Zukunft möglicherweise ändern.
          example: false
x-refined-from:
- travelwarning.yaml
- bund-dev-travelwarning-openapi.yml