API Reference

Build your own ADOFAI tools with the ADOFAI.NET REST API. 20 endpoints across maps, rankings, bookmarks, AI, and auth.

BASE URL

https://adofai.net/api

FORMAT

JSON responses

RATE LIMIT

60 req/min

AUTHENTICATION

Public— No authentication needed
Auth Required— Login first via POST /api/auth/login (sets httpOnly cookie)
Admin Only— Requires ADMIN or MODERATOR role

SORT VALUES FOR /api/maps

randomRandom order (default)
popularMost liked maps first
trendingTrending by likes + plays + recency
newestMost recently created
difficulty_ascEasiest first
difficulty_descHardest first
bpmHighest BPM first

Maps

Browse, search, and interact with the map database

Rankings & Records

Global leaderboards and score submissions

Bookmarks

Save maps for later

AI

AI-powered analysis and coaching via Pollinations AI (free, no API key)

Auth

User authentication via JWT httpOnly cookies

Platform

Platform statistics and user profiles

Want more API features?

Submit a feature request or contribute to the open-source platform

ADOFAI.NET — The Ultimate ADOFAI Platform