Skip to main content
POST
/
follow
/
{ownerPubkey}
cURL
curl --request POST \
  --url https://api.jup.ag/prediction/v1/follow/{ownerPubkey} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "followerPubkey": "<string>"
}
'
{
  "followerPubkey": "<string>",
  "followingPubkey": "<string>",
  "createdAt": "<string>"
}

Authorizations

x-api-key
string
header
required

Get API key via https://portal.jup.ag

Path Parameters

ownerPubkey
string
required

Body

application/json
followerPubkey
string
required

Response

Successfully followed user

followerPubkey
string
required
followingPubkey
string
required
createdAt
string
required