> For the complete documentation index, see [llms.txt](https://docs.ghostmarket.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ghostmarket.io/developer-guides/api.md).

# 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/)
