> ## Documentation Index
> Fetch the complete documentation index at: https://docs.northaxiumdata.ca/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start

> Make your first API request in under 2 minutes.

## 1. Get an API key

Sign up at [northaxiumdata.ca](https://northaxiumdata.ca) and open your dashboard. In the API key section, click **Create API key** and copy the key from the popup. For security, the full key is only shown when it is created or refreshed.

Free accounts include 100 requests per month, 25 requests per day, and 5 requests per minute. For production use, subscribe to a paid plan.

## 2. Make your first request

Every request needs your API key in the `X-API-Key` header.

<CodeGroup>
  ```python Python theme={null}
  import requests

  headers = {"X-API-Key": "your_api_key_here"}

  url = "https://api.northaxiumdata.ca/api/v1/contracts?vendor=Palantir&limit=5"

  response = requests.get(url, headers=headers)
  data = response.json()

  for contract in data["data"]:
      print(f"{contract['vendor']}: ${contract['value']:,.0f}")
  ```

  ```javascript JavaScript theme={null}
  const headers = { "X-API-Key": "your_api_key_here" };

  const url = "https://api.northaxiumdata.ca/api/v1/contracts?vendor=Palantir&limit=5";

  const response = await fetch(url, { headers });
  const data = await response.json();

  data.data.forEach(contract => {
    console.log(`${contract.vendor}: $${contract.value.toLocaleString()}`);
  });
  ```

  ```bash cURL theme={null}
  curl -H "X-API-Key: your_api_key_here" \
    "https://api.northaxiumdata.ca/api/v1/contracts?vendor=Palantir&limit=5"
  ```
</CodeGroup>

## 3. Explore more endpoints

Now that you have the basics, try a few more calls:

<AccordionGroup>
  <Accordion title="Who is lobbying the federal government?">
    ```python Python theme={null}
    import requests

    headers = {"X-API-Key": "your_api_key_here"}

    url = "https://api.northaxiumdata.ca/api/v1/lobbying/communications?limit=10"
    response = requests.get(url, headers=headers)

    for comm in response.json()["data"]:
        print(f"{comm['client']} → {comm['dpoh_name']} ({comm['date']})")
    ```
  </Accordion>

  <Accordion title="What has a vendor won in contracts?">
    ```python Python theme={null}
    import requests

    headers = {"X-API-Key": "your_api_key_here"}

    # get an aggregated vendor profile
    url = "https://api.northaxiumdata.ca/api/v1/vendors/Palantir%20Technologies%20Canada%20Inc"
    response = requests.get(url, headers=headers)

    profile = response.json()["data"]
    print(f"Total value: ${profile['total_value']:,.0f}")
    print(f"Contract count: {profile['contract_count']}")
    ```
  </Accordion>

  <Accordion title="Track political contributions by party">
    ```python Python theme={null}
    import requests

    headers = {"X-API-Key": "your_api_key_here"}

    url = "https://api.northaxiumdata.ca/api/v1/contributions?party=Liberal&limit=10"
    response = requests.get(url, headers=headers)

    for contribution in response.json()["data"]:
        print(f"{contribution['contributor_name']}: ${contribution['monetary_amount']:,.2f}")
    ```
  </Accordion>

  <Accordion title="Search across all datasets at once">
    ```python Python theme={null}
    import requests

    headers = {"X-API-Key": "your_api_key_here"}

    # search contracts, lobbying, contributions, parliamentary, and permits simultaneously
    url = "https://api.northaxiumdata.ca/api/v1/search?q=Shopify"
    response = requests.get(url, headers=headers)

    results = response.json()["data"]
    for domain, hits in results.items():
        print(f"{domain}: {len(hits)} results")
    ```
  </Accordion>
</AccordionGroup>

## 4. What's next?

<CardGroup cols={2}>
  <Card title="Procurement" icon="file-contract" href="/procurement/introduction">
    Contracts, tenders, awards, vendors, and departments
  </Card>

  <Card title="Grants" icon="hand-holding-dollar" href="/grants/introduction">
    Federal grants, research awards, and infrastructure projects
  </Card>

  <Card title="Lobbying & Political Financing" icon="comment-dots" href="/lobbying/introduction">
    Lobbying communications, registrations, and contributions
  </Card>

  <Card title="Parliamentary Intelligence" icon="building-columns" href="/parliamentary/introduction">
    Bills, politicians, and committee activity
  </Card>

  <Card title="Municipal Intelligence" icon="city" href="/municipal/introduction">
    Building permits, zoning, and municipal data
  </Card>

  <Card title="MCP Server" icon="robot" href="/model-context-protocol">
    Connect Claude directly to NorthAxium Data
  </Card>
</CardGroup>
