{"uid":"cap_e9VHY_229omLaHtCy7eZ6","slug":"chess-notation-tools-square-info-8e24ed9e","name":"Chess Notation Tools – Square Info","description":"File, rank, light or dark colour, 0-63 index, diagonals and mirror squares for a chess square like e4.","url":"https://chess-notation.x402tookit.com/square-info?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["square"],"properties":{"square":{"type":"string","description":"A square such as e4 (file a-h, rank 1-8)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"file":{"type":["null","string"]},"rank":{"type":["null","number"]},"color":{"type":["null","string"]},"isEdge":{"type":["boolean","null"]},"source":{"type":["null","string"]},"square":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"isCentre":{"type":["boolean","null"]},"isCorner":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"fileNumber":{"type":["null","number"]},"index0to63":{"type":["null","number"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"rotated180":{"type":["null","string"]},"correspondence":{"type":["null","string"]},"mirrorLeftRight":{"type":["null","string"]},"mirrorTopBottom":{"type":["null","string"]},"antiDiagonalLength":{"type":["null","number"]},"longDiagonalLength":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G8FD-qgeEQFnJ6dkbvkRl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns file, rank, color, index, diagonals, mirror squares, and positional flags for a given chess square like e4.","exampleAgentPrompt":"What are all the properties of the chess square e4 — its file, rank, color, 0-63 index, diagonal lengths, mirror squares, and whether it's an edge, corner, or centre square?","exampleUseCases":[{"title":"Verify square color for opening study","prompt":"Is the square c4 a light or dark square, and is it considered a centre square in chess?"},{"title":"Build board index for engine integration","prompt":"What is the 0-63 index for the square g7, and what file letter and rank number does it correspond to?"},{"title":"Find mirror and diagonal info for symmetry analysis","prompt":"For the chess square b2, what are its left-right mirror, top-bottom mirror, and rotated-180 equivalent squares, and how long are its diagonals?"}],"resultDescription":"A JSON object containing the square's file letter, rank number, file number (1–8), color (light/dark), 0-to-63 index, long diagonal length, anti-diagonal length, mirror-left-right square, mirror-top-bottom square, rotated-180 square, boolean flags for isEdge/isCorner/isCentre, a correspondence notation string, and summary/verdict/reason fields.","failureModes":["Invalid square input (e.g. 'z9') returns an error or null fields","Missing required 'square' query parameter returns a validation error","Non-standard square notation (e.g. 'E4' uppercase) may not be recognized","Service temporarily unavailable returns a 5xx error","Payment failure via x402 protocol returns a 402 response"],"whenToPreferThis":"Use this endpoint when you need low-level geometric and positional metadata about a single chess square — its color, index, diagonals, mirror squares, or edge/corner/centre classification — especially in chess tool-building, engine integration, or educational applications. Prefer over manual calculation or full board analysis endpoints when only square-specific properties are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:08:13.354Z","isFirstParty":false,"canonicalSlug":"chess-notation-tools-square-info-8e24ed9e"}