{"uid":"cap_ZJ8zL93rK8AepPNEuD3cr","slug":"hyperliquid-account-spot-token-balances-685c21d6","name":"Hyperliquid Account Spot Token Balances","description":"A Hyperliquid account's spot token balances, for any 0x address.","url":"https://hyperliquid-accounts.use.x402atlas.com/spot","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":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"0x-prefixed 20-byte Hyperliquid account address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","address","state"],"properties":{"state":{"type":"object","description":"Upstream Hyperliquid spotClearinghouseState object relayed verbatim — per-token spot holdings (total, hold, entry notional)"},"address":{"type":"string","description":"Lower-cased account address queried"},"queried_at":{"type":"string","format":"date-time","description":"Time the upstream was queried"}}}}}}},"responseSchema":{"type":"json","example":{"state":{"balances":[]},"address":"0x0000000000000000000000000000000000000000","queried_at":"2026-07-10T12:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gJDcW3NDGT80IjQ1gjZUF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns spot token balances (total, hold, and entry notional) for any Hyperliquid account by 0x address.","exampleAgentPrompt":"What are the current spot token balances for the Hyperliquid account 0x1234567890abcdef1234567890abcdef12345678? I want to see total, held, and entry notional for each token.","exampleUseCases":null,"resultDescription":"Returns the Hyperliquid spotClearinghouseState object for the address, including per-token spot holdings with total amount, hold amount, and entry notional, along with the queried_at timestamp and lower-cased account address.","failureModes":["Invalid address format (not a valid 0x 20-byte hex) returns a validation error","Address not found or has no spot balances returns an empty state","Hyperliquid upstream API unavailable causes a 502/503 error","Missing required address query parameter returns a 400 error","Payment not completed (x402 flow) results in a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need real-time spot token balances for a specific Hyperliquid account, including held/locked amounts and entry notional. Prefer this over perpetuals endpoints when you specifically care about spot holdings rather than futures positions or margin state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:31:43.551Z","isFirstParty":false}