← Back to directory

All AI Data API - N-queens solver: count solutions, list boards and test a placement for 1 to 12 queens

https://allai-api.allaihq.workers.dev/v1/tools/n_queens_solve

Overview

Counts the solutions of the N-queens puzzle (n up to 12) with a bitmask backtracker, returns the first few as column lists and ASCII boards, can fix a queen in a given row and column, and can validate your own placement by reporting every attacking pair. Known counts: 8 queens has 92 solutions (12 distinct up to symmetry). $0.002 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.

Protocol x402 (POST)
Price $0.0020
Payment Asset USDC
Payment Network base
Category data
Provider All AI LLC (All AI Data API)
Source self-registered
Indexed 2026-12-04 17:47:50

Health

Status healthy
Latency (p50) 2285ms
Uptime (30d) 100.0%
Reliability Score 72/100
Last Checked 2026-12-05 01:35:05
Last Healthy 2026-12-05 01:35:05
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 01:35:05 healthy 402 371ms
2026-12-04 18:56:48 healthy 402 2285ms