---
title: "Getting started"
description: "Make your first weather request in four steps, then pick the right API for forecasts or historical data."
url: "https://portal.oxide.bitshft.dev/getting-started"
image: "https://portal.oxide.bitshft.dev/_og/d/c_Ocean.takumi,title_Getting+started,description_~TWFrZSB5b3VyIGZpcnN0IHdlYXRoZXIgcmVxdWVzdCBpbiBmb3VyIHN0ZXBzLCB0aGVuIHBpY2sgdGhlIHJpZ2h0IEFQSSBmb3IgZm9yZWNhc3RzIG9yIGhpc3RvcmljYWwgZGF0YS4,props_eyJ0aGVtZSI6eyJtb2RlIjoiZGFyayIsImNvbG9ycyI6eyJwcmltYXJ5IjoiIzBENkVGRCJ9fX0,p_Ii9nZXR0aW5nLXN0YXJ0ZWQi,s_AXzf7XO67OJyVRHj.png"
---

# Getting started

Make your first weather request in four steps, then pick the right API for forecasts or historical data.

## [Before you begin](#before-you-begin)

The weather APIs need no API key and no sign-up. All of them use plain HTTP GET requests with query parameters and return JSON, so `curl` or a browser is enough to start.

Free for non-commercial use

Non-commercial use up to 10,000 daily API calls is free. Attribution is required under the CC BY 4.0 data licence. For commercial use or higher call volumes, subscription plans are available.

## [Make your first request](#make-your-first-request)

1. Choose a location

Pass a `latitude` and a `longitude`. The example below uses 52.52 and 13.41.

2. Choose variables

Ask for current conditions with `current`, and for time series with `hourly`. Here you request `temperature_2m` and `wind_speed_10m` as current values, and add `relative_humidity_2m` to the hourly series.

3. Send an HTTP GET request

Call the forecast endpoint. No headers or credentials are required.

4. Read the JSON response

Values arrive under `current` and `hourly`, using the variable names you requested.

## [Request and response](#request-and-response)

Request

Response (trimmed)

```bash
curl "`https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&current=te`"
```

```json
{
  "current": {
    "time": "2022-01-01T15:00",
    "temperature_2m": 2.4,
    "wind_speed_10m": 11.9
  }
}
```

The full response also includes an `hourly` object with one array per requested variable.

## [Choose an API](#choose-an-api)

All the APIs share the same JSON format and parameter conventions, so moving between them means changing the endpoint.

| Need                                               | API                     | Coverage                                    |
| :------------------------------------------------- | :---------------------- | :------------------------------------------ |
| Gap-free climate baselines                         | Historical Weather API  | ERA5 reanalysis, 1940 to present            |
| Archived forecasts in the live Forecast API format | Historical Forecast API | Same models, parameters and response format |
| Forecast skill at fixed lead times                 | Previous Runs API       | Lead-time offsets of 1–7 days               |

For the full parameter list of the forecast endpoint, read the [Docs](https://portal.oxide.bitshft.dev/docs). To compare everything on offer, see [Features](https://portal.oxide.bitshft.dev/features).

## [Common questions](#common-questions)

Do I need an API key?

No. There is no API key, no sign-up and no credit card for non-commercial use.

Can I query several locations at once?

Yes. Multiple locations can be queried in a single request by providing comma-separated coordinate lists.

Can I get CSV or Excel output?

Yes. CSV and XLSX output formats are available in addition to JSON.

Can I run my own instance?

Yes. The server codebase is on GitHub under the AGPLv3 licence, and you can self-host for unlimited API calls.

## [Evaluate Oxide Lisp](#evaluate-oxide-lisp)

The Oxide API exposes one operation for evaluating Lisp: `POST /evaluate`. Its server is:

```text
https://oxide.bitshft.dev/v0
```

## [Next steps](#next-steps)

Docs

Parameters and variables for the forecast endpoint.

<https://portal.oxide.bitshft.dev/docs>

Features

Models, resolution and the available APIs.

<https://portal.oxide.bitshft.dev/features>

Historical Weather API

Reanalysis data back to 1940.

<https://portal.oxide.bitshft.dev/historical-weather-api>

Historical Forecast API

Archived forecasts in the live format.

<https://portal.oxide.bitshft.dev/historical-forecast-api>

Previous Runs API

Forecasts at fixed lead times of 1–7 days.

<https://portal.oxide.bitshft.dev/previous-runs-api>