| title | Quickstart |
|---|---|
| description | Make your first Carboncopy API call in under 5 minutes. |
This guide walks you through:
- Creating a Carboncopy account
- Generating an API key
- Making your first request
- Iterating from there
Head to carboncopy.inc and sign in with your email. Once authenticated, connect your Polymarket wallet under Settings.
Navigate to Settings → API Keys in the Dashboard, then click New Key.
Configure the scopes you need — for a read-only monitoring bot, portfolio:read and traders:read are sufficient. For a bot that can follow/unfollow traders, also add traders:write.
Verify the API is reachable (no auth required):
curl https://carboncopy.inc/api/v1/health{
"status": "ok",
"version": "1.0.0",
"timestamp": 1741600000000
}Now fetch your portfolio summary using your new key:
export CC_API_KEY="cc_your_key_here"
curl https://carboncopy.inc/api/v1/portfolio \
-H "Authorization: Bearer $CC_API_KEY"{
"totalValue": 5420.75,
"positionsValue": 1840.22,
"currentExposure": 1840.22,
"grossVolume": 7392.10,
"totalVolume": 7392.10,
"realizedPnl": 355.20,
"unrealizedPnl": 65.30,
"totalPnl": 420.50,
"pnlPercentage": 8.41,
"openPositions": 12,
"tradersFollowing": 7
}To start copying a wallet, your key needs traders:write scope:
curl -X POST https://carboncopy.inc/api/v1/traders \
-H "Authorization: Bearer $CC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"walletAddress": "0xAbCd1234...",
"copyPercentage": 25,
"maxCopyAmount": 500
}'This will copy 25% of every trade by 0xAbCd1234..., up to a maximum of $500 USDC per trade.
Poll open positions to track what's currently deployed:
curl "https://carboncopy.inc/api/v1/portfolio/positions?limit=20" \
-H "Authorization: Bearer $CC_API_KEY"See Pagination for iterating beyond the first page.
Learn about API key scopes and security. Full interactive endpoint documentation. Handle errors gracefully in your bot. Iterate over large result sets with cursors.