{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-x402chess-com-api-bestmove",
  "title": "x402Chess \u00b7 Stockfish Best Move",
  "url": "https://api.x402chess.com/api/bestmove",
  "category": "ai",
  "summary": "Request optimal chess moves from Stockfish engine with configurable depth, receiving UCI-format moves and position evaluation.",
  "seo": {
    "title": "Chess Engine API | Stockfish Best Move | x402",
    "description": "Get Stockfish chess engine recommendations with evaluation. 0.005 USDC per position analysis on Base."
  },
  "use_cases": [
    "Analyze chess positions for optimal play",
    "Build chess training applications",
    "Power game analysis tools",
    "Create chess-playing agents"
  ],
  "ideal_buyer": "Chess application developers, game analysis platforms, and AI agents requiring strong chess engine integration.",
  "example_prompt": "What's the best move for this position: rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1",
  "example_request_body": {
    "fen": "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1",
    "depth": 15
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap",
    "ratio": 0.25,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x22e4907889693b10549e4bc88c36638d1951cb51",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "5000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Request Stockfish's recommended move for a chess position. POST JSON { \"fen\": \"<valid FEN string>\", \"depth\": optional integer 1-30 (default 15) }. Response includes the best move in UCI format plus evaluation metadata.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "fen": {
              "type": "string",
              "required": true,
              "description": "Chess position in Forsyth-Edwards Notation (6 space-separated fields)."
            },
            "depth": {
              "type": "integer",
              "description": "Search depth override between 1 and 30. Higher depth increases accuracy and latency. Numeric strings are coerced if provided."
            }
          }
        },
        "output": {
          "type": "object",
          "required": [
            "success",
            "data",
            "meta"
          ],
          "properties": {
            "data": {
              "type": "object",
              "required": [
                "bestMove",
                "evaluation",
                "evaluationDisplay",
                "depth",
                "fen"
              ],
              "properties": {
                "fen": {
                  "type": "string",
                  "description": "Echo of the analyzed FEN input."
                },
                "depth": {
                  "type": "integer",
                  "description": "Depth actually used for the analysis."
                },
                "bestMove": {
                  "type": "string",
                  "description": "Suggested move in UCI format (e.g., e2e4)."
                },
                "evaluation": {
                  "type": "number",
                  "description": "Centipawn evaluation of the position from the side to move."
                },
                "evaluationDisplay": {
                  "type": "string",
                  "description": "Human-friendly representation of the evaluation (e.g., +0.34 or M3)."
                }
              },
              "additionalProperties": false
            },
            "meta": {
              "type": "object",
              "required": [
                "responseTime"
              ],
              "properties": {
                "responseTime": {
                  "type": "integer",
                  "description": "Processing time in milliseconds."
                }
              },
              "additionalProperties": false
            },
            "success": {
              "type": "boolean",
              "description": "true when analysis succeeds."
            }
          },
          "additionalProperties": false
        }
      }
    }
  ],
  "duplicate_cluster_id": "data-cl-b77e256261c3",
  "origin": {
    "slug": "api-x402chess-com",
    "host": "api.x402chess.com",
    "title": "x402chess API",
    "description": "An x402-payable API origin hosted at api.x402chess.com. The host name suggests chess-related services available to AI agents via x402 payment.",
    "url": "https://api.x402chess.com"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-x402chess-com-api-bestmove",
    "url": "https://x402all.com/resource/api-x402chess-com-api-bestmove",
    "name": "x402Chess \u00b7 Stockfish Best Move",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-x402chess-com-api-bestmove",
      "@type": "Offer",
      "price": "0.005",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.005000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.x402chess.com/api/bestmove",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-x402chess-com",
      "url": "https://api.x402chess.com",
      "name": "x402chess API",
      "@type": "Organization"
    },
    "identifier": "api-x402chess-com-api-bestmove",
    "description": "Get Stockfish chess engine recommendations with evaluation. 0.005 USDC per position analysis on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-x402chess-com-api-bestmove",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "ai"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-x402chess-com-api-bestmove"
}
