# Firstock

#### Phase 1: Accessing the Developer Portal

1. Navigate to the Portal: Go to the <https://firstock.in/api/> .
2. Login: Click on Broker Login.
   * Enter your User ID, Password, and Year of Birth (DOB).
3. Registration (New Users): If you haven't used the developer portal before, click Signup and complete the registration using your broker client details.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FWfPpFZrxkxuCZDQRMKvI%2FScreenshot%202026-04-09%20091729.png?alt=media&#x26;token=a6fa44a9-7035-40a4-b97d-de83a171ca42" alt=""><figcaption></figcaption></figure>

#### Phase 2: Generating API Credentials

Once you are logged into the dashboard:

1. Create App Key: Look for the "API Keys" section and click on Create New App (or Create App Key).
2. Whitelisting the IP: This is the "security gate" for your account.
   * Locate the Add IP.
   * Paste the Arrownect Static IP: Make sure there are no extra spaces before or after the IP address.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FuatrDQmCThSGUcO02SwM%2FScreenshot%202026-03-30%20143253.png?alt=media&#x26;token=99b8711f-4666-4550-a39f-b7857645a7f6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FGBAmUjnpacqdBFp2wozr%2FScreenshot%202026-04-09%20091847.png?alt=media&#x26;token=1bf1fb02-9eb0-4936-92f9-825d50ca34a1" alt=""><figcaption></figcaption></figure>

#### 📝 Step 2: Algomojo New User Registration

Now, bridge these credentials to the Algomojo platform to enable automated trading.

* Navigate: Go to the [Algomojo Firstock Login](https://am.algomojo.com/) and select New User Registration.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FgZJApcR8g6w113mK5vGJ%2FScreenshot%202026-04-13%20141555.png?alt=media&#x26;token=4fc068bd-c85b-45cb-a245-f2602cbdb674" alt=""><figcaption></figcaption></figure>

* Enter Broker Details:
  * Client ID: Your Firstock Trading ID.
  * API Key: Paste the API Key from Firstock.<a class="button secondary"></a>
  * Vendor Code: Paste the Vendor Code from Firstock.
  * Select Submit Button For update the Broker API Details.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F3NaI5ZoTuf4zC9ny0yjQ%2FScreenshot%202026-04-13%20141604.png?alt=media&#x26;token=4a8c2d40-d9ff-4798-913c-83d0d53cb6c1" alt=""><figcaption></figcaption></figure>

* Enter Arrownect Infrastructure Details:
  * Client ID: Your Firstock Trading ID.
  * Server Code: Copy this from your Arrownect Dashboard.
  * Server Token: Copy this from your Arrownect Dashboard.
  * Select Verify after it's shows active then choose Submit.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FuNjyLkFwGE9yXjDwX7jH%2FScreenshot%202026-04-13%20141612.png?alt=media&#x26;token=a4b5e05a-dde3-4d5a-b20e-b19f877970d0" alt=""><figcaption></figcaption></figure>

#### ⚠️ Final Reminder

> Without the Arrownect Static IP and the Server Code/Token, you will be unable to log in to your account. The system is designed to verify that the request is coming from your specific, authorized server before allowing any trades.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.algomojo.com/algomojo/brokers/login-to-broker/firstock.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
