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

# REST API Overview

> Learn REST API Overview for AllTick REST API, including HTTP request patterns, interface list, parameters, response fields and runnable debug modules for US stocks, Hong Kong stocks, A-shares, forex, crypto, and commodities market data.

## Overview

The AllTick REST API documentation includes HTTP request examples and HTTP Interface APIs. The HTTP Interface API pages are organized according to the official API documentation and include K-lines, batch K-lines, latest order book, latest trade price, stock product basic information, suspension and resumption information query, and descriptions for price changes, market closure, holidays, and more.

<CardGroup cols={2}>
  <Card title="HTTP Request Example" href="/en/rest-api/http-request-example">
    View REST API request examples for Go, Java, PHP, and Python.
  </Card>

  <Card title="HTTP Interface API" href="/en/rest-api/stock-http-interface-api">
    View official-documentation-consistent HTTP interface descriptions and debuggable interface pages.
  </Card>
</CardGroup>

## Interface Addresses

| Product Type                                                                      | Base URL                                     |
| --------------------------------------------------------------------------------- | -------------------------------------------- |
| US stocks, Hong Kong stocks, A shares, and major index data                       | `https://quote.alltick.co/quote-stock-b-api` |
| Forex, precious metals, cryptocurrencies, crude oil, CFD indices, and commodities | `https://quote.alltick.co/quote-b-api`       |

<script src="/seo-keywords.js" />
