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

# NFT Interface

### Request for explanation

* The request method is POST application/json
* Error code description:

  <table data-header-hidden><thead><tr><th width="209">Error code</th><th>Explanation</th></tr></thead><tbody><tr><td>Error code</td><td>Explanation</td></tr><tr><td>800</td><td>SUCCESS</td></tr><tr><td>900</td><td>The system is busy, please try again later</td></tr><tr><td>50003</td><td>NFT does not support swap, please select again</td></tr><tr><td>50004</td><td>Currently does not support the sale of NFT</td></tr><tr><td>50005</td><td>Currently does not support the purchase of NFT</td></tr><tr><td>50006</td><td>The current NFT cannot be purchased as the price does not cover the transaction fee</td></tr><tr><td>999</td><td>This NFT cannot be purchased or sold twice</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs-swft.en.swft.pro/nft-api/nft-interface.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
