Smart Money API ၏ ပြည့်စုံသော sandbox environment ဖြင့် စမ်းသပ်မှုများကို ကျွမ်းကျင်စွာ လုပ်ဆောင်ပါ။ အချက်အလက်များကို စမ်းသပ်ရန်၊ တိကျသော တုံ့ပြန်မှုများနှင့် စမ်းသပ်မှုအတွက် လိုအပ်သော rate limits များကို အသုံးပြု၍ အန္တရာယ်မရှိဘဲ ဖွံ့ဖြိုးနိုင်ပါသည်။
Smart Money API သည် ဖွံ့ဖြိုးမှုနှင့် စမ်းသပ်မှုများအတွက် ပြည့်စုံသော sandbox environment ကို ပံ့ပိုးပေးသည်။ Sandbox သည် production API ၏ တည်ဆောက်ပုံကို ထင်ဟပ်စေသော်လည်း အချက်အလက်များကို စမ်းသပ်ရန်အတွက်သာ အသုံးပြုပြီး rate limits များကို ပိုမိုလွယ်ကူစွာ အသုံးပြုနိုင်စေရန် ပြုလုပ်ထားသည်။
အဓိက လက္ခဏာများ-
အကောင်းဆုံးအလေ့အကျင့်- ဖွံ့ဖြိုးမှု၊ စမ်းသပ်မှုနှင့် staging အားလုံးအတွက် sandbox environment ကို အသုံးပြုပါ။ Production ကို sandbox တွင် စမ်းသပ်ပြီးမှသာ အသုံးပြုပါ။
Sandbox တွင် ကျပန်းမပြောင်းလဲသော cryptocurrency market data များ ပါဝင်သည်-
တည်ဆောက်ရန် အဆင်သင့်ဖြစ်ပြီလား။ အခမဲ့ API key (တစ်နေ့ ၅၀ ခေါ်ဆိုမှု၊ ကတ်မလိုအပ်) ကို ရယူပြီး whale၊ funding နှင့် on-chain data များကို စတင်ရယူပါ။
API key ရယူရန် →Dashboard မှတစ်ဆင့် စမ်းသပ်အကောင့်တစ်ခုဖန်တီးပြီး sandbox API keys များကို ထုတ်ပေးပါ-
ဤအများသုံး စမ်းသပ် keys များကို အမြန်စမ်းသပ်ရန် အသုံးပြုပါ (rate limited)-
| Key | ခွင့်ပြုချက်များ | Limit |
|---|---|---|
| sk_test_demo | အားလုံးဖတ်ရန် | ၁၀၀/hour |
| sk_test_trader | ဖတ်ရန် + alerts | ၅၀၀/hour |
| sk_test_pro | အပြည့်အဝ အသုံးပြုခွင့် | ၅၀၀၀/hour |
Production တွင် စမ်းသပ် keys များကို ဘယ်သောအခါမှ အသုံးမပြုပါနှင့်။ ၎င်းတို့တွင် လုပ်ဆောင်နိုင်စွမ်းနှင့် rate limits များ ကန့်သတ်ထားသည်။
Sandbox တွင် ဤစမ်းသပ် trading pairs များနှင့် လက်တွေ့ကျသော သမိုင်းကြောင်း data များ ပါဝင်သည်-
ကြိုတင်ပြင်ဆင်ထားသော စမ်းသပ် wallets များနှင့် deterministic အပြုအမူများ-
| Endpoint | Purpose |
|---|---|
| POST /test/reset | စမ်းသပ်ဒေတာများကို အစအဆုံးပြန်လည်သတ်မှတ်ရန် |
| POST /test/inject-error | စမ်းသပ်မှုအတွက် အထူးအမှားတစ်ခုထည့်သွင်းရန် |
| POST /test/simulate-time | မတူညီသော ဈေးကွက်အခြေအနေများကို စမ်းသပ်ရန် |
| GET /test/status | Sandbox ပတ်ဝန်းကျင်ကျန်းမာရေးကို စစ်ဆေးရန် |
ခြွင်းချက်ကိုင်တွယ်မှုစမ်းသပ်ခြင်းအတွက် အထူးအမှားတုံ့ပြန်မှုများကို အတင်းအကျပ်ထည့်သွင်းရန်
| Error Code | HTTP Status | Use Case |
|---|---|---|
| invalid_key | 401 | Auth error handling |
| rate_limit_exceeded | 429 | Backoff logic testing |
| not_found | 404 | Missing resource handling |
| service_unavailable | 503 | Retry logic testing |
| timeout | 504 | Timeout handling |
| Environment | Limit/Hour | Burst | Purpose |
|---|---|---|---|
| Sandbox | 10,000 | 500/min | Development & testing |
| Production Free | 1,000 | 50/min | Hobby projects |
| Production Trader | 10,000 | 400/min | Professional trading |
| Production Pro | 50,000 | 1000/min | High-frequency systems |
Production မတင်မီ sandbox တွင် အလုပ်အလုံးစုံစမ်းသပ်ရန်
Sandbox နှင့် production အကြား ပြောင်းလဲရန် environment variables များကို အသုံးပြုပါ။
Problem: Getting 401 Unauthorized with test key
Solutions:
Problem: Test data doesn't reset after POST /test/reset
Solutions:
Problem: Hitting rate limits in sandbox (shouldn't happen)
Solutions:
Use our comprehensive sandbox environment for safe, isolated development. Deterministic test data, high rate limits, and complete feature parity with production.
Get Test CredentialsGet live whale flow, funding, open interest and on-chain data across 3 exchanges from one API. Free tier, no credit card, upgrade any time.
Start free →