Infinn API Documentation
Introduction

About the API

Welcome to the Infinn API documentation by HKKR Finserv Pvt Ltd. infinn is our cutting-edge financial services platform designed to streamline and enhance your trading and investment experience. This API provides seamless access to a comprehensive suite of tools and resources, enabling you to integrate and automate your financial operations with ease. Whether you are developing custom trading strategies, managing portfolios, or accessing real-time market data, infinn's robust and secure API is tailored to meet your diverse needs. Dive in to explore the possibilities and transform your financial journey with infinn.

Generate code and checksum

Follow these steps to obtain an access_token for API calls.

Step 1: Generate your static IP

Generate your static IP from https://www.whatismyip.com/.

Step 2: Add static IP and generate API key

  1. Login into trade.infinn.in.
  2. On the top-right corner go to Profile → Generate Key.
  3. Add the generated static IP in the Primary IP Address field.
  4. Click Update.

You will see the API Key details updated successfully!

Step 3: Copy app key and secret key

Copy the app key and secret key from the Generate Key option.

Step 4: Generate auth URL and get code

Generate an auth URL using the builder below. Go to Auth URL → login → submit. You will get the code in the redirected URL:

https://www.infinn.in/?code=**********************

OAuth login URL

Enter your App Key or Client ID below to generate your personal OAuth login URL. The App key is used for both the api_key and route_to parameters.

Your login URL
Enter a User ID to generate your login URL
Open login page

Step 5: Generate SHA-256 checksum

Go to https://emn178.github.io/online-tools/sha256.html to generate a SHA-256 checksum. It is a SHA-256 hash created from the combination of the app key, secret key, and code without any spaces.

Example: If your app key is ABC, secret key is 123, and code is x1y2z3, combine them as ABC123x1y2z3, then generate the SHA-256 hash of that string.

Copy the checksum.

Step 6: Exchange code for access token

Go to GenAcsTok. Paste the code and checksum to call the /GenAcsTok API request.

Get the access_token in the response. Include the access_token in the Authorization header when making each individual API call:

Authorization: Bearer <access_token>

The interactive API playground on each endpoint page includes an Authorization Token field. Enter your access_token once and it is reused across pages while you browse the docs.

On this page