AGG is currently in alpha. APIs, components, and docs may change.
curl --request POST \
--url https://api.agg.market/bot-protection/verify \
--header 'Content-Type: application/json' \
--header 'x-app-api-key: <api-key>' \
--data '
{
"turnstileToken": "<string>"
}
'{
"success": true
}Verifies a Cloudflare Turnstile token against the app’s linked widget. Intended to be called from your backend, not the browser — API keys are secrets and must never ship to the client. Both x-app-id and x-app-api-key are required; the server rejects the request with 401 if x-app-id does not match the app embedded in the API key. Create a key via POST /apps/:appId/api-keys (admin JWT required). Returns { success: true } on a valid token or 403 if verification fails. Tokens are single-use (replay-protected).
curl --request POST \
--url https://api.agg.market/bot-protection/verify \
--header 'Content-Type: application/json' \
--header 'x-app-api-key: <api-key>' \
--data '
{
"turnstileToken": "<string>"
}
'{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://docs.agg.market/llms.txt
Use this file to discover all available pages before exploring further.