Logo
BotSec by AKZ Team

API Overview

The AKZ REST API is built for high speed, reliability, and security. Designed with JSON caching, offline MMDB integration, and fair credit accounting.

Base URL
https://testing.kreass.in/api/v1/

Authentication & License Keys

Every API request (except public health and counters endpoints) requires a valid License Key with prefix akz_.

Method 1: Bearer Header (Recommended)
Authorization: Bearer akz_xxxxxxxxxxxxx
Method 2: Query Parameter
GET /api/v1/geo?ip=8.8.8.8&secret=akz_xxxxxxxxxxxxx

Credit Deduction Rules

1 Credit Deducted: On every successful status 200 OK response.

Cached Responses: Still deduct 1 credit because cached data represents an already validated successful response.

Zero Deduction on Errors: If request fails, parameters are invalid, or external upstream errors occur, no credits are deducted.

GET

/api/v1/geo

Try in Playground

Comprehensive IP geolocation data including city, country, region, coordinates, timezone, ISP, proxy/hosting detection, and active full flag icon URL.

Parameter Type Required Description
ip string Yes IPv4 or IPv6 address (e.g. 8.8.8.8)
Example Response (JSON):
{
  "status": "success",
  "message": "Geolocation data retrieved successfully.",
  "data": {
    "ip": "8.8.8.8",
    "city": "Ashburn",
    "country": "United States",
    "country_code": "US",
    "flags_icon": "https://testing.kreass.in/icons/flags/us.png",
    "region": "Virginia",
    "timezone": "America/New_York",
    "isp": "Google LLC"
  },
  "response": "42ms",
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}
GET

/api/v1/geolite

Try in Playground

High-speed local offline IP lookup using embedded City and ASN databases. Optimal for latency-sensitive applications.

Parameter Type Required Description
ip string Yes Target IP address
Example Response (JSON):
{
  "status": "success",
  "message": "Geolocation data retrieved successfully.",
  "data": {
    "ip": "1.1.1.1",
    "city": "Brisbane",
    "country": "Australia",
    "country_code": "AU",
    "flags_icon": "https://testing.kreass.in/icons/flags/au.png",
    "region": "Queensland",
    "region_code": "QLD",
    "continent": "Oceania",
    "continent_code": "OC",
    "zip": "4000",
    "timezone": "Australia/Brisbane",
    "latitude": -27.4698,
    "longitude": 153.0251,
    "accuracy_radius": 100,
    "isp": "Cloudflare, Inc.",
    "as_number": "AS13335",
    "as_organization": "AS13335 - Cloudflare, Inc."
  },
  "response": "4ms",
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}
POST

/api/v1/validate

Try in Playground

Advanced email deliverability check: RFC syntax verification, MX DNS records check, live SMTP handshake ping, and disposable temp-mail detection.

Parameter Type Required Description
email string Yes Email address to validate
Example Response (JSON):
{
  "status": "success",
  "message": "Email validation completed",
  "data": {
    "email": "[email protected]",
    "valid": true,
    "message": "Address is valid and deliverable via SMTP.",
    "reason": "OK",
    "code": 250,
    "timestamp": "2026-11-05 01:25:00"
  },
  "response": "65ms",
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}
GET

/api/v1/cards

Try in Playground

Card BIN/IIN lookup from local SQLite database: provides card scheme, type (debit/credit), issuing bank, and country.

Parameter Type Required Description
bin string / int Yes First 6 to 8 digits of credit/debit card (e.g. 411111)
Example Response (JSON):
{
  "status": "success",
  "message": "Card information retrieved successfully.",
  "data": {
    "bin": "411111",
    "card": {
      "brand": "VISA",
      "type": "CREDIT",
      "category": "PLATINUM"
    },
    "bank": {
      "name": "JPMORGAN CHASE BANK, N.A.",
      "phone": "+1-800-935-9935",
      "url": "https://www.chase.com"
    },
    "country": {
      "code": "US",
      "code3": "USA",
      "name": "United States",
      "phone_code": "+1",
      "capital": "Washington, D.C.",
      "emoji": "🇺🇸"
    },
    "currency": {
      "symbol": "$",
      "code": "USD",
      "name": "United States Dollar"
    },
    "continent": {
      "name": "North America",
      "code": "NA"
    }
  },
  "response": "12ms",
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}
POST

/api/v1/device

Try in Playground

Extracts rich browser, operating system, device brand/model, and bot detection intelligence from any User-Agent string.

Parameter Type Required Description
ua string Yes Target User-Agent string to parse and detect
Example Response (JSON):
{
  "status": "success",
  "message": "Device information retrieved successfully.",
  "data": {
    "is_bot": false,
    "device": {
      "name": "desktop",
      "brand": "",
      "model": ""
    },
    "client": {
      "type": "browser",
      "name": "Chrome",
      "version": "131.0.0.0",
      "engine": "Blink",
      "engine_version": "131.0.0.0"
    },
    "os": {
      "name": "Windows",
      "version": "10",
      "platform": "x64"
    },
    "raw": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
  },
  "response": "8ms",
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}
GET

/api/v1/access

Try in Playground

Deep access analysis combining IPStack dashboard lookup, client geolocation, and risk analysis.

Parameter Type Required Description
ip string Yes Target IPv4 or IPv6 address to analyze
ua string Optional Client User-Agent for combined device & crawler reputation check
Example Response (JSON):
{
  "status": "success",
  "message": "Access check completed.",
  "data": {
    "ip": {
      "query": "8.8.8.8",
      "country": "United States",
      "isp": "Google LLC",
      "org": "Google LLC",
      "is_blacklisted": false,
      "suggest": "pass",
      "reason": null
    },
    "ua": {
      "is_bot": false,
      "client": "Chrome 131.0",
      "os": "Windows 10"
    }
  },
  "response": "18ms",
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}
GET

/api/v1/block

Try in Playground

IP threat reputation engine: evaluates spam scores, VPN, Tor exit nodes, and automated scrapers.

Parameter Type Required Description
ip string Yes Target IPv4 or IPv6 address to evaluate for threat reputation
Example Response (JSON):
{
  "status": "success",
  "message": "IP reputation checked.",
  "data": {
    "query": "8.8.8.8",
    "type": "IPv4",
    "is_private": false,
    "country": "United States",
    "isp": "Google LLC",
    "org": "Google LLC",
    "is_blacklisted": false,
    "suggest": "pass",
    "reason": null
  },
  "response": "22ms",
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}
GET

/api/health

Public (No Auth)

Returns API server operational health, uptime, memory consumption, and SQLite database file sizes.

Example Response (JSON):
{
  "status": "success",
  "message": "API is healthy and operational",
  "data": {
    "status": "healthy",
    "timestamp": "2026-11-05T01:25:00+08:00",
    "server_time": "2026-11-05 01:25:00",
    "timezone": "Asia/Jakarta",
    "php_version": "8.2.18",
    "memory_usage": "2.5 MB",
    "uptime": "Active",
    "all_checks_passed": true
  },
  "response": "2ms",
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}
GET

/api/counters

Public (No Auth)

Provides aggregated API telemetry, request counts (24h, 7d, 30d), and response time benchmarks.

Example Response (JSON):
{
  "status": "success",
  "data": {
    "overview": {
      "total_requests": 1420,
      "requests_24h": 320,
      "requests_7d": 1100,
      "requests_30d": 1420
    },
    "performance": {
      "response_time_stats": {
        "avg_response_time": "35ms",
        "min_response_time": "2ms",
        "max_response_time": "120ms"
      }
    }
  },
  "website": "https://akzteam.com",
  "contact": "https://t.me/AozoraKZ"
}