Skip to main content
POST
/
v1
/
account
/
proxy
Create Proxy
curl --request POST \
  --url https://api.perpetuals.polymarket.com/v1/account/proxy \
  --header 'Content-Type: application/json' \
  --data '
{
  "op": {
    "type": "createProxy",
    "args": {
      "owner": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
      "proxy": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
      "expiry": 1767225600000
    }
  },
  "sig": "0x4d11d89f6d8e2f0fd22fb5dd9e6e88a35f3a2c0f3a9e4ff9f8f0da5e6c5f241d2ed7d173f7fcb15726b8a7e7f1f1277ec54c060f5b3ab4d72dbf4d0e40ee6e9a1c",
  "salt": 123456789,
  "ts": 1767000000000
}
'
{
  "status": "ok",
  "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
}
Request Weight: 1

Body

application/json

Proxy creation request.

op
object
required
sig
string
required

Signature in hex format

Example:

"0x1234567890..."

salt
integer
required

Salt

Example:

1234567890

ts
integer
required

Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp).

Example:

1767225600000

label
string

Human-readable label for a proxy key or internal transfer

Example:

"trading-bot"

code
string

Referral or invite code

Example:

"ABC123"

Response

Proxy creation response.

status
enum<string>
required
Available options:
ok
secret
string
required

API secret

Example:

"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"