{"uid":"cap_umi13p9srsqGHncb-JeVE","slug":"api-cn402-com-d8e603e4","name":"Chinese Character Stroke Count API (笔画数)","description":"Chinese stroke count, hanzi strokes, 笔画, 笔画数, kanji stroke count, Chinese character total strokes, 汉字笔画数, Hanzi stroke counter. Get stroke count for each Chinese character. For AI agents handling Chinese handwriting apps, Hanzi learning, character grading. Accepts payment on Base or Solana — either network works.","url":"https://api.cn402.com/hanzi/bihua","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"format":{"type":"string","description":"Optional response format hint"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HD9OabY_swJZUmNfZ83M1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the total number of strokes for each Chinese (Hanzi/Kanji) character in a given input","exampleAgentPrompt":"How many strokes does each character in 中文汉字 have? I need the stroke count for each one individually.","exampleUseCases":null,"resultDescription":"A breakdown of stroke counts per Chinese character — e.g. for input '中文', returns stroke counts like {中: 4, 文: 4}. Useful for handwriting apps, character difficulty grading, and Hanzi learning tools.","failureModes":["Non-Chinese characters or unsupported Unicode ranges may return null or error per character","Empty input string returns an error or empty result","Characters outside the CJK Unicode block may not be recognized","Network or payment (x402) failure results in no response"],"whenToPreferThis":"Choose this endpoint when you need to look up the stroke count of individual Chinese/Hanzi/Kanji characters — especially in handwriting apps, character difficulty grading, Hanzi learning platforms, or any workflow that needs to quantify writing complexity of CJK characters. Preferred over general Chinese NLP APIs because it is specialized purely for stroke counting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:06.098Z","isFirstParty":false}