{"uid":"cap_qsLCOcqeZrQg6UlUmELGS","slug":"claw402-cn-stock-margin-trading-detail-c895f2e9","name":"claw402 CN Stock Margin Trading Detail","description":"Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.","url":"https://claw402.ai/api/v1/stocks/cn/margin-detail","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":{"ts_code":{"type":"string"},"end_date":{"type":"string"},"start_date":{"type":"string"},"trade_date":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"code":0,"data":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Uq6yLWfjmq9E-y5VvWJdo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves margin trading detail data for Chinese A-share stocks by stock code and/or date range","exampleAgentPrompt":"Can you pull the margin trading detail for Chinese A-share stock 600519.SH for the date range 2024-01-01 to 2024-03-31?","exampleUseCases":[{"title":"Track margin balance for A-shares","prompt":"Can you pull up the margin financing balance and short selling figures for 000858.SZ over the past six months? I want to see how leveraged trading activity has changed."},{"title":"Check short selling stats for stock","prompt":"I'm looking at 300750.SZ and want to know the securities lending and short selling statistics for the last quarter — can you grab that margin detail data for me?"},{"title":"Compare margin activity across dates","prompt":"Can you retrieve the margin trading detail for 601318.SH between January and June 2023? I want to spot any spikes in financing balances during that period."}],"resultDescription":"Returns a JSON object with code 0 and a data array containing margin trading detail records for the queried Chinese stock(s), including margin financing balances and short selling figures per trading date.","failureModes":["Empty data array returned when no margin records match the query parameters","Invalid ts_code format returns error or empty result","Date range with no trading activity returns empty data array","Missing required parameters may return error code","Service unavailable or payment failure returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need margin trading detail data for Chinese A-share stocks (CN market), especially when querying by specific stock ticker (ts_code) and/or date range. Prefer this over general financial data APIs when you specifically need CN market margin/financing data paid via USDC without API key registration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:03:00.353Z","isFirstParty":false}