# Public

## Test Connectivity

> Checks connectivity to the host.

```json
{"openapi":"3.0.0","info":{"title":"Futures Public API","version":"1.0.0"},"servers":[{"url":"https://futuresopenapi.coinlocally.com"}],"paths":{"/fapi/v1/ping":{"get":{"summary":"Test Connectivity","description":"Checks connectivity to the host.","responses":{"200":{"description":"Connection successful","content":{"application/json":{}}}}}}}}
```

## Check Server Time

> Returns the server time and time zone.

```json
{"openapi":"3.0.0","info":{"title":"Futures Public API","version":"1.0.0"},"servers":[{"url":"https://futuresopenapi.coinlocally.com"}],"paths":{"/fapi/v1/time":{"get":{"summary":"Check Server Time","description":"Returns the server time and time zone.","responses":{"200":{"description":"Successfully retrieved server time","content":{"application/json":{"schema":{"type":"object","properties":{"serverTime":{"type":"integer","description":"Server timestamp"},"timezone":{"type":"string","description":"Server time zone"}}}}}}}}}}}
```

## Futures Contract List

> Retrieves the list of available futures contracts from Coinlocally Futures API.

```json
{"openapi":"3.0.0","info":{"title":"Futures Public API","version":"1.0.0"},"servers":[{"url":"https://futuresopenapi.coinlocally.com"}],"paths":{"/pub/contracts":{"get":{"summary":"Futures Contract List","description":"Retrieves the list of available futures contracts from Coinlocally Futures API.","responses":{"200":{"description":"List of futures contract specifications","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Response code (0 means success)"},"msg":{"type":"string","description":"Response message"},"data":{"type":"object","properties":{"contracts":{"type":"array","items":{"type":"object","properties":{"ticker_id":{"type":"string","description":"Unique contract identifier (e.g., ORCA-PERPUSDT)"},"base_currency":{"type":"string","description":"Base asset of the contract"},"quote_currency":{"type":"string","description":"Quote asset of the contract"},"last_price":{"type":"string","description":"Latest traded price"},"base_volume":{"type":"string","description":"24h trading volume in base currency"},"quote_volume":{"type":"string","description":"24h trading volume in quote currency"},"volume_usd":{"type":"string","description":"24h trading volume in USD"},"bid":{"type":"string","description":"Current highest bid price"},"ask":{"type":"string","description":"Current lowest ask price"},"high":{"type":"string","description":"24h highest price"},"low":{"type":"string","description":"24h lowest price"},"product_type":{"type":"string","description":"Product type (e.g., Perpetual)"},"open_interest":{"type":"string","description":"Open interest in base currency"},"open_interest_usd":{"type":"string","description":"Open interest in USD"},"index_price":{"type":"string","description":"Current index price"},"creation_timestamp":{"type":"integer","description":"Contract creation timestamp (Unix ms)"},"expiry_timestamp":{"type":"integer","description":"Contract expiry timestamp (Unix ms)"},"funding_rate":{"type":"string","description":"Current funding rate"},"next_funding_rate":{"type":"string","description":"Next funding rate"},"next_funding_rate_timestamp":{"type":"integer","description":"Next funding rate settlement time (Unix ms)"},"open_maker_fee":{"type":"string","description":"Maker fee for opening positions"},"open_taker_fee":{"type":"string","description":"Taker fee for opening positions"},"close_maker_fee":{"type":"string","description":"Maker fee for closing positions"},"close_taker_fee":{"type":"string","description":"Taker fee for closing positions"},"contract_type":{"type":"string","description":"Contract type (e.g., Vanilla)"},"contract_price":{"type":"string","description":"Current contract price"},"contract_price_currency":{"type":"string","description":"Currency unit of contract price"},"timestamp":{"type":"integer","description":"Data timestamp (Unix ms)"}}}}}}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coinlocally.com/futures/public.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
