Your Data, Your Key ๐
Generate a personal API key to access your data and your friends' public data programmatically.
Your data belongs to you.
Most platforms lock your data behind their walls. Your NFTs, your profile, your history โ trapped inside someone else's interface. If their servers go down, your data goes with them.
We think that's wrong. You earned your assets. You built your identity. You should be able to access it anywhere, anytime โ no permission needed.
That's what this page is for. Generate an API key and your Pentagon data is yours to take wherever you go: your own website, your own dashboard, your own bot, your own AI agent. We do the heavy lifting โ indexing every chain, syncing every transfer, keeping it fast โ so you can just build.
Take your data to any app, any site, any device
We sync across 14+ chains in real time so you don't have to
Standard REST API โ works with anything that speaks HTTP
Profile pages, dashboards, bots, game companions โ it's your data, go wild
๐ Your New API Key
โ ๏ธ Copy now โ won't be shown again
No API Keys Yet
Generate your first key above to get started.
| Key | Label | Permissions | Usage |
|---|
Generate a Key
Click the button above to create your personal API key. Choose what data it can access.
Copy Your Key
Your key is shown once. Copy it immediately and store it somewhere safe.
Make API Calls
Send your key in the X-API-Key header with every request. That's it.
Get Your Profile
curl -H "X-API-Key: pk_vip_YOUR_KEY_HERE" \ https://api.account.pentagon.games/user/info
const res = await fetch(
'https://api.account.pentagon.games/user/info',
{ headers: { 'X-API-Key': 'pk_vip_YOUR_KEY_HERE' } }
);
const data = await res.json();
console.log(data.result);
{
"status": true,
"result": {
"username": "nftprof",
"email": "n***@pentagon.games",
"discord_id": "689335016...",
"discord_roles": ["VIP2", "Founder"],
"wallets": [
{ "chain": "pentagon",
"address": "0x3722..." },
{ "chain": "ethereum",
"address": "0xE52d..." }
],
"vip_tier": 2,
"referral_code": "nftprof"
}
}
Get Your NFTs
curl -H "X-API-Key: pk_vip_YOUR_KEY_HERE" \ https://api.account.pentagon.games/user/nfts
import requests
res = requests.get(
'https://api.account.pentagon.games/user/nfts',
headers={'X-API-Key': 'pk_vip_YOUR_KEY_HERE'}
)
print(res.json()['result'])
{
"status": true,
"result": [
{
"name": "Chain Hero #1024",
"collection": "BCSH Heroes",
"chain": "pentagon",
"token_id": 1024,
"image": "https://api.bcsh.xyz/..."
},
{
"name": "Setsuko #42",
"collection": "Obelith",
"chain": "pentagon",
"token_id": 42
}
]
}
๐ค Feed It to Your AI Agent
// Give your agent a tool to check your PG identity
// Works with OpenAI functions, LangChain, etc.
async function getPentagonProfile(apiKey) {
const res = await fetch(
'https://api.account.pentagon.games/user/info',
{ headers: { 'X-API-Key': apiKey } }
);
return await res.json();
}
// Your agent can now answer:
// "What's my VIP tier?"
// "Which wallets do I have linked?"
// "What NFTs do I own?"
๐ค Agent: "You're VIP2 on Pentagon Games. You have 2 wallets linked: โข Pentagon: 0x3722...803c9 โข Ethereum: 0xE52d...09eB8 You own 3 NFTs: โข Chain Hero #1024 (BCSH Heroes) โข Setsuko #42 (Obelith) โข EtherFantasy #7791 Your referral code is 'nftprof'. Share it to earn 5% on referrals."
https://api.account.pentagon.gamesYour full profile โ username, email (masked), Discord info, linked wallets, VIP tier, referral code.
X-API-Key: your_key | Scope: read:selfAll NFTs across all your linked wallets โ Pentagon Chain, Ethereum, Polygon, BSC.
X-API-Key: your_key | Scope: read:selfPublic profiles of your friends โ their usernames, wallets, NFTs. Requires the friends scope.
X-API-Key: your_key | Scope: read:friendsList all your API keys with usage stats (request_count, last_used_at). Needs your login token, not API key.
Authorization: Bearer your_login_tokenCreate a new API key. Returns the full key once โ store it now or lose it forever. VIP1+ only.
Authorization: Bearer your_login_token{ "scopes": "read:self,read:friends", "label": "My Bot" }
Permanently deactivates a key. Takes effect immediately โ any app using it will get 401 errors.
Authorization: Bearer your_login_tokenโ ๏ธ What Happens If You Go Over
You'll get a 429 Too Many Requests response with a Retry-After header. Wait it out (usually 60 seconds) and try again. Repeated or intentional abuse may result in your key being permanently revoked.
Can Do
- Read your own profile, wallets, and NFTs
- Read friends' public profiles (with scope)
- List and manage your own API keys
- Use from any language, bot, or AI agent
- Up to 5 active keys per account
Can't Do
- Write or modify any data (read-only API)
- Access other users' private data
- Bypass VIP tier restrictions
- Transfer or share keys between accounts
- Use without a VIP membership
๐ Security Notes
- Keys are shown once on creation โ store them securely
- Never share your key in public channels, repos, or tweets
- If a key is compromised, revoke it immediately and generate a new one
- Email addresses are masked in API responses for privacy
- All requests are logged โ we can see if a key is being abused
Your Own Profile Page
Host your own NFT showcase โ a personal page showing your collections across every chain, filterable by network. Like your own mini-OpenSea, powered by your data.
Fork the Template โAI Agent Integration
Give your AI agent access to your Pentagon identity โ let it check your VIP status, NFTs, or referral stats on demand.
Portfolio Dashboard
Build a custom dashboard that pulls your wallet balances and NFT holdings across all chains in real-time.
Notifications Bot
Create a Discord or Telegram bot that alerts you when your VIP tier changes or new NFTs land in your wallet.
Game Companion
Pull your EtherFantasy characters, Gunnies stats, or Gemry inventory into a companion app or overlay.
๐ Want to see it in action?
We built a ready-to-use template you can fork and deploy in 2 minutes. Shows your profile, NFT grid with chain filter, collection grouping โ everything you need for a personal showcase or your peg.gg profile page.
View on GitHub โ