# NFTPort

{% hint style="success" %}
Copy our [NFTPort Google Sheets Template](https://docs.google.com/spreadsheets/d/1bS1C95HBF6wUABYpc9gAbiRp2DY5jKY-hLwSvqOfTh4/edit?usp=sharing) and watch to the [NFTPort Video Tutorial](#video-tutorial)
{% endhint %}

| Formula                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>=NFTPort(</strong> <a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Interact with the <a href="https://nftport.xyz/">NFT Port</a> API using only the SheetLink <a href="/pages/-Mj_8hkrybUtkpITWTcT">"options"</a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><strong>=NFTPort\_GetNFTs( "search\_text" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Searches NFTs across multiple chains using a text query, specifically the <code>name</code> and <code>description</code> fields from the metadata.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><strong>=NFTPort\_GetNFTsQueryPage( "search\_text" ,"page\_number" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Default value<strong>:</strong> <code>1</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <p><strong>=NFTPort\_GetNFT( "transaction\_hash" ,"chain",</strong> <a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"option</strong></a><strong>)</strong></p><p>Returns the details of a minted NFT. You need to provide <code>transaction\_hash</code> </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <p><strong>=NFTPort\_MintNFT( "chain" ,"contract\_address", "metadata\_uri" ,"mint\_to\_address" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Mints an NFT to your previously deployed contract (i.e. collection). This minting consists of multiple steps and enables you to customize the whole minting flow for your exact needs.</p><ol><li>First, you can create your <code>contract\_address</code> using <strong>=NFTPort\_DeployNFTContract</strong></li><li>Secondly, you can create your <code>metadata\_uri</code> using <strong>=NFTPort\_IFPS\_UploadMetadata</strong></li></ol><p>After minting, the NFT will appear in the <code>mint\_to\_address</code> wallet.</p><p></p><ul><li>polygon & rinkeby chains only are supported by NFTPort for now</li></ul> |
| <p><strong>=NFTPort\_MintNFTSetId( "chain" ,"contract\_address", "metadata\_uri" ,"mint\_to\_address", "token\_id" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Same as <strong>=NFTPort\_MintNFT</strong>, yet the NFT ID can be set easily</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><strong>=NFTPort\_UpdateNFT( "chain" ,"contract\_address", "metadata\_uri" ,"token\_id" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Updates an NFT which has been previously minted with one of the <strong>=NFTPort\_MintNFT</strong> formulas using a contract with <code>metadata\_updateable</code> set to <code>true</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><strong>=NFTPort\_DeployNFTContract( "chain" ,"name", "symbol" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Deploys a standard <code>ERC-721</code> smart contract where your can mint your NFTs. This is a required step if you wish to use <strong>=NFTPort\_MintNFT</strong> formulas as the contract will represent your own collection.</p>                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><strong>=NFTPort\_DeployNFTContractSetOwner( "chain" ,"name", "symbol" ,"owner\_address" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Same as <strong>=NFTPort\_DeployNFTContract</strong>, yet the owner address can be set easily.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><strong>=NFTPort\_DeployNFTContractDynamicSetOwner( "chain" ,"name", "symbol" ,"owner\_address" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Same as <strong>=NFTPort\_DeployNFTContractSetOwner</strong>, yet  <code>metadata\_updateable</code> is set to <code>true</code> by default to enable dynamic NFT's using the formula.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <p><strong>=NFTPort\_IFPS\_UploadMetadata( "chain" ,"name", "symbol" ,"owner\_address" ,</strong><a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>)</strong></p><p>Uploads a file to <a href="https://docs.ipfs.io/concepts/what-is-ipfs/">IPFS</a> which makes your NFT storage easy. You can use the returned <code>ipfs\_url</code> </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                |

Developers can review the official [NFT Port API Documentation](https://docs.nftport.xyz/docs/nftport) 📖

{% hint style="success" %}
Missing a formula? [Suggest one here](https://www.sheet.link/suggest) 💡
{% endhint %}

{% hint style="info" %}
Note that ["options"](/formulas/options.md) are optional, other variables are required 👍
{% endhint %}

### Video Tutorial

{% embed url="<https://youtu.be/sdrMb6JoOfY>" %}

### Template (Copy & Customize)

[NFTPort Google Sheets Template](https://docs.google.com/spreadsheets/d/1bS1C95HBF6wUABYpc9gAbiRp2DY5jKY-hLwSvqOfTh4/edit?usp=sharing)

### Navigation <a href="#where-to" id="where-to"></a>

| Page                                                                                                                                                               |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p>🚀 <a href="/pages/-MjtZY-40yRn97o3WpS0"><strong>Quick Start</strong></a>​</p><p>60 second getting started guide.</p>                                           |
| <p><strong>​</strong><a href="/pages/-MjtX5XgEZMTHrXWxuJv"><strong>❓ FAQ</strong></a><strong>​</strong></p><p>Answers to frequently asked SheetLink questions.</p> |
| <p>🛠️ <a href="/pages/-MjdlTO1gwme--tVTlRW"><strong>Functions</strong></a><strong>​</strong></p><p>Powerful functions unique to SheetLink.</p>                    |
| <p>💪 <a href="/pages/-Mj_8hkrybUtkpITWTcT"><strong>"options"</strong></a><strong>​</strong></p><p>Control the request to and response from any application.</p>   |

## 🚑 Need Help?

You can always contact us via <support@sheet.link> or by messaging us on Twitter [@SheetLink](https://twitter.com/SheetLink)


---

# 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.sheet.link/formulas/apps/nftport.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.
