API docs

Get started

Welcome to Thentic - API for NFT-commerce
Thentic provides REST API methods to mint, trade and manage NFTs across 288 Ethereum Virtual Machine Compatible Blockchains. You can create and embed blockchain transactions to your web applications via Transaction URL or Transaction Pixel.

API key

Get API key here and add it as key parameter to your request body.

Chain ID

Choose Blockchain network you would like to use from the list and add it as chain_id parameter to your request body.
For the development purposes we recommend using Binance Smart Chain Testnet - 97 chain id. You can get TBNB tokens for the development here and explore transactions here.

First API request

To get started you can use Thentic RapidAPI page with prebuilt code snippets for 19 programming languages (C, Clojure, C#, Golang, HTTP, Java, JavaScript, Kotlin, Node.js, Objective-C, OCaml, PHP, Powershell, Python, R, RapidQL, Ruby, Shell, Swift) or interact directly with Thentic API.
In order to mint NFTs you need to create NFT contract first. Here is simple Python code to create NFT contract deployment transaction:
import requests
url = 'https://thentic.tech/api/nfts/contract'
headers = {'Content-Type': 'application/json'}
data = {'key': '<your API key>',
'chain_id': '97',
'name': '<Name for your NFT contract>',
'short_name': '<Short Name for NFT contract>'}
#creates NFT contract on BNB testnet
r = requests.post(url, json=data, headers=headers)
If API key is authorized server will respond with request_id, status, transaction_pixel and transaction_url. You can use transaction_url and transaction_pixel to let your dAPP users execute Blockchain transactions on Mobile (via WalletConnect) or Desktop (via MetaMask).
"transaction_pixel":"<iframe src='https://thentic.tech/request?id=<request_id>' width=1 height=1 scrolling=no frameborder=0></iframe>",
After NFT Contract is successfully deployed you can start minting and trading NFTs.
Please reach out to [email protected] with your questions and ideas.
Last modified 6mo ago