# API

As the world's most dynamic NFT marketplace, we specialize in having a premier NFT API for developers to use in their projects.

GhostMarket provides an HTTPS JSON API for fetching NFT asset data based on a set of query parameters. Monitoring every NFT contract and caching metadata for each individual token to display all of a user's collectibles, music, gaming items, and other assets.&#x20;

**Live API reference and endpoints:**

[**https://api.ghostmarket.io/swagger**](https://api.ghostmarket.io/swagger)

**Mainnet API (assets endpoint given as example):**

[**https://api.ghostmarket.io/api/v2/assets/**](https://api.ghostmarket.io/api/v1/assets/)

**Testnet API (assets endpoint given as example):**

[**https://api-testnet.ghostmarket.io/api/v2/assets/**](https://api-testnet.ghostmarket.io/api/v1/assets/)


---

# 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.ghostmarket.io/developer-guides/api.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.
