Logo
AXION

Introduction

AxionQuant delivers market data, company fundamentals, financial statements, and alternative datasets through a fast, reliable REST API.

Get up and running in minutes with simple endpoints, predictable responses, and comprehensive coverage across equities, earnings, fundamentals, ownership data, and more. Focus on building your product, not cleaning data.

Developer quickstart

Make your first API request in minutes. Learn the basics of the AxionQuant platform.

const { Axion } = require('@axionquant/sdk');
const API_KEY = 'axn_123';
const client = new Axion(API_KEY);

const prices = await client.stocks.prices('AAPL', {
  frame: 'daily',
  from: '2025-12-01',
  to: '2025-12-19'
});
console.log(prices);

CLIENT LIBRARIES

$pip install axionquant-sdk

OpenAPI Specification

Machine-readable schema for every endpoint - import into Postman, Insomnia, or paste into any LLM.

Open
https://axionquant.com/openapi.json

llms.txt

Machine-readable docs for LLMs - copy the link and paste it into any LLM to generate perfect code from open-ended prompts.

https://axionquant.com/llms.txt?v=2

Authentication

All API requests require authentication using your API key. You can obtain your API key from the Dashboard

 https://api.axionquant.com

API Key Usage

Include your API key in one of the following ways:

x-api-key: YOUR_API_KEY

HTTP Header (Recommended)

Authorization: Bearer YOUR_API_KEY

Authorization Header

?apiKey=YOUR_API_KEY

Query Parameter

Authentication Examples

JavaScript (Fetch API)

async function fetchStockData(ticker) {
  const response = await fetch(`https://api.axionquant.com/stocks/${ticker}`, {
  headers: { 'x-api-key': 'your-api-key-here' }
});
return await response.json();
}

Python (Requests)

import requests
def get_stock_data(ticker, api_key):
url = f"https://api.axionquant.com/stocks/{ticker}"
params = {"apiKey": api_key}
return requests.get(url, params=params).json()

Bash (cURL)

curl -X GET "https://api.axionquant.com/stocks/AAPL"
-H "Authorization: Bearer YOUR_API_KEY"

Setting Up Your Environment

1

Create an API key

Create an API key in the dashboard here, which you'll use to authenticate all requests to the API.

Store the key as a managed secret and pass it via an environment variable or your app's config.

.env
AXION_API_KEY=<your_api_key_here>
2

Install the SDK

Install the official SDK for your language. We'll also use it to load your API key from an environment variable.

pip install axionquant-sdk python-dotenv
3

Authenticate fetch requests

All API requests require your API key. Include it in one of the following ways - we recommend using the x-api-key header.

Never expose your API key in client-side code. Always make requests from a backend server or use environment variables.

// HTTP Header (Recommended)
const response = await fetch('https://api.axionquant.com/stocks/AAPL', {
  headers: {
    'x-api-key': process.env.AXION_API_KEY
  }
});

// Authorization Bearer
const response = await fetch('https://api.axionquant.com/stocks/AAPL', {
  headers: {
    'Authorization': `Bearer ${process.env.AXION_API_KEY}`
  }
});
4

Make your first SDK request

Retrieve real-time price data for any stock ticker. This endpoint is available on all plans.

const { Axion } = require('@axionquant/sdk');

const client = new Axion(process.env.AXION_API_KEY);
const ticker = await client.stocks.ticker('AAPL');
console.log(ticker);
5

Run the code

node example.js

You should see a response like this:

{
  "symbol": "AAPL",
  "price": 175.34,
  "change": 1.25,
  "changePercent": 0.72,
  "volume": 45678900,
  "marketCap": 2750000000000,
  "timestamp": "2024-01-15T14:30:00Z"
}