/
Sprngy API Hub: Unlock Powerful Market Insights

Sprngy API Hub: Unlock Powerful Market Insights

The API Page allows users to interact with Sprngy’s data services by utilizing a set of well-defined API endpoints. These endpoints provide financial, performance, technical, market, and portfolio analytics data.

Key Features

  • API Key Management: Users can generate and revoke API keys for secure access.

  • Usage Tracking: Monitor API usage to manage request limits efficiently.

  • Multiple Data Endpoints: Fetch data related to financial analytics, performance analytics, market analytics, and more.

  • Schema Documentation: Provides a structured format for error handling and validation.

image-20250310-212001.png
Sprngy API

Available API Endpoints

Authentication & Access Control

  • POST /generate_api_key – Generates a new API key.

  • POST /revoke_api_key – Revokes an existing API key.

  • GET /api_usage – Retrieves API usage statistics.

Data Retrieval Endpoints

  • Financial Analytics: GET /data/financialanalytics/{data_table}

  • Performance Analytics: GET /data/performanceanalytics/{data_table}

  • Technical Analytics: GET /data/technicalanalytics/{data_table}

  • Market Analytics: GET /data/marketanalytics/{data_table}

  • Portfolio Analytics: GET /data/portfolioanalytics/{data_table}

Database & Schema Information

  • Get Table Schema: GET /table_schema/{data_base}/{data_table}

  • List Tables: GET /tables/{data_base}

  • List Databases: GET /databases

How to Use the API

  1. Generate an API Key

    • Click on Generate API Key to receive a unique key for authentication.

  2. Make Requests

    • Use the API key in the header (Authorization: Bearer <your_api_key>) while making requests.

  3. Retrieve Data

    • Use the appropriate endpoints to fetch financial or market data.

  4. Manage API Usage

    • Monitor request limits and revoke API keys when needed.

Error Handling

The API follows standard error response formats:

  • HTTPValidationError – Occurs when request parameters are incorrect.

  • ValidationError – General validation errors for input data.

This API empowers users to seamlessly retrieve essential financial insights for analysis and decision-making.

Recommended Previous Reading:

Track Market Movers with Sprngy!

Recommended Next Reading:

Manage your profile, alerts, and get involved with Sprngy