Skip to main content

A Python package to get the latest indices from the Indices-API

Project description

Indices-API

Indices-API

Indices-API – The ultimate solution for seamless access to real-time and historical data on global stock market indices. With support for 100+ symbols and updates every 60 seconds, Indices-API delivers accurate and comprehensive data with ease.

Track major indices like the SSE Composite, Amsterdam AEX, S&P/ASX 200, S&P BSE SENSEX, Dow Jones Industrial Average, S&P 500, and many more.

Try the Start 7-Day Free Trial. Cancel anytime at your convenience.

Key Features:

  • Built for Developers: Tailored for developers, ensuring ease of use and seamless integration.
  • Robust JSON API: A powerful JSON API designed for accurate and efficient data retrieval.
  • Top-Tier Security: Trust Indices-API with advanced security measures to protect your data.
  • Reliable Data Sources: Benefit from reliable and accurate data from trusted sources.
  • Flexible Integration: Easily integrate Indices-API into any language for diverse applications.
  • Historical Data Access: Dive into historical data for comprehensive analysis and informed decision-making.
  • Exceptional Accuracy: Rely on Indices-API for spot-on accuracy in real-time and historical data.
  • User-Friendly Documentation: Navigate through our comprehensive documentation for a smooth integration process.
  • Specialized Support: Count on our dedicated support team for assistance tailored to your specific needs.

Supported Indices

Explore a wide range of global stock market indices, from major regional benchmarks to currency and volatility indices. Whether you're tracking the S&P 500, Dow Jones, Nikkei 225, FTSE 100, or SSE Composite, Indices-API provides real-time and historical data with unmatched reliability.

Our coverage spans:

  • Regional Stock Indices (US, Europe, Asia, Latin America)
  • Global Market Indices
  • Currency-Based Indices
  • Volatility Indices

Stay up to date with over 100 supported symbols, including:

🟢 NYSE Composite (NYA) 🟢 NASDAQ Composite (IXIC) 🟢 DAX Performance (GDAXI) 🟢 Nikkei 225 (N225) 🟢 S&P/ASX 200 (AXJO) 🟢 FTSE 100 (FTSE) 🟢 Hang Seng (HSI) 🟢 IBOVESPA (BVSP) 🟢 S&P BSE SENSEX (BSESN) 🟢 SSE Composite (000001) … and many more. View All Supported Indices.

Documentation

For detailed information on API endpoints, usage, and integration guidelines, check our API Documentation.

Start using Indices-API today for unparalleled access to indices data. Visit Indices-API.com and integrate in just minutes!

Installation

You can install Indices-API Python SDK with pip.

pip indices-api

Usage

The Indices-API Python SDK is a wrapper around the requests library. Indices-API supports a GET request for now.

Sign-up to Indices-API to get your API key and some credits to get started.

Making the GET request

>>> from indices_api import IndicesApiClient

>>> client = IndicesApiClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')

>>> response = client.get_latest("base", ["symbols"])

Request Example

>>> from indices_api import IndicesApiClient

>>> client = IndicesApiClient(access_key='REPLACE-WITH-YOUR-ACCESS-KEY')

>>> response = client.get_latest("USD", ["NYA", "GSPC", "MERV"])

Response Example

{
  "data": {
    "success": true,
    "timestamp": 1748638260,
    "date": "2025-05-30",
    "base": "USD",
    "rates": {
      "GSPC": 0.0001691918551041,
      "MERV": 0.00051296350856518,
      "NYA": 0.000050530698662705,
      "USDGSPC": 5910.44999999984,
      "USDMERV": 1949.45641025639,
      "USDNYA": 19789.95
    }
  }
}

AVAILABLE METHODS

>>> get_latest(base: str, symbols: List[str])
>>> get_historical(date:str, base:str, symbols: List[str])
>>> get_time_series(start_date: str, end_date: str, symbol: str)

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypi_indices_api-0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypi_indices_api-0.3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pypi_indices_api-0.3.tar.gz.

File metadata

  • Download URL: pypi_indices_api-0.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pypi_indices_api-0.3.tar.gz
Algorithm Hash digest
SHA256 d89d55e6ed794126b9c93348435e79b95d0a7f1156915e0c4b2f02a0b6f30ed4
MD5 1de5e587a123ad2bab415ba222ae903a
BLAKE2b-256 d0e81862e40504d83db77b8b3353695f0437923e427d85ab883a06dbfe767fae

See more details on using hashes here.

File details

Details for the file pypi_indices_api-0.3-py3-none-any.whl.

File metadata

  • Download URL: pypi_indices_api-0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pypi_indices_api-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a961c609b80baa67f7448223ad247963491eb0570dc3ffa2d640d981e4ff1c9e
MD5 3eb2d02755315fb83182da46804bdb60
BLAKE2b-256 486e2e7886864c3b772491885f1c81da59721233c344f0f9bba69e71acba7d0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page