---
title: "GET /metar.{format}"
method: GET
path: "/metar.{format}"
tags: ["data"]
---

# GET /metar.{format}

`GET /metar.{format}`

## Request

- Base URL: `https://api.met.no/weatherapi/tafmetar/1.0`
- URL: `https://api.met.no/weatherapi/tafmetar/1.0/metar.{format}`
- Auth: none declared

Receive Taf/Metar from airports

## Path parameters

- `format` 'xml' | 'txt', string, required

## Query parameters

- `date` string, date
- `extended` boolean
- `icao` string, required
- `offset` string

## Response `200`

Success

## Other responses

- `204`: 204 No Content
- `400`: 400 Bad Request
- `401`: 401 Unauthorized
- `403`: 403 Forbidden
- `404`: 404 Not Found
- `422`: 422 Unprocessable Entity
- `429`: 429 Too Many Requests
- `500`: 500 Internal Server Error
- `502`: 502 Bad Gateway
- `503`: 503 Service Unavailable
- `504`: 504 Gateway Timeout

---

[API](https://skmtc.dev/met/apis/tafmetar.md) · [All operations](https://skmtc.dev/met/apis/tafmetar/llms.txt) · [OpenAPI document](https://skmtc.dev/met/apis/tafmetar/revisions/729fc1294609?raw)
