Integrate prediction markets into your app. Enable your users to trade on real-world events with our simple REST API.
Contact us to register as a partner and get your API credentials.
Authorization: Bearer gp_live_xxxxxxxxxxxxxxxxCreate or get a user using your own external ID (e.g., phone number).
curl -X POST https://www.guap.gold/api/v1/users \
-H "Authorization: Bearer gp_live_xxx" \
-H "Content-Type: application/json" \
-d '{"externalId": "255712345678"}'Let your users trade on prediction markets.
curl -X POST https://www.guap.gold/api/v1/trades \
-H "Authorization: Bearer gp_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"externalId": "255712345678",
"marketId": "clxyz123",
"side": "YES",
"amountTzs": 5000
}'All API requests require a Bearer token in the Authorization header:
Authorization: Bearer gp_live_xxxxxxxxxxxxxxxxSet a Webhook URL in your dashboard and we'll POST a signed JSON event each time something happens. Events for a user also include that user's externalId.
Funds are custodial and pooled. Your users do not each get an on-chain wallet — they are tracked by a DB balance that represents their claim on our single settlement pool. Real nTZS only moves on-chain at deposit (in) and withdrawal (out); everything in between is ledger movement.
So to create a market, trade, or anything that costs money, the user must have a funded DB balance. No nTZS wallet provisioning is required.
Register for a partner account to get your API credentials instantly.
Request API Access