Quick Start
The Rareful API is a complete toolkit to power rich NFT experiences inside apps and games
Get your API keys
Your API requests are authenticated using API keys. Any request that doesn't include a valid API key in the header will not be authorized.
Login at api.rareful.io and go to the profile tab to get your api key.
Make your first request
To make your first request, send an authenticated request to the testConnection endpoint. This will check to see if you're connected and ready to dive in to more documentation.
Test your API connection
POST
https://api.rareful.io/v1/testConnection
Tests your API_KEY to see if you are connected. Remember that post requests with no parameters still need an empty body like this: {}
{
"data": {
"Authenticated": True
},
"status": 200,
"message": "Congrats you're Authenticated and ready to make requests!"
}
Take a look at how you might call this method using different languages and request packages:
import requests
import json
API_KEY = "Set your API KEY from your dashboard here"
url = "https://api.rareful.io/v1/testConnection"
payload = json.dumps({})
headers = {
'API_KEY': API_KEY,
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Last updated