Highmind Technologies

API Documentation

Reference documentation for the Highmind Currency API.

Note: The base URL below (https://api.highmindtech.in) is a placeholder until the production Currency Web API is deployed. It will be confirmed here once live — if you’re testing before then, contact info@highmindtech.in for the current endpoint.

Authentication

Every request must include your API key in the X-API-Key header. Get your key from your API Keys page after registering and completing payment (see Pricing).

Missing or invalid keys return 401 INVALID_API_KEY. An expired subscription returns 403 SUBSCRIPTION_EXPIRED. Exceeding your monthly limit returns 429 MONTHLY_API_LIMIT_EXCEEDED.

Endpoint

GET /api/exchange-rates

Returns the exchange rate between two currencies.

Headers:

X-API-Key: YOUR_API_KEY

Parameters:

Name Type Required Description
base string Yes Three-letter ISO base currency code
currency string Yes Three-letter ISO target currency code

Example request:

GET https://api.highmindtech.in/api/exchange-rates?base=USD&currency=CAD

Example response:

{
  "success": true,
  "data": {
    "baseCurrency": "USD",
    "targetCurrency": "CAD",
    "exchangeRate": 1.36
  }
}

Errors

Status Error Code Meaning
401 INVALID_API_KEY Key missing, unknown, or revoked
403 SUBSCRIPTION_EXPIRED Your billing period has ended
429 MONTHLY_API_LIMIT_EXCEEDED You’ve used your full monthly quota

Code Examples

cURL:

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.highmindtech.in/api/exchange-rates?base=USD&currency=CAD"

JavaScript (fetch):

fetch("https://api.highmindtech.in/api/exchange-rates?base=USD&currency=CAD", {
  headers: { "X-API-Key": "YOUR_API_KEY" }
})
  .then(function(res) { return res.json(); })
  .then(function(data) { console.log(data); });

Python:

import requests

response = requests.get(
    "https://api.highmindtech.in/api/exchange-rates",
    params={"base": "USD", "currency": "CAD"},
    headers={"X-API-Key": "YOUR_API_KEY"}
)
print(response.json())

C#:

using var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-API-Key", "YOUR_API_KEY");

var response = await client.GetAsync(
    "https://api.highmindtech.in/api/exchange-rates?base=USD&currency=CAD");
var json = await response.Content.ReadAsStringAsync();
Console.WriteLine(json);

PowerShell:

$headers = @{ "X-API-Key" = "YOUR_API_KEY" }
Invoke-RestMethod -Headers $headers `
  -Uri "https://api.highmindtech.in/api/exchange-rates?base=USD&currency=CAD"

Need Higher Volume?

See Pricing for current plans, or contact us for Enterprise/custom terms.