API Documentation

Comprehensive guide to using the LatestX-Api's endpoints

Rate Limiting
Understanding our API rate limits
1000 requests/1 minute

To prevent abuse, our API implements rate limiting. Each client is allowed 1000 requests per 1 minute. Rate limits reset after 5 minutes.

Rate limit information is included in the response headers:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1616979600

If you exceed the rate limit, you'll receive a 429 Too Many Requests response.

Getting Started
Learn how to use our API endpoints in your applications

Base URL

All API endpoints are relative to the base URL:

https://api.raolprojects.my.id

API Versioning

Our API uses versioning to ensure backward compatibility. All API requests must include a version:

V1V2
https://api.raolprojects.my.id/api/v2/endpoint
The current default version is V2

Authentication

Currently, our APIs are available without authentication. However, we recommend using appropriate rate limiting in your applications to prevent abuse.

Response Format

All API responses are returned in JSON format with a consistent structure:

{
  "status": true,     // boolean indicating success or failure
  "creator": "LatestURL", // creator information
  "result": {},       // the actual response data
  "version": "v2"     // API version used
}

In case of errors, the response will include an error message:

{
  "status": false,
  "creator": "LatestURL",
  "error": "Error message",
  "version": "v2"
}
Media Types
Content types returned by our APIs
JSON

application/json

JSON data format for structured information

PDF

application/pdf

PDF document format for reports and documents

XML

application/xml

XML data format for structured information

ZIP

application/zip

ZIP archive format for compressed files

MP3

audio/mp3

MP3 audio format for sound files

WAV

audio/wav

WAV audio format for high-quality sound files

GIF

image/gif

GIF image format for animations

JPEG

image/jpeg

JPEG image format for photographs

PNG

image/png

PNG image format with transparency support

SVG

image/svg+xml

SVG vector image format for scalable graphics

WEBP

image/webp

WebP image format for optimized web images

CSV

text/csv

CSV format for tabular data

HTML

text/html

HTML format for web pages

TEXT

text/plain

Plain text format for simple content

MP4

video/mp4

MP4 video format for animated content

WEBM

video/webm

WebM video format for web videos

BIN

application/octet-stream

Binary data format for raw file downloads

Status Codes
Common HTTP status codes returned by our APIs
200

OK

The request was successful.

400

Bad Request

The request was invalid or cannot be served.

403

Forbidden

The request is forbidden.

429

Too Many Requests

Rate limit exceeded.

500

Internal Server Error

An error occurred on the server.

Available APIs
Detailed documentation for all available API endpoints

AI APIs

GET/ai/luminaiJSON
V1V2

Generate AI responses using LuminAI

Media Type

JSONapplication/json

Parameters

text
string
The text prompt to send to the AI(Required)

Example Request (Fetch)

fetch('https://api.raolprojects.my.id/api/v2/ai/luminai?text=Hello')

Example Request (cURL)

curl -X GET "https://api.raolprojects.my.id/api/v2/ai/luminai?text=Hello"

Example Response

{
  "status": true,
  "creator": "LatestURL",
  "result": {
    "text": "This is an AI-generated response to your prompt."
  },
  "version": "v2"
}
POST/ai/hydromindJSON
V1V2

Generate AI responses using HydroMind

Media Type

JSONapplication/json

Parameters

text
string
The text prompt to send to the AI(Required)
model
string
The AI model to use (e.g., @groq/qwen-2.5-32b)(Required)
responses
number
Number of responses to generate (optional)

Example Request (Fetch)

fetch('https://api.raolprojects.my.id/api/v2/ai/hydromind', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    text: "Hello",
    model: "@groq/qwen-2.5-32b",
    responses: 1
  }),
})

Example Request (cURL)

curl -X POST "https://api.raolprojects.my.id/api/v2/ai/hydromind" -H "Content-Type: application/json" -d '{"text":"Hello","model":"@groq/qwen-2.5-32b","responses":"1"}'

Example Response

{
  "status": true,
  "creator": "LatestURL",
  "result": {
    "text": "This is an AI-generated response to your prompt."
  },
  "version": "v2"
}

Maker APIs

GET/maker/bratPNG
V1V2

Generate a brat style image with custom text

Media Type

PNGimage/png

Parameters

text
string
The text to display in the brat image(Required)

Example Request (Fetch)

fetch('https://api.raolprojects.my.id/api/v2/maker/brat?text=Hello')

Example Request (cURL)

curl -X GET "https://api.raolprojects.my.id/api/v2/maker/brat?text=Hello"

Example Response

// Binary image data returned with Content-Type: image/png
GET/maker/bratvidMP4
V1V2

Generate a brat style video with custom text

Media Type

MP4video/mp4

Parameters

text
string
The text to display in the brat video(Required)

Example Request (Fetch)

fetch('https://api.raolprojects.my.id/api/v2/maker/bratvid?text=Hello')

Example Request (cURL)

curl -X GET "https://api.raolprojects.my.id/api/v2/maker/bratvid?text=Hello"

Example Response

{
  "status": true,
  "creator": "LatestURL",
  "result": {
    // Response data specific to this endpoint
  },
  "version": "v2"
}

Media APIs

GET/random/baPNG
V1V2

Get a random Blue Archive image

Media Type

PNGimage/png

Example Request (Fetch)

fetch('https://api.raolprojects.my.id/api/v2/random/ba')

Example Request (cURL)

curl -X GET "https://api.raolprojects.my.id/api/v2/random/ba"

Example Response

// Binary image data returned with Content-Type: image/png
© 2025 LatestURL. All rights reserved.