Avex
API Reference

Build with the Avex API

Live status, the websites Avex runs, pricing and address availability, as JSON. Free, and no key needed.

Guide API reference
Contents

Contents

  1. Introduction
  2. Basics
    1. Responses
    2. Errors
    3. Rate limits
  3. Endpoints
    1. Status
    2. Websites
    3. Pricing
    4. Address check
    5. API info
  4. Examples
  5. Changes

Introduction

The Avex API is how your bot, website or app can read Avex's live data. Every endpoint is a simple GET that answers in JSON. You don't need an account or a key, and it works from any website (CORS is open).

Base URL https://avexcad.xyz/api/v1

Basics

Responses

Every answer has the same shape. When it works, ok is true and what you asked for is in data:

{
  "ok": true,
  "data": { ... }
}

Times are ISO 8601 in UTC (2026-11-13T18:04:00.000Z), days are YYYY-MM-DD in UTC. A service's state is always one of:

stateMeaning
upWorking normally.
degradedPartly down, or answering slowly (over 4 seconds).
downNot answering.
unknownNot checked yet (for a few seconds after Avex restarts).

Errors

When something is wrong, ok is false and the HTTP status says what kind of problem it is:

{
  "ok": false,
  "error": { "code": "bad_days", "message": "days must be a whole number from 0 to 90." }
}
HTTPcodeWhen
400bad_days, bad_nameA parameter isn't valid. The message says how to fix it.
429rate_limitedToo many requests. Wait for the number of seconds in Retry-After.
500internal_errorSomething broke on our side. Try again in a minute.

Rate limits

You can make 60 requests a minute from one IP address, across all endpoints. Every answer tells you where you are:

HeaderMeaning
X-RateLimit-LimitRequests allowed a minute (60).
X-RateLimit-RemainingRequests left this minute.
X-RateLimit-ResetWhen the count starts again (Unix time, seconds).
X-Avex-Api-VersionThe API version that answered.
Tip: status is checked once a minute, so there's no point asking more often than that. Answers are cached for 30 seconds (status, websites) or 5 minutes (pricing).

Endpoints

GET/api/v1/status

The overall state, each service right now, and history per day. This is the same data as the status page. The services are avex (Avex itself), discord (all Avex Discord bots as one) and websites (every website Avex runs, as one).

Query parameters

NameTypeDescription
daysinteger, optionalHow many days of history, 0 to 90. Default 30. 0 leaves out history.

Response

{
  "ok": true,
  "data": {
    "state": "up",
    "checkedEverySeconds": 60,
    "services": [
      {
        "id": "avex",
        "name": "Avex",
        "state": "up",
        "responseMs": 21,
        "checkedAt": "2026-11-13T18:04:00.000Z",
        "uptime": 100,
        "history": [
          { "day": "2026-11-13", "checks": 1084, "up": 1084, "degraded": 0, "down": 0 }
        ]
      }
    ]
  }
}

uptime is the percentage of checks in the period that weren't down (null when there's no data yet). In history, there is one check a minute, so the numbers are also minutes.

GET /api/v1/status?days=0
GET/api/v1/websites

Every community website Avex runs, with its latest check. Each website's homepage and CAD are checked once a minute.

Response

{
  "ok": true,
  "data": [
    {
      "id": "bigsky",
      "name": "Big Sky Roleplay",
      "url": "https://bigsky.avexcad.xyz",
      "discord": "https://discord.gg/bigsky",
      "state": "up",
      "responseMs": 142,
      "checkedAt": "2026-11-13T18:04:00.000Z"
    }
  ]
}
GET /api/v1/websites
GET/api/v1/pricing

Avex's price: one monthly Roblox subscription for every server size, with no setup fee, or the same in US dollars. development is always empty (there's no development fee any more) and is kept so older code doesn't break.

Response

{
  "ok": true,
  "data": {
    "currency": { "robux": "Robux", "usd": "USD" },
    "plan": {
      "robux": 550,
      "usd": 4.99,
      "period": "month",
      "subscription": "EXP-140355760019341881",
      "store": "https://www.roblox.com/games/80450719281774#!/store"
    },
    "development": { "robux": [], "usd": 0 },
    "monthly": { "robux": [ ... ], "usd": 4.99 }
  }
}
GET /api/v1/pricing
GET/api/v1/addresses/{name}

Whether {name}.avexcad.xyz can still be ordered as a free Avex address. A name only counts as taken once someone has finished or paid for their order.

Path parameters

NameTypeDescription
namestring3 to 32 letters, numbers or dashes, not starting or ending with a dash. bigsky and bigsky.avexcad.xyz both work.

Response

{
  "ok": true,
  "data": {
    "name": "bigsky",
    "address": "bigsky.avexcad.xyz",
    "available": false,
    "order": null
  }
}

order is where to order it, or null when it's taken. A name that breaks the rules answers 400 bad_name.

GET /api/v1/addresses/
GET/api/v1

The API's name, version, and a list of the endpoints.

GET /api/v1

Examples

Show Avex's status in your own Discord bot or website.

curl https://avexcad.xyz/api/v1/status?days=0

Changes

We add to v1 without breaking it: new fields and new endpoints can appear, so ignore fields you don't know. Anything that would break your code gets a new version (/api/v2), and v1 keeps working.

VersionDateWhat changed
1.0.0November 13, 2026First version: status, websites, pricing, address check.

Questions or ideas for the API? Ask in the Avex Discord.