GetBuyPriceAfterFee

API

API/token/profile/v1/calculate/buy_price/after_fee

Title

GetBuyPriceAfterFee

Description

Get buy price after fee 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 purchased

ecosystem

string

YES

Only suppports "farcaster"

Request and Response Example

Request

cURL Code

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

Request URL

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

Response

{
  "code": 0,
  "ts": "2023-12-22 04:08:34.20110",
  "msg": "OK",
  "data": 127337500000000
}

Last updated