# Global Warming — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access real-time climate and environmental data including temperature, CO2, methane, nitrous oxide levels, arctic sea ice coverage, and ocean warming metrics. Browse climate news updates and explore detailed information on deforestation trends through an integrated environmental monitoring platform.

**Category:** Weather | **Website:** [global-warming.org/](https://global-warming.org/) | **Docs:** [parse.bot/marketplace/cbce587f-17a1-42b9-a6aa-9f7bc79027bf/global-warming-org-api](https://parse.bot/marketplace/cbce587f-17a1-42b9-a6aa-9f7bc79027bf/global-warming-org-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_arctic_sea_ice_data

Fetches global sea ice extent data from 1979 to present. Returns metadata (title, base period, units, annual mean, decadal trend) and monthly data keyed by YYYYMM containing value (extent), anomaly, and monthly mean in million square km.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_arctic_sea_ice_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_co2_data

Fetches daily atmospheric CO2 concentration data from 2016 to present. Each record contains year, month, day, cycle (seasonal adjustment in ppm), and trend (long-term trend in ppm). Returns the full dataset in a single response.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_co2_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_deforestation_page

Scrapes the deforestation page for its title and full text content including statistics, map information, and related news articles about global deforestation.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_deforestation_page \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_home_page_data

Scrapes the global-warming.org homepage for metadata and section content. Returns the page title, meta description, and an array of content sections each with an optional header and text content.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_home_page_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_methane_data

Fetches monthly atmospheric methane (CH4) concentration data from 1984 to present. Each record contains a decimal date, average concentration (ppb), trend value (ppb), and associated uncertainties for both average and trend.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_methane_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_news_list

Scrapes climate-related news articles aggregated from external sources on the global-warming.org news page. Returns a list of articles with title, URL, thumbnail image URL, and source. Articles refresh periodically from upstream news aggregators.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_news_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_nitrous_oxide_data

Fetches monthly atmospheric nitrous oxide (N2O) concentration data from 2002 to present. Each record contains a decimal date, average concentration (ppb), trend value (ppb), and associated uncertainties.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_nitrous_oxide_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_ocean_warming_data

Fetches annual ocean temperature anomaly data from 1851 to present. Returns an object keyed by year where each value contains a departure anomaly in degrees C relative to a baseline period.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_ocean_warming_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_site_navigation

Extracts all navigation links and external references from the global-warming.org homepage. Returns an array of link objects with their display text and URL (relative for internal links, absolute for external).

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_site_navigation \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_temperature_data

Fetches global monthly mean surface temperature anomaly data from 1880 to present. Each record contains a decimal year timestamp, station-based temperature anomaly, and land-based temperature anomaly. Returns the full historical dataset in a single response with no pagination.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-global-warming-org-api-cbce587f/get_temperature_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
