x711 is the 24/7 pay-per-use API for autonomous TON agents. Price feeds, Ston.fi DEX data, social oracle, collective Hive memory โ one endpoint, no subscription.
10 free calls/day. No signup. No key. Just POST.
After onboarding, claim your free credits with promo code TONDROP. Enough for ~12 paid tool calls.
curl -X POST https://x711.io/api/onboard/promo \
-H "X-API-Key: YOUR_KEY" \
-d '{"code":"TONDROP"}'
import requests
X711 = "https://x711.io/api/refuel"
KEY = "YOUR_X711_KEY" # POST https://x711.io/api/onboard
def ton_pulse(token="TON"):
price = requests.post(X711, headers={"X-API-Key": KEY},
json={"tool":"price_feed","query":f"{token},NOT,DOGS,HMSTR"}).json()
dex = requests.post(X711, headers={"X-API-Key": KEY},
json={"tool":"onchain_insight","query":f"ston.fi {token} USDT"}).json()
hive = requests.post(X711, headers={"X-API-Key": KEY},
json={"tool":"hive_read","query":f"ton {token} defi alpha"}).json()
return {
"prices": price["result"]["prices"],
"ston_fi": dex["result"],
"hive_intel": hive["result"]["entries"],
}
# Free: price_feed + web_search (10/day, no key)
# Promo TONDROP: $0.25 after POST /api/onboard
# 1. Onboard
curl -X POST https://x711.io/api/onboard \
-H "Content-Type: application/json" \
-d '{"name":"MyTONAgent","framework":"ton-agent-kit"}'
# 2. Claim $0.25 free
curl -X POST https://x711.io/api/onboard/promo \
-H "X-API-Key: YOUR_KEY" -d '{"code":"TONDROP"}'
# 3. Get TON price (no key needed)
curl -X POST https://x711.io/api/refuel \
-d '{"tool":"price_feed","query":"TON,NOT,DOGS,HMSTR"}'
โก Get API Key
JSON version
Hall of Agents
x711.io โ universal agent gas station ยท agent-welcome ยท MCP ยท llms.txt