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

# How to Generate Your HitBTC Tax Report with KoinX

> Connect your HitBTC Exchange account to KoinX in a few steps to generate tax reports compliant with your local jurisdiction.

<Info>
  **API**  ·  **5-10 min**  ·  Spot · Margin · Futures · Deposits · Withdrawals  ·  **100+ countries**
</Info>

## What's covered

<CardGroup cols={2}>
  <Card title="Spot trades" color="#0066CC" icon="arrow-right-arrow-left">
    Buy, sell, and conversions.
  </Card>

  <Card title="Margin and Futures" color="#0066CC" icon="chart-line">
    Margin positions and futures trading.
  </Card>

  <Card title="Deposits and Withdrawals" color="#0066CC" icon="building-columns">
    On-chain deposits and withdrawals.
  </Card>

  <Card title="Trading Fees and Rebates" color="#0066CC" icon="receipt">
    Fee records and trading rebates.
  </Card>
</CardGroup>

## Before you start

<CardGroup cols={2}>
  <Card title="HitBTC account" icon="building-columns">
    Active account with transaction history.
  </Card>

  <Card title="KoinX account" icon="sparkles" href="https://app.koinx.com/get-started">
    Free account - no credit card needed.
  </Card>
</CardGroup>

***

## Connect HitBTC to KoinX

**API Key syncs your full HitBTC transaction history automatically - no file exports needed.**

<Tabs>
  <Tab title="API Key">
    ## Generate your HitBTC API key

    <Steps>
      <Step title="Log in to HitBTC">
        Go to [hitbtc.com](https://www.hitbtc.com) and sign in to your account.
      </Step>

      <Step title="Open Settings">
        Click the **Settings icon** in the top right corner.
      </Step>

      <Step title="Open API Keys and add a new key">
        Click **API Keys** on the Settings page and click **Add New API**.
      </Step>

      <Step title="Set read-only permissions">
        Set the correct read-only permissions before saving the key.

        <Warning>
          Enable read-only permissions only. Never enable trading or withdrawal permissions on an API key connected to a third-party service.
        </Warning>
      </Step>

      <Step title="Copy your API key and Secret Key">
        Copy both your **API Key** and **Secret Key** and store them securely. The Secret Key is shown only once.
      </Step>
    </Steps>

    ## Connect HitBTC to KoinX

    <Steps>
      <Step title="Open KoinX Integrations">
        Log in to [app.koinx.com](https://app.koinx.com) -> **Integrations** -> **Add Integration**.
      </Step>

      <Step title="Select HitBTC">
        Search for **HitBTC** and select it.
      </Step>

      <Step title="Paste your keys and import">
        Paste your **API Key** and **Secret Key** into the respective fields and click **Import Now**.
      </Step>
    </Steps>

    <Check>
      **Done.** KoinX begins syncing your HitBTC history. Large accounts may take a few minutes.
    </Check>

    Once your HitBTC data is in, head over to [Tax Reports](https://app.koinx.com/tax-report) on KoinX - your capital gains, income breakdown, and country-specific crypto tax report are ready for you there.

    ## API key notes

    <Note>
      * **Read Only is required** - keys with broader permissions may be rejected by KoinX as a security measure.
      * **Secret Key is shown once only** - copy it immediately at the time of creation and store it securely.
      * **Use Sync Now** to pull the latest HitBTC transactions into KoinX at any time from the Integrations panel.
    </Note>
  </Tab>
</Tabs>

***

## Frequently asked questions

<AccordionGroup>
  <Accordion title="What permissions does the HitBTC API key need for KoinX?">
    Read Only permissions only. This gives KoinX access to your full transaction history without the ability to place trades or move funds. Never generate an API key with broader permissions for a third-party service.
  </Accordion>

  <Accordion title="Will HitBTC show my Secret Key again after I leave the page?">
    No. HitBTC displays the Secret Key only once at the time of creation. Copy it immediately and store it securely. If lost, delete the key from API Keys in Settings and generate a new one.
  </Accordion>

  <Accordion title="Do I need to report my HitBTC transactions for tax purposes?">
    Yes. All crypto activities are subject to tax under the regulations provided by the relevant authority in your region. If you are an investor or trader in the crypto market, you must report your HitBTC transactions for tax purposes.
  </Accordion>

  <Accordion title="Does HitBTC provide tax reports directly?">
    No. HitBTC does not provide tax-ready reports. By connecting your HitBTC account to KoinX via API key, your full transaction history is imported automatically and a compliant, country-specific tax report is generated within minutes.
  </Accordion>

  <Accordion title="Does KoinX support my country's crypto tax rules?">
    Yes. KoinX supports 100+ countries with dedicated report formats for India, the US, UK, Australia, Canada, Germany, and more. After importing your HitBTC data, select your country to generate the correct report.
  </Accordion>
</AccordionGroup>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="API key error on connection">
    Confirm the key was generated with read-only permissions in **HitBTC** -> **Settings** -> **API Keys**. Delete the credentials in KoinX and re-enter both values carefully - copy directly from HitBTC to avoid missing or invisible characters.
  </Accordion>

  <Accordion title="Transactions are missing after sync">
    Ensure the transaction history covers the full period from your HitBTC account creation date with no gaps. Trigger a manual re-sync from **KoinX** -> **Integrations** -> **HitBTC**. If records are still missing, disconnect and reconnect with a fresh API key.
  </Accordion>

  <Accordion title="API sync keeps failing">
    Check the HitBTC platform for ongoing maintenance. If the platform is operational, verify the key is still active under **Settings** -> **API Keys**. Regenerate if expired, re-enter credentials in KoinX, and trigger a fresh sync.
  </Accordion>

  <Accordion title="API connection worked before but stopped syncing">
    HitBTC API keys can become inactive following account security changes. Log in to HitBTC, check the key status under **Settings** -> **API Keys**, and regenerate if inactive. Update the new credentials in KoinX under **Integrations** -> **HitBTC** -> **Edit**.
  </Accordion>

  <Accordion title="Margin or futures trades are missing from KoinX">
    Confirm read-only permissions on the key include access to all account types. If trades are still missing after re-syncing, generate a new API key and reconnect in KoinX.
  </Accordion>

  <Accordion title="KoinX is showing duplicate HitBTC transactions">
    Check **KoinX** -> **Integrations** for duplicate HitBTC connections and remove any extras. If a file was previously uploaded for the same period, delete those transactions before re-syncing via API.
  </Accordion>
</AccordionGroup>

***

## Related integrations

<CardGroup cols={2}>
  <Card title="Bybit Integration" icon="bolt" href="/integration/bybit">
    Connect Bybit via API key or file upload.
  </Card>

  <Card title="Binance - File Upload" icon="chart-bar" href="/integration/binance">
    Export Binance CSVs for Spot, P2P, Earn, and Options.
  </Card>

  <Card title="Bitget - API Upload" icon="key" href="/integration/bitget">
    Connect Bitget via Tax API Key or Normal API Key.
  </Card>

  <Card title="OKX Integration" icon="chart-line" href="/integration/okx">
    Sync OKX trades and earn history via API or CSV.
  </Card>
</CardGroup>

<Card title="Ready to generate your HitBTC crypto tax report?" color="#6366f1" icon="rocket" href="https://app.koinx.com/get-started">
  Create a free KoinX account - no credit card required. Import your HitBTC transactions and generate a country-specific tax report in minutes.
</Card>
