GetSellPrice

API

API/token/profile/v1/calculate/sell_price

Title

GetSellPriceAfterFee

Description

Get sell price of the Key based on amount

Authorization

Not required

Method

GET

Request Parameters

NameTypeRequiredDescription

creatorId

int

YES

The Farcaster FID of creator

amount

int

YES

The amount of Key to be sold

ecosystem

string

YES

Only suppports "farcaster"

Request and Response Example

Request

cURL Code

curl -X 'GET' \
  'https://api.tako.so/token/profile/v1/calculate/sell_price?creatorId=10001&amount=1&ecosystem=farcaster' \
  -H 'accept: application/json'

Request URL

https://api.tako.so/token/profile/v1/calculate/sell_price?creatorId=10001&amount=1&ecosystem=farcaster

Response

{
  "code": 0,
  "ts": "2023-12-22 04:09:45.58160",
  "msg": "OK",
  "data": 70691666666668
}

Last updated