# Global Stock Market API

> Global Stock Market tracks share price indices across 36 countries using a normalized 2015 baseline. Send a two-letter country code to receive the latest monthly index value with the previous month's reading and direction, while paid plans add 1, 3, 6 and 12-month and year-to-date changes, the 12-month high, low and average, and the last 12 monthly readings.

**Endpoint:** `GET https://api.apiverve.com/v1/globalstockmarket`  
**Category:** Finance  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/globalstockmarket

## Overview

Global Stock Market provides monthly share price index data for major economies worldwide, so you can compare world stock markets and international stock market performance side by side. Send a two-letter country code for any of 36 markets and get back the latest index reading on a 2015=100 baseline, together with the month before it and whether the market moved up, down or held flat.

Because every country is rebased to the same year, a reading of 160 for Germany and 120 for Japan says how far each market has travelled since 2015, not what its headline index is quoted at. That makes it suited to country comparison dashboards, macro research notes and stock market by country charts.

The Free plan returns the latest reading and the prior month. Paid plans add lookups for any month from 2000 onward, percent changes over 1, 3, 6 and 12 months and year to date, the 12-month high, low and average, and with history=true the twelve monthly readings behind those figures.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/globalstockmarket?country=DE&year=2023&month=6&history=true" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `country` | string | Yes | ISO 2-letter country code. UK and EL are accepted for GB and GR. length 2-2. One of: AU, AT, BE, BR, CA, CH, CL, CN, CO, CZ, DE, DK, ES, FI, FR, GB, UK, GR, EL, HU, ID, IE, IL, IN, IT, JP, KR, MX, NL, NO, NZ, PL, PT, RU, SE, TR, US, ZA |
| `year` | integer | No | Year to retrieve data for (2000-present). Requires month parameter.. range 2000-2030. Premium field |
| `month` | integer | No | Month to retrieve data for (1-12). Required when year is specified.. range 1-12. Premium field |
| `history` | boolean | No | Include the 12 monthly readings ending at the returned month. default false. Premium field |

## Response fields

- `country` — string · ISO 2-letter country code for the market
- `countryName` — string · Full country name for the stock market
- `baseline` — string · Baseline year for index normalization (2015=100)
- `year` — number · Year of the returned data
- `month` — number · Month of the returned data (1-12)
- `value` — number · Normalized share price index value (2015=100)
- `date` — string · Date of the data point (YYYY-MM-DD)
- `previousValue` — number · Index value of the month before the returned one
- `previousDate` — string · Date of the previous month's reading (YYYY-MM-DD)
- `changeDirection` — string · Direction of the move from the previous month: up, down or unchanged
- `change1m` — number · Percent change from one month earlier · (premium)
- `change3m` — number · Percent change from three months earlier · (premium)
- `change6m` — number · Percent change from six months earlier · (premium)
- `change12m` — number · Percent change from twelve months earlier · (premium)
- `changeYtd` — number · Percent change since the previous December's reading · (premium)
- `high12m` — number · Highest monthly value in the 12 months ending at the returned month · (premium)
- `low12m` — number · Lowest monthly value in the 12 months ending at the returned month · (premium)
- `average12m` — number · Average monthly value over the 12 months ending at the returned month · (premium)
  - `history.0.date` — string · Date of the reading (YYYY-MM-DD) · (premium)
  - `history.0.value` — number · Normalized share price index value (2015=100) · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "country": "DE",
    "countryName": "Germany",
    "baseline": "2015=100",
    "year": 2026,
    "month": 9,
    "value": 159.6559,
    "date": "2026-09-01",
    "previousValue": 163.2341,
    "previousDate": "2026-08-01",
    "changeDirection": "down",
    "change1m": -2.1921,
    "change3m": 2.3115,
    "change6m": 6.7657,
    "change12m": 5.4324,
    "changeYtd": 3.4851,
    "high12m": 163.2341,
    "low12m": 149.5385,
    "average12m": 156.1535,
    "history": [
      {
        "date": "2025-10-01",
        "value": 154.4256
      },
      {
        "date": "2025-11-01",
        "value": 150.3501
      },
      {
        "date": "2025-12-01",
        "value": 154.2791
      },
      {
        "date": "2026-01-01",
        "value": 159.3243
      },
      {
        "date": "2026-02-01",
        "value": 160.134
      },
      {
        "date": "2026-03-01",
        "value": 149.5385
      },
      {
        "date": "2026-04-01",
        "value": 153.3461
      },
      {
        "date": "2026-05-01",
        "value": 156.074
      },
      {
        "date": "2026-06-01",
        "value": 156.0489
      },
      {
        "date": "2026-07-01",
        "value": 157.4312
      },
      {
        "date": "2026-08-01",
        "value": 163.2341
      },
      {
        "date": "2026-09-01",
        "value": 159.6559
      }
    ]
  }
}
```

## Use cases

- **Country Comparison** — Compare stock market performance between countries like Germany vs France over the past decade
- **Economic Research** — Analyze global market trends and correlations between national economies
- **Investment Analysis** — Evaluate which country markets have outperformed or underperformed relative to 2015 baseline
- **Market Dashboards** — Build global market overview dashboards showing performance across regions

## SDKs

- **npm** — `npm install @apiverve/globalstockmarket` (https://www.npmjs.com/package/@apiverve/globalstockmarket)
- **NuGet** — `dotnet add package APIVerve.API.GlobalStockMarket` (https://www.nuget.org/packages/APIVerve.API.GlobalStockMarket)
- **Source** — https://github.com/apiverve/globalstockmarket-api

## More

- Full reference: https://docs.apiverve.com/ref/globalstockmarket
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
