Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Polymarket Get fee rate

เอกสาร API
https://api.sandbase.ai/v1/api/polymarket/fee-rate

Retrieves the base fee rate for a specific token ID. The fee rate can be provided either as a query parameter or as a path parameter.

ราคา
$0.012USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
Token ID (asset ID)
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Polymarket Get fee rate API

Returns the base fee rate for one Polymarket outcome token. You pass the token ID (asset ID) as token_id.

Use cases

  • Check the fee rate for a token before you build an order for it.
  • Compare the fee rate across several outcome tokens in a trading bot.
  • Include the fee in a cost or profit estimate for a Polymarket trade.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/fee-rate" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"token_id": "32338220190071351435772801779725302244575775216413325951443816017994629993401"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
token_idstringNoToken ID (asset ID)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "base_fee": 1000
}

Response fields

FieldMeaning
base_feeThe base fee rate for the token ID you sent. This is the only field in the response.
base_feeA whole number. The sample request returned 1000.
base_feeThe response shows no unit label, so check the Polymarket documentation before you convert it to a percentage.

Notes

Pricing

$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON
Polymarket$0.012 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Polymarket Get fee rate API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/polymarket/fee-rate โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Polymarket Get fee rate API ราคาเท่าไร?

$0.012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Polymarket Get fee rate API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: token_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Polymarket Get fee rate API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Polymarket ไหม?

ไม่จำเป็น Polymarket Get fee rate ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Polymarket API แยกต่างหาก