Powerful Gaming Data API Real-time Results & Integration

Access real-time gaming data, manage API keys, configure webhooks, and integrate seamlessly with your applications. Trusted by developers worldwide.

99.9% Uptime
50ms Avg Response
10K+ Active Users
24/7 Support

Why Choose Sametrend API?

Powerful features designed for developers and businesses

Real-time Data

Get instant access to live game results with sub-second latency. Perfect for real-time applications and live updates.

Secure & Reliable

Enterprise-grade security with API key authentication, rate limiting, and DDoS protection.

Easy Integration

Simple REST API with comprehensive documentation, SDKs, and code examples in multiple languages.

Webhook Support

Receive instant notifications with our webhook system. Configure events and get real-time updates.

Analytics Dashboard

Monitor your API usage, track performance, and analyze data with our comprehensive dashboard.

24/7 Support

Get help when you need it with our round-the-clock support team and extensive documentation.

Supported Games

Comprehensive coverage of popular gaming categories

🎯

Wingo

Fast-paced lottery with 20s, 5m, and 10m intervals. Real-time results and multiple betting options.

🎲

K3

Three-digit lottery with frequent draws. Simple rules with multiple winning combinations.

🔢

5D

Five-digit lottery with various prize tiers. Daily draws with large jackpot opportunities.

⛓️

TRX

Blockchain-based gaming with instant payouts. Provably fair and transparent results.

API Documentation

Complete guide to integrating with our API

Getting Started

Welcome to the Sametrend API documentation. This guide will help you integrate our gaming data API into your application.

Prerequisites

  • An active Sametrend API account
  • Your API key (available in your dashboard)
  • Basic knowledge of REST APIs

Quick Start

Make your first API request to test the connection:

curl -X GET "https://api.sametrend.com/v1/games" \
  -H "Authorization: Bearer YOUR_API_KEY"

Authentication

All API requests must include your API key in the Authorization header.

Authorization: Bearer YOUR_API_KEY

You can find your API key in the Developer Dashboard

API Endpoints

Get Game Results

Retrieve the latest results for a specific game:

GET /v1/games/{game_id}/results

Get Historical Data

Retrieve historical game results with pagination:

GET /v1/games/{game_id}/history?page=1&limit=50

Subscribe to Webhooks

Set up a webhook to receive real-time notifications:

POST /v1/webhooks
{
  "url": "https://yourdomain.com/webhook",
  "events": ["result.published", "game.started"]
}

Webhooks

Webhooks allow you to receive real-time notifications when events occur in our system.

Available Events

  • result.published - When a new game result is published
  • game.started - When a new game round starts
  • game.ended - When a game round ends
  • maintenance.start - When maintenance begins
  • maintenance.end - When maintenance ends

Webhook Payload

{
  "event": "result.published",
  "data": {
    "game_id": "wingo",
    "round_id": "12345",
    "result": "12,34,56,78,90",
    "timestamp": "2023-06-15T10:30:00Z"
  }
}

Rate Limiting

To ensure fair usage, API requests are rate limited based on your plan:

  • Free Plan: 100 requests/hour
  • Starter Plan: 1,000 requests/hour
  • Professional Plan: 10,000 requests/hour
  • Enterprise Plan: Custom limits

Rate limit headers are included in all responses:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 995
X-RateLimit-Reset: 1623751200

Error Codes

The API uses standard HTTP status codes and returns detailed error messages:

  • 400 - Bad Request
  • 401 - Unauthorized
  • 403 - Forbidden
  • 404 - Not Found
  • 429 - Too Many Requests
  • 500 - Internal Server Error

SDKs & Libraries

We provide official SDKs for popular programming languages to make integration easier:

Install the JavaScript SDK:

npm install sametrend-api

Usage example:

const SametrendAPI = require('sametrend-api');
const client = new SametrendAPI('YOUR_API_KEY');

// Get latest results
client.games.getResults('wingo')
  .then(results => console.log(results))
  .catch(error => console.error(error));

Install the Python SDK:

pip install sametrend-api

Usage example:

from sametrend import SametrendAPI

client = SametrendAPI(api_key='YOUR_API_KEY')

# Get latest results
results = client.games.get_results('wingo')
print(results)

Install the PHP SDK:

composer require sametrend/api

Usage example:

<?php
require 'vendor/autoload.php';

use Sametrend\API\Client;

$client = new Client('YOUR_API_KEY');

// Get latest results
$results = $client->games->getResults('wingo');
print_r($results);
?>

API Status

Real-time status of our API services

API Gateway

Operational

Game Data

Operational

Webhooks

Operational

Authentication

Operational

What Our Users Say

Trusted by developers and businesses worldwide

"Sametrend API has been a game-changer for our application. The real-time data and reliable service have helped us deliver a superior experience to our users."
JD

John Doe

CTO, GameTech Solutions

"The documentation is excellent, and the support team is always responsive. Integration was smooth, and we've had zero downtime since we started using the API."
AS

Anna Smith

Lead Developer, BetApp

"We compared several gaming data APIs, and Sametrend stood out for its reliability, speed, and comprehensive feature set. Highly recommended!"
MJ

Michael Johnson

Founder, LottoPro

Ready to Get Started?

Join thousands of developers using Sametrend API to power their applications.