Follow a trader
curl --request POST \
--url https://carboncopy.inc/api/v1/portfolio/traders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"walletAddress": "0xAbCd1234...",
"copyPercentage": 25,
"maxCopyAmount": 500,
"notificationsEnabled": true
}
'import requests
url = "https://carboncopy.inc/api/v1/portfolio/traders"
payload = {
"walletAddress": "0xAbCd1234...",
"copyPercentage": 25,
"maxCopyAmount": 500,
"notificationsEnabled": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
walletAddress: '0xAbCd1234...',
copyPercentage: 25,
maxCopyAmount: 500,
notificationsEnabled: true
})
};
fetch('https://carboncopy.inc/api/v1/portfolio/traders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://carboncopy.inc/api/v1/portfolio/traders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'walletAddress' => '0xAbCd1234...',
'copyPercentage' => 25,
'maxCopyAmount' => 500,
'notificationsEnabled' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://carboncopy.inc/api/v1/portfolio/traders"
payload := strings.NewReader("{\n \"walletAddress\": \"0xAbCd1234...\",\n \"copyPercentage\": 25,\n \"maxCopyAmount\": 500,\n \"notificationsEnabled\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://carboncopy.inc/api/v1/portfolio/traders")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"walletAddress\": \"0xAbCd1234...\",\n \"copyPercentage\": 25,\n \"maxCopyAmount\": 500,\n \"notificationsEnabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://carboncopy.inc/api/v1/portfolio/traders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"walletAddress\": \"0xAbCd1234...\",\n \"copyPercentage\": 25,\n \"maxCopyAmount\": 500,\n \"notificationsEnabled\": true\n}"
response = http.request(request)
puts response.read_body{
"walletAddress": "0xAbCd1234...",
"copyTradingEnabled": true,
"copyPercentage": 25,
"username": "sharptrader",
"maxCopyAmount": 500,
"totalCopied": 14,
"pnl": 128.4,
"notificationsEnabled": true,
"followedAt": 1741500000000,
"recentTrades": [
{
"id": "k17abc123def456",
"traderWallet": "0xAbCd1234...",
"marketId": "0x1234abcd...",
"side": "YES",
"amount": 50,
"status": "open",
"createdAt": 1741550000000,
"marketQuestion": "Will BTC exceed $100k by end of 2025?",
"price": 0.62,
"pnl": 12.5
}
]
}{
"error": {
"code": "bad_request",
"message": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}{
"error": {
"code": "forbidden",
"message": "This key does not have the required scope."
}
}{
"error": {
"code": "conflict",
"message": "You are already following this trader."
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Retry after 30 seconds."
}
}Follow Management
Follow a trader
Start copy-trading a new wallet. Returns 409 Conflict if already following.
POST
/
api
/
v1
/
portfolio
/
traders
Follow a trader
curl --request POST \
--url https://carboncopy.inc/api/v1/portfolio/traders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"walletAddress": "0xAbCd1234...",
"copyPercentage": 25,
"maxCopyAmount": 500,
"notificationsEnabled": true
}
'import requests
url = "https://carboncopy.inc/api/v1/portfolio/traders"
payload = {
"walletAddress": "0xAbCd1234...",
"copyPercentage": 25,
"maxCopyAmount": 500,
"notificationsEnabled": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
walletAddress: '0xAbCd1234...',
copyPercentage: 25,
maxCopyAmount: 500,
notificationsEnabled: true
})
};
fetch('https://carboncopy.inc/api/v1/portfolio/traders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://carboncopy.inc/api/v1/portfolio/traders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'walletAddress' => '0xAbCd1234...',
'copyPercentage' => 25,
'maxCopyAmount' => 500,
'notificationsEnabled' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://carboncopy.inc/api/v1/portfolio/traders"
payload := strings.NewReader("{\n \"walletAddress\": \"0xAbCd1234...\",\n \"copyPercentage\": 25,\n \"maxCopyAmount\": 500,\n \"notificationsEnabled\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://carboncopy.inc/api/v1/portfolio/traders")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"walletAddress\": \"0xAbCd1234...\",\n \"copyPercentage\": 25,\n \"maxCopyAmount\": 500,\n \"notificationsEnabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://carboncopy.inc/api/v1/portfolio/traders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"walletAddress\": \"0xAbCd1234...\",\n \"copyPercentage\": 25,\n \"maxCopyAmount\": 500,\n \"notificationsEnabled\": true\n}"
response = http.request(request)
puts response.read_body{
"walletAddress": "0xAbCd1234...",
"copyTradingEnabled": true,
"copyPercentage": 25,
"username": "sharptrader",
"maxCopyAmount": 500,
"totalCopied": 14,
"pnl": 128.4,
"notificationsEnabled": true,
"followedAt": 1741500000000,
"recentTrades": [
{
"id": "k17abc123def456",
"traderWallet": "0xAbCd1234...",
"marketId": "0x1234abcd...",
"side": "YES",
"amount": 50,
"status": "open",
"createdAt": 1741550000000,
"marketQuestion": "Will BTC exceed $100k by end of 2025?",
"price": 0.62,
"pnl": 12.5
}
]
}{
"error": {
"code": "bad_request",
"message": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}{
"error": {
"code": "forbidden",
"message": "This key does not have the required scope."
}
}{
"error": {
"code": "conflict",
"message": "You are already following this trader."
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Retry after 30 seconds."
}
}Authorizations
API key in the format cc_<64 hex characters>. Obtain from the Dashboard under Settings → API Keys.
Body
application/json
Response
Trader followed.
Trader's Ethereum wallet address.
Example:
"0xAbCd1234..."
true if copy trading is currently active for this trader.
Percentage of each trade to copy.
Required range:
0 <= x <= 100Example:
25
Trader's display name.
Example:
"sharptrader"
Maximum USDC to deploy per copied trade. null means no cap.
Example:
500
Total number of trades copied from this trader.
Example:
14
P&L in USDC from trades copied from this trader.
Example:
128.4
Whether notifications are enabled for this trader's activity.
Unix timestamp (ms) when you started following this trader.
Example:
1741500000000
The 10 most recent trades by this trader.
Show child attributes
Show child attributes
Was this page helpful?
⌘I

