{"openapi":"3.0.3","info":{"title":"UAS Router API","version":"1.0.0","contact":{"email":"support@unitedafricashilling.com","url":"https://launch.sparkpulse.net/developers.html"},"description":"Keyless API to buy or sell UAS (United Africa Shilling, gold-backed) at the best price across Solana (Meteora), BNB Chain (PancakeSwap v3) and SparkPulse Exchange, with the gold-redemption floor in every quote, and trade any SparkPulse Launch token (priced in UAS). No custody: every transaction is signed by the caller's own wallet."},"servers":[{"url":"https://launch.sparkpulse.net/api"}],"paths":{"/router/info":{"get":{"operationId":"routerInfo","summary":"Venues, limits, statement signer","responses":{"200":{"description":"Router information"}}}},"/router/quote":{"get":{"operationId":"routerQuote","summary":"Best routes to buy or sell UAS","parameters":[{"name":"side","in":"query","required":true,"schema":{"type":"string","enum":["buy","sell"]}},{"name":"asset","in":"query","required":true,"schema":{"type":"string","enum":["SOL","BNB","USDT","USD","UAS"]},"description":"buy: what you spend (USD compares all venues); sell: UAS"},{"name":"amount","in":"query","required":true,"schema":{"type":"number"}},{"name":"venue","in":"query","schema":{"type":"string","enum":["solana-meteora","bnb-pancakeswap","exchange"]}},{"name":"slippageBps","in":"query","schema":{"type":"integer","minimum":10,"maximum":1000,"default":100}}],"responses":{"200":{"description":"Routes, best first, with the gold floor"},"429":{"description":"Rate limited"},"503":{"description":"Busy, retry"}}}},"/router/build":{"post":{"operationId":"routerBuild","summary":"Unsigned transaction for your own wallet","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["venue","side","amount","wallet"],"properties":{"venue":{"type":"string","enum":["solana-meteora","bnb-pancakeswap"]},"side":{"type":"string","enum":["buy","sell"]},"amount":{"type":"number"},"wallet":{"type":"string"},"slippageBps":{"type":"integer","minimum":10,"maximum":1000},"acceptImpact":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Solana: {id, tx (base64 v0)}; BNB: {tx: {to, data, value}, approval?}"}}}},"/router/submit":{"post":{"operationId":"routerSubmit","summary":"Send a signed Solana transaction built by /router/build","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","tx"],"properties":{"id":{"type":"string"},"tx":{"type":"string"}}}}}},"responses":{"200":{"description":"{signature}"}}}},"/router/launch/tokens":{"get":{"operationId":"launchTokens","summary":"SparkPulse Launch tokens (all priced in UAS)","parameters":[{"name":"tab","in":"query","schema":{"type":"string"}},{"name":"q","in":"query","schema":{"type":"string"},"description":"name, symbol or mint"}],"responses":{"200":{"description":"Tokens with price, liquidity, volume, holders, trust score"}}}},"/router/launch/quote":{"get":{"operationId":"launchQuote","summary":"Quote a Launch token buy or sell (open market only)","parameters":[{"name":"mint","in":"query","required":true,"schema":{"type":"string"}},{"name":"side","in":"query","required":true,"schema":{"type":"string","enum":["buy","sell"]}},{"name":"asset","in":"query","required":true,"schema":{"type":"string","enum":["SOL","UAS"]},"description":"buy: SOL or UAS; sell: UAS"},{"name":"amount","in":"query","required":true,"schema":{"type":"number"},"description":"buy: SOL/UAS to spend; sell: tokens to sell"},{"name":"wallet","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Quote; SOL buys first buy UAS on the open market"}}}},"/router/launch/build":{"post":{"operationId":"launchBuild","summary":"Unsigned transaction for a Launch token trade, your wallet pays its own fee","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["mint","side","asset","amount","wallet"],"properties":{"mint":{"type":"string"},"side":{"type":"string","enum":["buy","sell"]},"asset":{"type":"string","enum":["SOL","UAS"]},"amount":{"type":"number"},"wallet":{"type":"string"}}}}}},"responses":{"200":{"description":"{id, tx (base64 v0), lastValidBlockHeight, quote}"}}}},"/router/launch/submit":{"post":{"operationId":"launchSubmit","summary":"Send a signed Launch trade built by /router/launch/build (within 120 s)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","tx"],"properties":{"id":{"type":"integer"},"tx":{"type":"string"}}}}}},"responses":{"200":{"description":"{signature}"}}}},"/statement":{"get":{"operationId":"reserveStatement","summary":"Ed25519-signed UAS reserve statement","responses":{"200":{"description":"{data, signature, signer, alg}"}}}}}}