# Worldometers — 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.

> Track current world population statistics, compare country rankings, and explore historical population trends and future projections. Monitor demographic changes across nations and understand global population dynamics in real-time.

**Category:** Government & Public Data | **Website:** [worldometers.info/](https://worldometers.info/) | **Docs:** [parse.bot/marketplace/f8834cdf-439d-4d36-ab03-1e9be0bcbda0/worldometers-info-api](https://parse.bot/marketplace/f8834cdf-439d-4d36-ab03-1e9be0bcbda0/worldometers-info-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-worldometers-info-api-f8834cdf/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_country_populations

Get the full list of countries and their populations, including rank, yearly change percentage, net change, density per km², land area, and world share. Returns all 234 countries in a single response ordered by population rank.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldometers-info-api-f8834cdf/get_country_populations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_historical_data

Get historical world population data by year, including yearly change percentage and absolute yearly change figures. Covers years from 2026 back to 1951, ordered most recent first.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldometers-info-api-f8834cdf/get_historical_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_population_projections

Get future world population projections by year through 2100, including yearly change percentage and absolute yearly change figures. Covers years from 2026 to 2100, ordered earliest first.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldometers-info-api-f8834cdf/get_population_projections \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_world_population_stats

Get general world population statistics, including the current population estimate, recent historical highlights by year, and population breakdown by region with world share percentages. Returns a single snapshot object containing all three data sets in one call.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldometers-info-api-f8834cdf/get_world_population_stats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
