Skip to content

About

Example about Asuas Network's API Requests

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Asuas Network

Asuas · API Request Example

Premium FiveM anti‑cheat & Discord user intelligence.
A minimal Python + JavaScript client for the Asuas Network public API.

Python 3.8+   Node.js 18+   Minimal dependencies

API reference   Base URL   Auth: Bearer token   Status: example

Base URL https://asuas.eu  •  hosted alias https://api.asuas.eu  •  full reference at /api-docs


What this does

Given a Discord user ID, it calls the public anti‑cheat bundle endpoint and prints a sectioned report — a derived verdict plus every connected anti‑cheat that returned data (Anvil bans, linked accounts, ElectronAC, AirCore blacklist, Lyx.ac, GuardianFX).

Same spirit as a classic “look up a pin” example — adapted to what Asuas actually returns.

POST  https://asuas.eu/api/public/anticheat-check
Body  { "discordId": "123456789012345678" }
Auth  Authorization: Bearer <ASUAS_API_KEY>

Requirements

Runtime Version Notes
Python 3.8+ needs requests — pip install requests
Node.js 18+ uses the built‑in global fetch — zero dependencies

You also need an API key for the anti‑cheat bundle. Set it once as an environment variable:

export ASUAS_API_KEY="your_key_here"
export ASUAS_API_BASE="https://asuas.eu"   # optional — this is the default

Quick start

🐍  Python 🟢  JavaScript
pip install requests
ASUAS_API_KEY="sk_live_xxx" \
  python main.py 123456789012345678
# Node 18+, no install step
ASUAS_API_KEY="sk_live_xxx" \
  node example.js 123456789012345678

Point at the hosted API alias instead of the site:

ASUAS_API_BASE="https://api.asuas.eu" node example.js 123456789012345678

Example output

Sample only — field values are fabricated to show the layout.

============================================================
  ASUAS NETWORK - Anticheat lookup
============================================================
Discord ID : 123456789012345678
Endpoint   : POST https://asuas.eu/api/public/anticheat-check
Verdict    : FLAGGED - Anvil ban record, 1 AirCore blacklist hit(s), Lyx.ac ban

Anvil - Bans
------------
{
  "reason": "Illegal Ped Spawn Detected",
  "anticheat": "Anvil",
  "timestamp": "2025-12-23T18:59:34.808Z"
}

Anvil - Linked Accounts
-----------------------
No linked accounts.

ElectronAC
----------
Nothing found.

AirCore - Verification / Blacklist
---------------------------------
Staff access match : false
Blacklist hits     : 1 of 4213 listed
  - Cheat provider customer | by AutoDetect | 2025-12-20T10:00:00Z
Proof links        : 1
  - https://example.com/evidence.png (Safe Market)

Lyx.ac
------
BANNED (banId=lyx_8842)

GuardianFX
----------
Not configured on this instance.

============================================================
Raw response keys: accounts, aircore, bans, electronac, guardianfx, lyx

Clean lookup:

Verdict    : CLEAN - no records across connected anticheats

API Reference

Controller API — https://api.asuas.eu

Method Path Auth Description
GET /health none Service health check
GET /servers?discordID= Bearer token Discord servers a user is in (message counts, roles, join dates)
GET /messages?discordID=&limit= Bearer token Cached messages sent by a user across tracked servers
GET /events?discordID= Bearer token Recorded events: role changes, bans, kicks, mod actions
GET /identifiers?discordID= Bearer token Known game identifiers (Steam, FiveM, license, Xbox) + HWIDs
GET /cheaters?discordID= Bearer token Cheater‑database flag with sanitized reason fields
GET /bans?discordID= Bearer token Anti‑cheat ban records, enriched with Expose‑Bot exposes
GET /anti_join_check?discordID= Bearer · Enterprise Live Discord membership scan via selfbot token
GET /blacklist_discord_check?discordID= Bearer · Enterprise Membership check against known cheat servers
GET /server-check?guildId= | ?invite= none · 20/min/IP Look up a FiveM/Discord server by guild ID or invite
GET /bounties none (read) List active bounties (POST to create needs a token)
GET /forensik/posts optional Bearer Forensics analysis posts; token unlocks premium content

Website public endpoints — https://asuas.eu

Method Path Auth Description
POST /api/public/anticheat-check Bearer ASUAS_API_KEY Primary. Aggregated anti‑cheat bundle for a discordId (Anvil bans/accounts, ElectronAC, AirCore, Lyx, GuardianFX)
GET /api/public/anticheat-check Bearer ASUAS_API_KEY Quota status: { used, limit, allowed }
POST /api/public/anticheat-electron-anvil Bearer ELECTRON_ANVIL key ElectronAC + Anvil only, for a discordId
GET /api/public/anticheat-electron-anvil?discordId= Bearer ELECTRON_ANVIL key Same as above via query string; omit discordId for quota only
GET /api/public/stats?force=1 none · 60s cache Network‑wide counters: users, messages, identifiers, cheaters, AC bans, per‑game breakdown
GET /api/public/stats/history none Daily snapshots of the counters above
GET /api/public/activity-feed none Recent anonymised scan activity + a small rollup
GET /api/public/cheater-feed none · 30s cache Recent flagged cheaters; Discord IDs masked, reasons stripped
GET /api/public/explore none Aggregate for the /explore page: stats, top scanners, exposes, partners
GET /api/public/timeline/{userId} none (more if authed) Public activity timeline for a user
GET /api/public/server-check?guildId= | ?invite= none Website wrapper around the controller server check
GET /api/public/server-protection?guildId= none Computed protection score / grade for a Discord server
POST /api/public/server-report none Submit a server report — body { guildId, reason, evidenceLinks[] }
GET /api/public/feedback none Latest published community feedback entries
GET /api/public/health none Website + upstream health with 90‑day uptime history

Auth & rate limits

  • Auth model: Authorization: Bearer <key>. The controller API validates the token against its key store; the website anti‑cheat endpoints validate against a dedicated key (ASUAS_API_KEY here). No key → HTTP 401. Every no‑auth endpoint above is read‑only and server‑side cached.
  • POST /api/public/anticheat-check limits: 10s cooldown per key · max 4 lookups of the same discordId per 5 min, then a 60s timeout on that ID · daily quota (default 500, 0 = unlimited). Exceeding any of these returns HTTP 429.
  • /server-check: 20 requests/min per IP.
  • General: back off on 429 and honour Retry-After. Discord IDs must be 17–20 digits or the API returns 400.

Files

File Purpose
main.py Python 3 client (requests + argparse)
example.js Node 18+ client (global fetch, no dependencies)

Notes / things to verify

  • bans and accounts come from an upstream controller service (/anvil/*); their exact JSON shape is not pinned in this repo, so both scripts print them defensively as raw JSON and only use them for a present/absent check.
  • The verdict line is synthesised client‑side — the API does not return a single human‑readable “result” sentence.
  • lyx and guardianfx report { "configured": false } on instances without those keys; treat that as “unknown”, not “clean”.
Built for the Asuas Network · reference example, not an official SDK

About

Example about Asuas Network's API Requests

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages