{"uid":"cap_XLUiUGl5jFSv3c5ZJyfgO","slug":"cn-data-china-a-share-fund-flow-4573652c","name":"CN Data - China A-Share Fund Flow","description":"Chinese market and China-focused public data over the x402 protocol. No API key and no signup: call any endpoint, receive HTTP 402 with payment terms, pay the listed amount in USDC on Base and retry. Every response is JSON. Some Chinese-language sources are published only as web pages — these endpoints return them as clean, machine-readable JSON.","url":"https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/fundflow?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","properties":{"type":{"type":"string","description":"类型：industry（行业，默认）/ concept（概念）/ region（地域）/ stock（沪深A股）"},"limit":{"type":"integer","description":"返回条数 1-100，默认 20"},"direction":{"type":"string","description":"in（主力净流入，默认）/ out（主力净流出）"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"type":"industry","items":[{"code":"BK1033","name":"电池","rank":1,"leader":{"code":"300750","name":"宁德时代"},"mainNetYuan":1037502032,"largeNetYuan":569039616,"smallNetYuan":-473195008,"changePercent":0.46,"mediumNetYuan":-549459968,"mainNetPercent":2.99,"superLargeNetYuan":468462416}],"source":"东方财富 资金流向（push2）","returned":1,"typeName":"行业板块","direction":"in","totalItems":496},"endpoint":"/cn/fundflow"}},"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_Fw0ZlyRLweRc2Q1X9pcpb","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 ranked fund-flow data (主力净流入/流出) for Chinese A-share market segments — by industry sector, concept theme, region, or individual stock — sourced from Eastmoney.","exampleAgentPrompt":"Show me the top 20 Chinese A-share industry sectors ranked by main force net inflow today — I want to see which industries are attracting the most capital right now.","exampleUseCases":[{"title":"Sector rotation signal for China portfolio","prompt":"Which Chinese industry sectors have the highest main force net inflows right now? Give me the top 10 so I can see where institutional money is rotating."},{"title":"Contrarian outflow screening","prompt":"Show me the top 15 Chinese concept themes with the biggest main force net outflows today — I'm looking for sectors that might be oversold."},{"title":"Regional capital flow monitoring","prompt":"Pull the fund flow data for Chinese regional segments and show me the top 20 regions ranked by main force net inflow — I want to see which provinces or cities are attracting the most A-share capital."}],"resultDescription":"Returns a JSON object with ok:true and a data object containing: segment type label, flow direction, total items available, the number returned, source attribution (Eastmoney push2), and an items array. Each item includes the sector/stock code, name, ranking position, main net flow in yuan and as a percent, super-large/large/medium/small net flows in yuan, price change percent, and the leading stock in that sector (code + name).","failureModes":["HTTP 402 returned on first call — agent must pay $0.02 USDC on Base and retry","Invalid 'type' value returns error or empty result","Invalid 'direction' value (not 'in' or 'out') returns error","limit out of range 1-100 may return validation error","Market closed or off-hours may return stale or cached data","Network timeout from Cloudflare Worker if Eastmoney upstream is slow"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable Chinese A-share fund flow data broken down by sector, concept, region, or individual stock — especially when Eastmoney's web interface is the only source and you need clean JSON. Prefer this over scraping Eastmoney directly (no parsing needed) and over generic financial data APIs that don't cover Chinese-language market microstructure data. Ideal for agents that need to rank sectors by institutional capital flows without requiring an API key or registration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:41:23.397Z","isFirstParty":false,"canonicalSlug":"cn-data-china-a-share-fund-flow-4573652c"}